Re: tr problem

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

 



On Fri, 2008-06-13 at 09:29 +0200, Gianluca Cecchi wrote:
> 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 ... ;-)

Eliminating the '-c' will give three characters less and will actually
work.

poc

-- 
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