On Sun, 30 Nov 2003, Bryan Cassidy wrote:

> I've downloaded a couple of .xhtml files and they have ^M characters
> all through it. I tried the col -b < name > newname command on these
> files but when I do that it erases the whole document. Any ideas?

perl -pi -e "s#\r##g" <filespecs>

If it is just one or two files it might be just as
easy to search and replace \r with nothing in your
text editor (depending on your text editor).

Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to