This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gawk 3.1.5-4 - how does BINMODE work.. tried BEGIN {BINMODE="rw";}


On Thu 4/6/06 8:04 CDT cygwin@cygwin.com wrote:
> OK - I read Corinna's ANNOUNCEMENT on gawk-3.1.5-4.  I'll try the BINMODE variable.

I read the info page on gawk and BINMODE, it does not seem to be working:

  ~ $ cygcheck -c gawk
  Cygwin Package Information
  Package              Version        Status
  gawk                 3.1.5-4        OK
  ~ $ printf "\r\n"|awk 'BEGIN {BINMODE=3;}; {print}'|od -c
  0000000  \n
  0000001
  ~ $ printf "\r\n"|awk 'BEGIN {BINMODE="rw";}; {print}'|od -c
  0000000  \n
  0000001

How do I get sed 4.1.5-1 to act in text mode again?  
--snip

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]