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

Arthur Clune arthur at clune.org
Fri Nov 17 12:52:28 GMT 2006


On 17 Nov 2006, at 12:41, Rachel Cavill wrote:

> Any ideas of other ways to do this, rather than
> just writing out the list of numbers in full.

Which shell are you using? sh, csh, ksh, bash etc?

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

looks like a good /bin/sh solution.

Cheers,

Arthur

--  
Individuals bearing witness do not change history; only movements  
that understand their social world can do that - Ellen Willis






More information about the York mailing list