From owner-freebsd-questions Mon Jul 15 2:54:26 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 30A2237B400 for ; Mon, 15 Jul 2002 02:54:22 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2995043E6D for ; Mon, 15 Jul 2002 02:54:15 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 3.36 #1 (FreeBSD)) id 17U2Wn-000K6P-00 for ; Mon, 15 Jul 2002 12:52:25 +0300 Date: Mon, 15 Jul 2002 12:52:25 +0300 From: Odhiambo Washington To: FBSD-Q Subject: Getting tab character inside double quotes (shell script) Message-ID: <20020715095225.GJ90293@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , FBSD-Q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: "See - the thing is - I'm an absolutist. I mean, kind of ... in a way ..." X-Operating-System: FreeBSD 4.5-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.4i (2002-05-29) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 12:47PM up 42 days, 3:32, 3 users, load averages: 0.50, 0.67, 0.73 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 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 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