grep is always recursive

Derek Broughton derek at pointerstop.ca
Wed Jan 28 17:14:19 UTC 2009


Hal Burgiss wrote:

> b) I have read man man, and man grep and have not seen a hint that
> this syntax should be interpreted in any way other than how it
> logically reads (ie how I read it :). 

That, amongst other things, is a strong hint that you should _provide_ 
options before non-option arguments.  if you stick to putting options 
immediately after the command, you won't go wrong.  So I really don't see 
where man pages should do anything differently.

I agree that it might make sense for a note in the man man page to mention 
that the convention is to suggest options should go first, but that most 
programs do not force that.  It doesn't, though, belong in the grep page - 
or if it does, then it belongs in almost all CLI man pages.








More information about the ubuntu-users mailing list