WooHoo! 10 years of FreeBSD
Jeremy C. Reed
reed at reedmedia.net
Fri Feb 29 19:24:04 UTC 2008
> It's also a shell meta-character in the shells I'm familiar with, and
> gets expanded long before grep would ever see it unless you escape it.
> Hence the question about what shell the poster is using....
sh, bash, or ksh just pass it a long literally if not matched
tcsh, csh complain if not match. The error message says the command name
-- but that is bogus -- as the command is never even ran. Really it is the
shell.
More information about the freebsd-chat
mailing list