Re: replacing ^M in the editor

Pavel Roskin <proski gnu org>
Re: replacing ^M in the editor

Pavel: Guess what! dos2unix command does it

--- Pavel Roskin <proski gnu org> wrote:
It looks like it's broken now :-(

I'm sorry, but it looks like you'll have to use sed
for now:

sed $'s/\r/TEXT_TO_REPLACE/'

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]