On Mon, 18 Dec 2000, Bret Hughes wrote:
> is there any command line magic I can use to do a global replace on the hex byte=
> 0D with hex 0A?

tr '\r' '\n' < infile > outfile

should work. I'm sure there is some perl command line magic you can do to
get it done on entire directories recursively.

If he is using netatalk on his server, it might be possible for his system
admin to set an option to do automatic conversions for ASCII files, but it
is probably easiest if he learns how to save his file as Unix files. Most
Mac programs offer this option.

thornton



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to