On Tue, 12 Jan 1999, Brandon Mitchell wrote:

> sed 's/^M//g' <badfile >goodfile
> 
> Replace badfile and goodfile appropriately.
> Generate the ^M in bash with <cont><v> <cont><m>

Thanks - that's what I couldn't figure out. It's nice to know I was trying
to use sed the right way :)

Matthew

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/

Reply via email to