[Clfs-support] xorg 7 script problem
Joe Ciccone
jciccone at gmail.com
Fri Apr 8 18:33:47 PDT 2011
On Fri, 2011-04-01 at 04:24 -0500, Rob Landley wrote:
> If you haven't got dos2unix lying around, you can always do:
>
> sed -i $(echo -e 's/\015$//') filename
>
> Which is vaguely disgusting but "works for me". (This comes up a lot
> saving entries out of my mbox to apply inline patches from linux-kernel.)
A simpler solution, untested but should work. I don't see the reason to
deal with all that pipe redirection if its not needed.
sed -i 's/\r$//' filename
--
Joe Ciccone
More information about the Clfs-support
mailing list