From owner-freebsd-questions Mon Jun 26 14:45:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta02-svc.server.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 13BB937B7EB for ; Mon, 26 Jun 2000 14:45:34 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.84.144]) by mta02-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000626224501.STEF10065.mta02-svc.server.ntlworld.com@parish.my.domain>; Mon, 26 Jun 2000 22:45:01 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id WAA01972; Mon, 26 Jun 2000 22:45:38 +0100 (BST) (envelope-from mark) Date: Mon, 26 Jun 2000 22:45:37 +0100 From: Mark Ovens To: Matthew Hunt Cc: questions@FreeBSD.ORG Subject: Re: Question about echo(1) Message-ID: <20000626224537.K232@parish> References: <20000626222417.J232@parish> <20000626144114.A62256@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000626144114.A62256@wopr.caltech.edu>; from mph@astro.caltech.edu on Mon, Jun 26, 2000 at 02:41:14PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 * 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