On Sat, Sep 01, 2001 at 02:51:45AM +0200, Richard Atterer wrote: > On Fri, Aug 31, 2001 at 09:27:19AM -0700, Dan Souza wrote: > <snip> > > I want the text to be 'cut' every 300 or so characters, and then > > create a flat file from this, with line numbers. <snip> > > tr -s '[:space:]' ' ' <file | fold -w 300 > ... and piping it though ' | cat -n ' gives you the linenumbers. Bye, Joost -- . . Joost van Baal . . . . http://mdcc.cx/ . .