awk -v BINMODE=rw

Tom Rodman cygzw@trodman.com
Fri Aug 22 03:11:00 GMT 2008


Hello:

awk is removing the \r below:

  ~ $ date;uname -sr
  Thu Aug 21 18:26:08 CDT 2008
  CYGWIN_NT-5.0 1.5.25(0.156/4/2)
  ~ $ printf "HI\r\n"| awk -v BINMODE=rw '{print}'|/bin/od -Ad -c -toC
  0000000   H   I  \n
          110 111 012
  0000003
  ~ $ cygcheck -f /bin/gawk
  gawk-3.1.6-1

--
thanks,
Tom


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list