Date: Mon, 15 Jul 2002 12:08:34 +0200 From: Ruben de Groot <fbsd-q@bzerk.org> To: Odhiambo Washington <wash@wananchi.com> Cc: FBSD-Q <freebsd-questions@FreeBSD.ORG> Subject: Re: Getting tab character inside double quotes (shell script) Message-ID: <20020715120834.A30940@ei.bzerk.org> In-Reply-To: <20020715095225.GJ90293@ns2.wananchi.com>; from wash@wananchi.com on Mon, Jul 15, 2002 at 12:52:25PM %2B0300 References: <20020715095225.GJ90293@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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\"<two tabs here>{ type master; file \"$SOMEVAR\"; };" >> $NAMEDCONF What about echo -e "hello\t\tworld" ? > > Or is it even possible? > > Thanks > > > -Wash > > -- > Odhiambo Washington <wash@wananchi.com> "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020715120834.A30940>