D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] grep and dreadful command line skills

 

Michael Mortimore wrote:
> On Mon, 23 Nov 2009 12:22:51 -0000, Simon Waters <simon@xxxxxxxxxxxxxx>
> wrote:
> 
>> Is it not "bash" doing this? Rather than the commands themselves?
>>
>> I know "find" accepts "--" but I hadn't seen others.
> 
> I've used it with xinit. I think if bash did something with -- then no
> program would be able to use it.

Good point - rereading manual page more carefully I see bash does it for
itself, and all its built in commands (except echo).

Sometimes I have to think whether a command is a bash built-in or not,
quite a few commands exist as files for compatibility, and as shell
built-in for performance, just to confuse the newbies.

 Simon

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html