tr problem

Michael Schwendt mschwendt at gmail.com
Fri Jun 13 14:42:40 UTC 2008


On Fri, 13 Jun 2008 09:31:19 -0500, Aaron Konstam wrote:

> Except as stated by the OP your solution of dos2unix might not work, DOS
> uses as eol characters cr followed by lf. So you would not want in that
> case to replace a cr by a lf. You would want to just remove the cr.
> In vi this is done by the command:
> :.,$s/^V^M//

$ rpm -qf /usr/bin/mac2unix 
dos2unix-3.1-31.fc9.i386

;o)




More information about the fedora-list mailing list