From owner-freebsd-questions Mon Jul 15 3: 8:15 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 008A637B400 for ; Mon, 15 Jul 2002 03:08:13 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8BC443E58 for ; Mon, 15 Jul 2002 03:08:11 -0700 (PDT) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.5/8.12.5) with ESMTP id g6FA8YPM030960; Mon, 15 Jul 2002 12:08:34 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.5/8.12.5/Submit) id g6FA8YFY030959; Mon, 15 Jul 2002 12:08:34 +0200 (CEST) Date: Mon, 15 Jul 2002 12:08:34 +0200 From: Ruben de Groot To: Odhiambo Washington Cc: FBSD-Q Subject: Re: Getting tab character inside double quotes (shell script) Message-ID: <20020715120834.A30940@ei.bzerk.org> References: <20020715095225.GJ90293@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020715095225.GJ90293@ns2.wananchi.com>; from wash@wananchi.com on Mon, Jul 15, 2002 at 12:52:25PM +0300 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 Mon, Jul 15, 2002 at 12:52:25PM +0300, Odhiambo Washington typed: > > Dear Ladies & Gentlemen, > > [Being a Monday, flames are okay for those who want to vent out the weekend's hangover;-)] > > > I am using a small shell script to modify one of my named files, an include file. > Please give only a simple answer. This is in bash. > > > How do I get a tab inserted in this line: > > echo "something \"$SOMEVAR\"{ type master; file \"$SOMEVAR\"; };" >> $NAMEDCONF What about echo -e "hello\t\tworld" ? > > Or is it even possible? > > Thanks > > > -Wash > > -- > Odhiambo Washington "The box said 'Requires > Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' > Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." > GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) > > > Real computer scientists don't program in assembler. They don't write > in anything less portable than a number two pencil. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message