home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!nwnexus!osiris
- From: David Ruggiero <osiris@halcyon.com>
- Subject: Re: What do *you* use to format mail?
- Message-ID: <1992Dec16.170902.21889@nwnexus.WA.COM>
- Originator: osiris@halcyon.com
- Sender: sso@nwnexus.WA.COM (System Security Officer)
- Reply-To: osiris@halcyon.halcyon.com (David Ruggiero)
- Organization: [none - why fight entropy?]
- References: <1992Dec13.091156.19462@nwnexus.WA.COM> <nrp.724506949@reading>
- Date: Wed, 16 Dec 1992 17:09:02 GMT
- Lines: 24
-
- nrp@csug3.cs.reading.ac.uk ("Galactic subservient raisin pennies" Neilski) writes:
-
- >osiris@halcyon.com (David Ruggiero) writes:
- >>1) Evenly formatting the lines to a preset (or specified) length,
- >> performing concatenations and wrapping as necessary.
-
- >If you mean right-justifying the text, PLEASE PLEASE PLEASE don't! Fully
- >justified fixed-width text is much harder to read than non-justified.
-
- No, I mean (1) evening out line length to some average (concatenating
- short lines and limiting longer ones). Then, pre-pending some variable
- string (like "JB> " to indicate Joe Blow's text).
-
- >If you mean just limiting line length, look at fmt(1).
-
- If fmt(1) could do all that I wanted, I wouldn't have posted (see the original
- for a statement of the problem). Besides, on my system [Ultrix], fmt(1) is so
- brain dead that it doesn't even accept a line-length option, so it's useless
- for the task I have laid out. What I want to do, I expect, takes a short
- perl or awk script, and I figure *someone* out there must have one.
-
- Other suggestions are still most welcome.
- --
- David Ruggiero (jdavid@halcyon.com) Seattle, WA: Home of the Moss People
-