From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 18:20:27 2005 Return-Path: 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 BE8D416A4CF for ; Wed, 23 Feb 2005 18:20:27 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CA443D2D for ; Wed, 23 Feb 2005 18:20:27 +0000 (GMT) (envelope-from bsd@kelleycows.com) Received: from [10.3.29.200] (c-24-30-114-40.we.client2.attbi.com[24.30.114.40]) by comcast.net (sccrmhc11) with ESMTP id <2005022318202501100stkg4e>; Wed, 23 Feb 2005 18:20:26 +0000 Message-ID: <421CC968.10900@kelleycows.com> Date: Wed, 23 Feb 2005 10:20:24 -0800 From: Christopher Kelley User-Agent: Mozilla Thunderbird 1.0 (X11/20050218) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <421C3181.9020004@kelleycows.com> <20050223074941.GA687@gothmog.gr> In-Reply-To: <20050223074941.GA687@gothmog.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: script "echo on" like MS-DOS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 18:20:27 -0000 Giorgos Keramidas wrote: >On 2005-02-22 23:32, Christopher Kelley wrote: > > >>Is there a simple way to cause a shell script to echo to the terminal >>similar to the old MS-DOS "echo on" command? >> >> > >You can do similar things with the set -x option of sh(1): > > Thanks. Yes, I'm using sh, I forgot to mention that. That's exactly what I was looking for! Christopher