[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fgrep bug
From: |
Mike_Clark |
Subject: |
fgrep bug |
Date: |
Wed, 1 Dec 2004 14:51:44 -0800 |
http://www.redhat.com/archives/redhat-list/2000-September/msg01325.html
Solaris 7 fgrep
fgrep -n foo --- blah
fgrep: can't open ---
fgrep: can't open blah
Linux 7.3 fgrep
fgrep foo blah --- blah # that's three - signs
grep: unrecognized option `---'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Why the reference to grep not fgrep in the error message? Cannot pass
multiple files on same command line.
fgrep -n 'foo' blah foo
grep: blah: No such file or directory
Mike Clark
UNIX Systems Admin
Washington Western Bankruptcy Court
CCNA, MCP
(206) 370-5381