From owner-freebsd-questions Mon Jun 26 14:42:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.102.114]) by hub.freebsd.org (Postfix) with ESMTP id 51CAA37BE84 for ; Mon, 26 Jun 2000 14:42:33 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.3/8.9.3) id OAA62374; Mon, 26 Jun 2000 14:41:14 -0700 (PDT) (envelope-from mph) Date: Mon, 26 Jun 2000 14:41:14 -0700 From: Matthew Hunt To: Mark Ovens Cc: questions@FreeBSD.ORG Subject: Re: Question about echo(1) Message-ID: <20000626144114.A62256@wopr.caltech.edu> References: <20000626222417.J232@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000626222417.J232@parish>; from mark@dogma.freebsd-uk.eu.org on Mon, Jun 26, 2000 at 10:24:17PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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.) -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message