> There's more than one way to do it (in Unix).

Yup! Skip the awk,

 $ printf "foo\r\n" | od -bc
 0000000 146 157 157 015 012
           f   o   o  \r  \n
 0000005

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to