discuss: GNU Linux Tools Summary
Subject:
Re: GNU Linux Tools Summary
From:
Colin Watson ####@####.####
Date:
8 Jul 2004 04:08:10 -0000
Message-Id: <20040708011228.GA32721@riva.ucam.org>
On Wed, Jul 07, 2004 at 04:24:21PM +1000, Guru - wrote:
> ">Also, I tried out a command and it didn't work: echo \tk
> >It doesn't work because the shell removes th \ passing only tk to the
> >echo command. Now just fixing this will not fix the likely oodles of
> >other things that likely need fixing, deleting, or adding."
>
> I don't know where I metioned the command that you are you referring, I did
> metion echo but not those exact options.
>
> echo -e "stirng with \t or \n's etc. etc."
'echo -e' is non-portable; dash doesn't support it, for instance. printf
would be a better choice.
--
Colin Watson ####@####.####