[YLUG][OT] alternatives to seq when scripting for loops

Rachel Cavill rachel.cavill at googlemail.com
Fri Nov 17 14:13:43 GMT 2006


On 11/17/06, Arthur Clune <arthur at clune.org> wrote:
>
>
> Which shell are you using? sh, csh, ksh, bash etc?
>

I'm using Bash.

> http://www.umiacs.umd.edu/~jusub/unix-hints-and-hacks/19270026.htm
>

I've tried an equivalent bash solution using a while loop and
incrementing instead of a forloop - but I'm having problems with the
fact that I don't want to use integers.  The loop works fine if I set
everything to integer values, but the minute I try to use real values
I'm getting error messages.

I know I'm missing something obvious here, but what is it?
Rachel



More information about the York mailing list