-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Vinu, Uma on 8/8/2006 9:59 PM: > > ls -l <Dir> | grep core | wc -l ----- The directory doesn't has the > core file. > > But wc -l returns a blank line instead of a 0. I need the output to be > 0.
It worked for me: $ ls core ls: core: No such file or directory $ ls -l . | grep core | wc -l 0 > > Why does this happen? Your reply will be of great help. Perhaps you need to upgrade? The latest stable version of coreutils is 5.97. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2dXc84KuGfSFAYARAihAAKC1rNBbRgXglRpkfhowqje60W5EkgCeL/qV 6zRcjz9irH8ampAJIXMjrSs= =izFY -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
