Re: tr problem

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

 



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
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux