[EMAIL PROTECTED] wrote to [EMAIL PROTECTED]:

> On some of my hosts trying doing a recursive search gets a syntax
> error. On most it works. As all these systems are built from the same
> source tree, I am not sure where to look for the problem.
>
> artemis:~> grep -ilr taiwan *                    \
> grep: unrecognized option `--showDropTarget'      |____ does not work
> Usage: grep [OPTION]... PATTERN [FILE]...         |
> Try `grep --help' for more information.          /
>
> while


Hmm... My guess is that * expands to something containing a leading
hyphen, most likely called --showDropTarget :-) The * is expanded by the
shell, not grep(1).

Try "grep -ilr taiwan ." instead.

- Ryan

-- 
  Ryan Thompson <[EMAIL PROTECTED]>

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

        Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to