switch in gawk
Oleg Goldshmidt
pub at goldshmidt.org
Mon May 11 20:23:40 IDT 2009
Oleg Goldshmidt <pub at goldshmidt.org> writes:
> So, if you have access to the latest RHEL/SLES, or Debian / Ubuntu /
> Gentoo / whatever, would you mind running
>
> $ gawk 'END {switch(NR) {default: print NR}}' /dev/null
Thanks to everyone who answered. It seems that Cygwin is the sole
dissenter (gawk compiled with --enable-switch) - those Windows
computers are weird, aren't they? ;-)
I am still curious about SLES (I suppose between CentOS and Fedora one
has a pretty good guess what RHEL has), so if you try it, please let
me know.
Thanks a lot again,
--
Oleg Goldshmidt | pub at goldshmidt.org
More information about the Linux-il
mailing list