Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!gordius!johnk From: johnk@gordian.com (John Kalucki) Newsgroups: comp.mail.uucp Subject: Re: How to remove ^M from end of each line from mail files Message-ID: <138@gordius.gordian.com> Date: 7 Jun 91 19:39:59 GMT References: <1991Jun6.210952.10573@shaman.com> Sender: news@gordian.com Reply-To: johnk@gordian.com (John Kalucki) Organization: Gordian; Costa Mesa, CA Lines: 24 In article <1991Jun6.210952.10573@shaman.com>, jiro@shaman.com (Jiro Nakamura) writes: |> Hiya - |> Yes, yet another question from me. :-) |> How do I configure sendmail.cf/uux to make sure that I |> don't have a ^M appended to the end of each line of my mail files? |> This is quite annoying for my friends that read my mail on other |> *NIX boxes. |> |> - Jiro Nakamura |> jiro@shaman.com |> -- |> Jiro Nakamura jiro@shaman.com |> The Shaman Group (607) 256-5125 VOICE |> "Bring your dead, dying shamans here!" (607) 277-1440 FAX/Data If you look in the out of the box /usr/lib/aliases file there is an entry that shows you how to run a filter on someone's mail. (Its a uudecoe entry). You could write a quick c program to do what you want (or do it in shell with sed) and pipe all your mail through the filter alias. -John Kalucki johnk@gordian.com