Date: Mon, 26 Jun 2000 22:45:37 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Matthew Hunt <mph@astro.caltech.edu> Cc: questions@FreeBSD.ORG Subject: Re: Question about echo(1) Message-ID: <20000626224537.K232@parish> In-Reply-To: <20000626144114.A62256@wopr.caltech.edu>; from mph@astro.caltech.edu on Mon, Jun 26, 2000 at 02:41:14PM -0700 References: <20000626222417.J232@parish> <20000626144114.A62256@wopr.caltech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 26, 2000 at 02:41:14PM -0700, Matthew Hunt wrote: > On Mon, Jun 26, 2000 at 10:24:17PM +0100, Mark Ovens wrote: > > > So, what does ``-e'' do under sh(1)? > > C-style backslash processing: > > $ echo -e a\\tb > a b > $ echo a\\tb > > (\t produces a tab character. Two backslashes are converted to one > by the shell before echo sees it.) > Thanks. Yes the context I saw it used in contained \t. Maybe I should add this to the manpage? > -- > Matthew Hunt <mph@astro.caltech.edu> * Stay close to the Vorlon. > http://www.pobox.com/~mph/ * -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626224537.K232>