This is my one-liner :

        for i in `seq 1 10`; do echo http://foo.foo.org/foo$i.html; done > file.txt

seq is a part of the gnu shell-util package.  The RedHat 7.3 rpm is called sh-utils.

man seq for more information.


On Wed, Jul 17, 2002 at 01:48:10PM -0400, Bill Studley wrote:
> 
> 
> Erik Price wrote:
> 
> >
> > On Wednesday, July 17, 2002, at 12:44  PM, Bill Studley wrote:
> >
> >> timtowtdi ;-)
> >
> >
> > Hey, if you're going to say that, then you have to use this:
> >
> > perl -e 
> > 'for($c=1;$c<284;$c++){print"http://foo.foo.org/foo$c.file\n";}'>>somefile. 
> >
> > txt
> >
> >
> > ;)
> >
> >
> >
> >
> >
> > Erik
> >
> I knew there was a one liner in there someplace :-D
> 
> 
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************

-- 
-------------------------------------------------------------------------------
Steven Knight                   #include <standard_disclaimer.h>        
[EMAIL PROTECTED]           IM : skkataim

This was but a prelude; where books are burnt human-beings will be burnt in the end.
                --Heinrich Heine, 1820
Those who cannot remember the past are condemned to repeat it.
                --Santayana
Will I ever use calculus again? 
No. There is no connection between calculus and anything you will do in
life. We use it simply as a way to trick people into becoming mathematicians. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to