* awk %x
@ 2016-08-18 8:20 Julius Schmidt
2016-08-18 17:28 ` [9front] " cinap_lenrek
0 siblings, 1 reply; 2+ messages in thread
From: Julius Schmidt @ 2016-08-18 8:20 UTC (permalink / raw)
To: 9front
I thought awk %x had been fixed to use the ANSI unsigned behaviour but it
doesn't seem to work:
% awk ' BEGIN { print "%x\n", -1 } '
-1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9front] awk %x
2016-08-18 8:20 awk %x Julius Schmidt
@ 2016-08-18 17:28 ` cinap_lenrek
0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2016-08-18 17:28 UTC (permalink / raw)
To: 9front
the example is wrong. you want printf("%x\n", -1); but
otherwise the patch is ok. :)
--
cinap
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-18 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-18 8:20 awk %x Julius Schmidt
2016-08-18 17:28 ` [9front] " cinap_lenrek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).