From owner-freebsd-questions Thu Dec 12 1:16: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9724A37B401 for ; Thu, 12 Dec 2002 01:16:05 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F8543EA9 for ; Thu, 12 Dec 2002 01:16:04 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBC9Fv46046913 for ; Thu, 12 Dec 2002 09:15:57 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBC9FqvB046912 for freebsd-questions@FreeBSD.ORG; Thu, 12 Dec 2002 09:15:52 GMT Date: Thu, 12 Dec 2002 09:15:52 +0000 From: Matthew Seaman To: FreeBSD Questions Subject: Re: Newline character doesn't work Message-ID: <20021212091552.GB46326@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD Questions References: <20021212090904.GA46326@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021212090904.GA46326@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Dec 12, 2002 at 09:09:04AM +0000, Matthew Seaman wrote: > Of the shells bundled with FreeBSD, /bin/sh uses the standard command > version and /bin/tcsh uses a shell built-in that by default has the > same behaviour as /bin/echo: Correction: /bin/sh has a built-in echo command that understands the '-e' flag. What it doesn't have is a built-in 'which' command that recognises the other shell built-ins... $ echo "line one\nline two" line one\nline two $ echo -e "line one\nline two" line one line two Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message