On Mon, 2002-11-25 at 01:04, sean finney wrote: > On Sun, Nov 24, 2002 at 10:32:14PM -0600, ZephyrQ wrote: > > I'm trying to format the debian install manual (text version) for > > printing and I'm trying to save a couple of trees. Is there an easy way > > to strip the line breaks so the text will come out unformatted? This > > way I can reduce the font and print whole pages of itty bitty debian > > install text which, in my own sick way, helps me find info I need > > quicker... > > well, what about printing the text two columns to a page? or > in landscape mode with three columns per page? > > otherwise, a quick hack that will do the stripping eol trick is to > rename the (pure text) file to .html, and then lynx -dump it, or > print it from your favorite web-browser. > > oh, and i'm pretty sure vim can do stuff with newlines, i'd have > to do some grepping through my mbox to find it but i had to sit > down and figure that out at some point. regardless, if you want > speed i think the previously mentioned hack might do the trick. > > hth > sean
There is always the option of piping it through 'fmt' with a suitably long line length and other settings - it will eat the \n unless it sees two consecutive ones, iirc. Check 'man fmt' to see if it can be tweaked to what you want. -- Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP ML Kahnt New Markets Consulting Tel: (613) 531-8684 / (613) 539-0935 Email: [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part