On Fri, Aug 20, 2004 at 03:59:20PM -0500, Kent West wrote:
snert[@macs51]:/home.local/snert> grep -o alias .bashrc
grep: invalid option -- o
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
and "man grep" doesn't seem to have an "-o" option.
What version of grep have you got, and which version of Debian are
you using?
ii grep 2.5.1.ds1-3 GNU grep, egrep and fgrep
If you're using woody's version, then it won't have it, it seems.
There's plenty of other ways of doing it, mind.