Subject: RE: ipf counting and rrdtool
To: None <netbsd-users@NetBSD.ORG>
From: Bruce Anderson <brucea@spacestar.net>
List: netbsd-users
Date: 07/13/2001 21:27:53
On Fri, Jul 13, 2001 2:31 AM, Greg A. Woods <mailto:woods@weird.com> wrote:
>
>That's the same as nawk's too....
>
>	$ nawk 'END {print OFMT}' < /dev/null
>	%.6g
>
>Oddly nothing I can find in gawk's manual talks about this weird
>side-effect on "print" of changing OFMT....
>
>




    "GAWK(1)           Utility Commands         GAWK(1)"

   "Built-in Variables
       Gawk's built-in variables are:"

...
       "CONVFMT     The  conversion format for numbers, "%.6g", by
                   default."

...

       "OFMT        The  output  format  for  numbers,  "%.6g", by
                   default."

..............

  "Variable Typing And Conversion"
..............

   "The printf Statement
       The AWK versions of the  printf  statement  and  sprintf()
       function (see below) accept the following conversion spec-
       ification formats:"

...







" Stamp out root logins .  .  .  . su "   --Bruce Anderson  
 This message was created and sent using Cyberdog 2.0, MacOS 8.6,
 awk, find, sed, sendmail, sh, and NetBSD a free Multi-Platform OS.
 NetBSD runs on thirty-one  different system  architectures featuring
 twelve distinct families of CPUs.   http://www.netbsd.org/