linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nico Schottelius <nico-linux-admin-ml@schottelius.org>
To: Glynn Clements <glynn.clements@virgin.net>
Cc: Chuck Harding <charding@llnl.gov>, linux-admin@vger.kernel.org
Subject: Re: bash question
Date: Sat, 3 Apr 2004 20:19:17 +0200	[thread overview]
Message-ID: <20040403181917.GD213@schottelius.org> (raw)
In-Reply-To: <16492.40316.611081.63832@cerise.nosuchdomain.co.uk>

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

Glynn Clements [Thu, Apr 01, 2004 at 11:53:48PM +0100]:
> Chuck Harding wrote:
> 
> > How about
> > 
> > #!/bin/bash
> > for ((i=1;i<11;i+=2))
> 
> I haven't heard of this before. It must have been introduced fairly
> recently; it isn't supported by bash 2.03 or any 1.x version.

Just to point to another nice shell: zsh4.1.1 does support this
and much more.

I really don't understand why you all bind yourself to bash for scripting!

Bash is slow, big and comfortable. Scripts don't need comfort.

I always use 'ash' (much smaller/faster) for scripts and 'zsh' (much more
nice extensions and still at least as fast as bash) for normal use.

Nico

-- 
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-04-03 18:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01  0:45 bash question Scott@Charter
2004-04-01  7:03 ` Luca Ferrari
2004-04-01 14:58   ` Jeff Largent
2004-04-01 19:46     ` Chuck Harding
2004-04-01 22:53       ` Glynn Clements
2004-04-02  9:32         ` urgrue
2004-04-03 18:19         ` Nico Schottelius [this message]
2004-04-19  1:07 ` Joao Victor A. Di Stasi
2004-04-19  1:14   ` Joao Victor A. Di Stasi
2004-04-19  1:42 ` Stephen Samuel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040403181917.GD213@schottelius.org \
    --to=nico-linux-admin-ml@schottelius.org \
    --cc=charding@llnl.gov \
    --cc=glynn.clements@virgin.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).