From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "s. keeling" Newsgroups: gmane.emacs.help Subject: Re: indent-tab-mode Date: Sun, 01 Oct 2006 20:25:16 GMT Message-ID: References: <87psddujj8.fsf@baldur.nicundtas.de> Reply-To: keeling@spots.ab.ca NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159735247 24669 80.91.229.2 (1 Oct 2006 20:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Oct 2006 20:40:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 01 22:40:42 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GU86u-0007f7-B9 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Oct 2006 22:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GU86t-0007UH-Nx for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Oct 2006 16:40:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-UCE: I forward UCE/spam with ALL headers to abuse@your.isp UNREAD! X-UCE2: Wow, are spammers ever stoopid! X-PGP-Key: GPG key: http://keyserver.noreply.org:11371/pks/lookup?op=vindex&search=0x48EE77B1AC94E4B7 User-Agent: slrn/0.9.8.1 (Debian) Original-Lines: 36 Original-NNTP-Posting-Host: 209.115.174.241 Original-X-Trace: clgrps12 1159734316 209.115.174.241 (Sun, 01 Oct 2006 14:25:16 MDT) Original-NNTP-Posting-Date: Sun, 01 Oct 2006 14:25:16 MDT Original-Xref: shelby.stanford.edu gnu.emacs.help:142133 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37752 Archived-At: Gary Wessle : > > then how can I indent-while-typing this code > #!/bin/sh > # > # if not vehicle name is given > # i.e. -z $1 is defined and it is NULL > # > # if no command line arg > > if [ -z $1 ] > then > rental="*** Unknown vehicle ***" > elif [ -n $1 ] > then > # otherwise make first arg as rental > rental=$1 > fi > > case $rental in > "car") echo "For $rental Rs.20 per k/m";; > "van") echo "For $rental Rs.10 per k/m";; > "jeep") ehco "For $rental Rs.5 per k/m";; Typo:......^^^^ > "bicycle") echo "For $rental 20 paisa per k/m";; > *) echo "Sorry, I can not get a $rental for you";; > esac -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. Spammers! http://www.spots.ab.ca/~keeling/emails.html