On Fri, 13 Jun 2008 15:41:31 -0500, Aaron Konstam wrote: > On Fri, 2008-06-13 at 16:42 +0200, Michael Schwendt wrote: > > 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) > How is this a response to what I said?
mac2unix is just dos2unix -c Mac and can be used to replace CR line delimiters with LF, which is what Gene, the OP, wants. On the contrary, where the line delimiters are CR+LF (DOS, Windows), dos2unix can be used. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list