Re: grep is always recursive
- From: Hal Burgiss <hal@xxxxxxxxxxx>
- Date: Sun, 25 Jan 2009 11:21:07 -0500
On Sun, Jan 25, 2009 at 09:08:27AM -0700, Smoot Carl-Mitchell wrote:
The GNU option processor does not care where an option appears in the
command line which is a little odd and not what the documentation
suggests is the correct syntax. e.g. options come first before file
names, etc. Anything with a leading "-" is considered an option. Try
this sometime:
ls <file> -l <another_file>
It certainly seems counter-intuitive to me, if not potentially
dangerous. Imagine the accidental chaining of options with 'rm'.
In any case, there is one less mystery in the world!
--
Hal
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: grep is always recursive
- From: Florian Diesch
- Re: grep is always recursive
- References:
- grep is always recursive
- From: Hal Burgiss
- Re: grep is always recursive
- From: Smoot Carl-Mitchell
- Re: grep is always recursive
- From: Hal Burgiss
- Re: grep is always recursive
- From: Smoot Carl-Mitchell
- grep is always recursive
- Prev by Date: Re: And another Ubuntu convert!
- Next by Date: Re: Network connection Problem
- Previous by thread: Re: grep is always recursive
- Next by thread: Re: grep is always recursive
- Index(es):
Relevant Pages
|