in reply to Re: Change utility; code optimization
in thread Change utility; code optimization

How about:
perl -ne 'tr/\r//d;print;' flange.txt > op

--
Me spell chucker work grate. Need grandma chicken.

Replies are listed 'Best First'.
Re: Re: Re: Change utility; code optimization
by extremely (Priest) on Feb 10, 2001 at 10:02 UTC
    </code>perl -pi.bak -e 'y/\r//d' flange.txt</code>

    Generally, when you see -n and ;print' in a one liner, think -p and hug a camel. =)

    --
    $you = new YOU;
    honk() if $you->love(perl)