Cory Petkovsek wrote: bob>> Because it's a bash extension, and because it's a recent bash bob>> extension.
cory> Recent bash extension? Did you read my versions? cory> debuan linux: GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu) cory> Solaris: GNU bash, version 2.03.0(1)-release (sparc-sun-solaris) Yeah. Your Solaris bash has a 1998 copyright date. The for loop syntax was introduced in 1998 or later. I'd call that recent, wouldn't you? > My solaris version is more recent than the debian version! Both from > GNU. > > > Here's a technique that worked as long ago as Seventh Edition > > Unix (1978?) > This looks good though, I was trying for a 'while' replacement but > wasn't getting it. > > > > # No #! here -- that won't be recognized until 4.1 BSD. > What do you mean #!? Haven't seen that before. You know, "#!/bin/sh" or "#!/usr/bin/env perl...". -- Bob Miller K<bob> kbobsoft software consulting http://kbobsoft.com [EMAIL PROTECTED] _______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
