[svlug] Running a command n times simutaneously

Scott Hess scott at doubleu.com
Tue Apr 25 13:49:43 PDT 2006

On 4/25/06, Rick Moen <rick at linuxmafia.com> wrote:
> Quoting Scott Hess (scott at doubleu.com):
> > Wow, never heard of seq.  Cool.  Even more portable and less obvious
> > alternative that doesn't use such a special-purpose tool:
> >
> >    yes | head -10 | egrep -n y | cut -d: -f
> That's just wonderfully silly.  Niggle:  Needs a field number at the end.

Oops, that newfangled copy-paste functionality got the best of me!

  yes | head -10 | egrep -n y | cut -d: -f1


More information about the svlug mailing list