On Wed, Aug 29, 2007 at 03:17:46PM +0200, Joe Hart wrote: > <begin 1.txt> > This is a test > file, what I am > trying to do is get the lines to join. > > It isn't a complicated thing, > but I also want to keep the paragraphs > separate. > </end 1.txt> [snip] > But ideally I'd like to just have a script to do it, but cannot figure out > how > to go about it, as sed doesn't seem to be working.
If I run your file through fmt, I get <output> This is a test file, what I am trying to do is get the lines to join. It isn't a complicated thing, but I also want to keep the paragraphs separate. </output> Of course, that may not have been what you were looking for, but I just thought some might find it useful later. Thanks! Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]