home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14738 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.6 KB  |  38 lines

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