home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / listserv5.31 / part01 / reformat < prev    next >
Encoding:
Text File  |  1991-12-12  |  358 b   |  10 lines

  1. #!/bin/sh
  2. # This script reformats incoming messages; mailers are supposed to convert
  3. # any message text starting with "From " to ">From ", but some fail to do it.
  4. # This script should be used instead in the aliases file. For example:
  5. #
  6. #test-list:"|/bin/cat | /usr/server/reformat >> /usr/server/lists/TEST-LIST/mail
  7. read x
  8. echo $x
  9. sed 's/^From\ /\>From\ /'
  10.