[PLUG] it gets weirder - was Linux 7.2 printer problem solved

Paul Heinlein heinlein at attbi.com
Thu Mar 21 21:16:56 UTC 2002


[I sent this earlier this morning, but with the wrong From: address, so
this is a resend. Sort of.]

On Thu, 21 Mar 2002, Michael Rasmussen wrote:

>  for i in 6 7 8 9
>  do    
>    for j in 0 1 2 3 4 5 6 7 8 9

Please forgive the back-seat driving :-), but generating numeric
sequences is the forte of the seq utility included in the GNU sh-utils
tarball:

  for i in $(seq 6 9)
  do
    for j in $(seq 0 9)

or, more compactly

  for n in $(seq 60 99)

-- Paul Heinlein <heinlein at measurecast.com>







More information about the PLUG mailing list