bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gawk-devel] Bug with --binary flag <--- solved


From: Steffen Schuler
Subject: Re: [gawk-devel] Bug with --binary flag <--- solved
Date: Tue, 23 Dec 2008 14:00:25 +0100
User-agent: Icedove 1.5.0.14eol (X11/20080724)

Hi Arnold,

I see now my error. What I really meant was:

$ ./gawk -v RS="\0" -v ORS="\0" -b '{ print "/tmp/gawk" } '\
'END { close("/tmp/gawk") }' /home/steffen/gawk-devel/bin/gawk
$ cmp /tmp/gawk /home/steffen/gawk-devel/bin/gawk
$

And this works. (Could be different in an additional last byte '\0' in /tmp/gawk.)

--
Steffen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]