Hector, BTW, to do it in awk:

$ echo foo | awk '{printf "%s\r\n", $0}' | od -bc
0000000 146 157 157 015 012
          f   o   o  \r  \n
0000005

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

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

Reply via email to