> I've a question about SED (Stream Editor). I want to substitute
> all hard returns in a datafile into semicolons ";". How do I
> to do this ???
Sorry to hijack your thread, but I have a very similar question!
Does anyone know how to clean DOS text for Unix using sed? If I use
the following trick (getting sed to output the pattern space), it
correctly outputs the \r character:
sed -e '/.*/ l' text.dos | sed -e 's/\r$//' > text.unix
However, the following doesn't work:
sed -e 's/\r$//' text.dos > text.unix
How do you find invisible characters?