home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14732 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!reading!nrp
  2. From: nrp@csug3.cs.reading.ac.uk ("Galactic subservient raisin pennies" Neilski)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: What do *you* use to format mail?
  5. Message-ID: <nrp.724506949@reading>
  6. Date: 16 Dec 92 11:55:49 GMT
  7. References: <1992Dec13.091156.19462@nwnexus.WA.COM>
  8. Sender: news@csug.cs.reading.ac.uk
  9. Reply-To: nrp@csug.cs.reading.ac.uk
  10. Organization: University of Reading
  11. Lines: 23
  12. Nntp-Posting-Host: pinewood
  13.  
  14. osiris@halcyon.com (David Ruggiero) writes:
  15.  
  16. >Now that I've finally learned how to send what I'm editing with vi
  17. >through a filter, I'd like to automate my most tedious emailing task...
  18. >The idea here is to find (and give credit to) the lone hacker out there
  19. >with the most fiendishly elegant sed/awk/nawk/perl/shell routine to format
  20. >their mail messages. By this, I mean at the least taking a block of
  21. >random text and:
  22.  
  23. >1) Evenly formatting the lines to a preset (or specified) length, 
  24. >   performing concatenations and wrapping as necessary.
  25.  
  26. If you mean right-justifying the text, PLEASE PLEASE PLEASE don't!  Fully
  27. justified fixed-width text is much harder to read than non-justified.
  28.  
  29. If you mean just limiting line length, look at fmt(1).
  30.  
  31. -- neilski
  32.  
  33. -- 
  34.  RADIO CRACKER - 103.6 FM  \--------------------------------------------------
  35. ----------------------------\ You come here to my daughter's wedding,
  36. but you show me no respect.  You ask me to listen to ... Radio Cracker.
  37.