This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: perl.exe: fatal error on Vista
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Dave Korn on 8/14/2008 5:44 AM:
|>> C:\Cygwin\Tools\bin\ash
|> $ ./grep -E -i -v '/ash(.exe)?$' /proc/[0-9]*/exename
|
| Uhh, hold on.
|
| Why does 'grep' show up in rce's output? I mean, that's what I would
| expect to happen, and then I would expect the test to always fail. But when
| I run the exact same command locally (from ash in cmd.exe), I don't see any
| grep process appear.
|
| How does that work?
/proc/[0-9]*/exename is a glob. It is expanded by the shell, prior to the
exec() of grep. So grep's process id is excluded from the grep.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkikHvAACgkQ84KuGfSFAYCgZwCePuIR4q+CMDLl7sz2fFJOHLs7
0WEAoLRwMbQTOZZTeNzLwbnV/Hf6bF0g
=3pU0
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/