tr problem

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Jun 13 07:29:27 UTC 2008


On Fri, 13 Jun 2008 10:19:16 +1000 Cameron Simpson wrote:
> That's because \ is a shell quoting character. You need to quote it:-)
>   tr -c '\r' '\n' <filename >filename2
> Then tr will see the \ character.

So that with:

   tr -c \\r \\n <filename >filename2

I won by two characters ... ;-)
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080613/6ccf8b4e/attachment-0001.htm>


More information about the fedora-list mailing list