From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nico Schottelius Subject: Re: bash question Date: Sat, 3 Apr 2004 20:19:17 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040403181917.GD213@schottelius.org> References: <012b01c41782$a2344b60$020aa8c0@Scott> <200404010903.31878.fluca1978@virgilio.it> <406C2DFD.9020603@imagelinks.com> <16492.40316.611081.63832@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZARJHfwaSJQLOEUz" Return-path: Content-Disposition: inline In-Reply-To: <16492.40316.611081.63832@cerise.nosuchdomain.co.uk> List-Id: To: Glynn Clements Cc: Chuck Harding , linux-admin@vger.kernel.org --ZARJHfwaSJQLOEUz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Glynn Clements [Thu, Apr 01, 2004 at 11:53:48PM +0100]: > Chuck Harding wrote: >=20 > > How about > >=20 > > #!/bin/bash > > for ((i=3D1;i<11;i+=3D2)) >=20 > 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 --=20 Keep it simple & stupid, use what's available. pgp: 8D0E E27A | Nico Schottelius http://nerd-hosting.net | http://linux.schottelius.org --ZARJHfwaSJQLOEUz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAbwAlzGnTqo0OJ6QRAgY9AKDQKnIzkFrDmRRbDn4aRI4VcGXlsACgu44X e+9DieodwEbC57yM+t/YW5Y= =Ybg6 -----END PGP SIGNATURE----- --ZARJHfwaSJQLOEUz--