home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / MAWK113.ZIP / mawk113 / PATCHES < prev    next >
Text File  |  1993-02-04  |  3KB  |  118 lines

  1. patch3:  mawk1.1.2 -> mawk1.1.3   Jan 93
  2.  
  3. 1) New configurations:
  4.    hpux coherent 386bsd linux
  5.  
  6. 2) Changed some ints to longs so that Unix and Dos versions
  7.    give same output.  E.g.,
  8.  
  9.    printf "%d" and printf "%ld" are now the same on Dos.
  10.  
  11.    msdos/examples directory with scripts by Ben Myers
  12.  
  13.    Infinity+1 large model pointer bug caused by modulo 2^16
  14.    arithmetic fixed.
  15.  
  16. 3) Grossly surprised to discover  (int) d causes a floating
  17.    point exception on hpux when d is a large double.
  18.    Integer casts are now done more carefully.  Thanks to
  19.    Ken Poulton for finding this bug.
  20.  
  21. 4) Removed ApolloSR10.3 from working configurations. Mawk will
  22.    not work if compiled with CC6.8.
  23.  
  24.  
  25. patch2:  mawk1.1.1 -> mawk1.1.2   26 Aug 92
  26.  
  27. 1)  Comparisons are done as described the AWK book, which is the
  28.     same as mawk1.0.  Evidently I lack the requisite mental facilities
  29.     to understand posix comparisons , i.e.
  30.  
  31.       echo 0 | mawk '$0 == "0000" { print "true" }'
  32.       true
  33.  
  34.     was a major bozo.
  35.  
  36. 2)  If n = split(s, X, r) , then all elements other than
  37.     X[1..n] are now deleted from X.  This behavior is 
  38.     consistent with other awks.
  39.  
  40. 3)  foo = "foo"
  41.     foo++ evaluates to 0 and value of foo is 1
  42.  
  43.     old behavior was foo++ was "foo" and foo then set to 1
  44.  
  45. 4)  Fixed two bugs in regular expression lexical scanner:
  46.  
  47.     [c1-c2] did not work right if c2 was an escaped character.
  48.  
  49.     function do_str() which collected runs of characters did
  50.     not work right if the last character was escaped and the run
  51.     ended with * + or ?.
  52.  
  53. 5)  You can now read and write to the same file.  E.g.
  54.  
  55.     printf "Enter:  " > "/dev/tty"
  56.     getline answer < "/dev/tty"
  57.  
  58. 6)  Output to files which are ttys is now unbuffered.
  59.  
  60. 7)  FILENAME and FNR retain their value from the last record in
  61.     the END section.  
  62.  
  63. 8)  man pages might groff.
  64.  
  65. 9)  New configuration files
  66.     aix.h  convex.h  sysVr4i386.h
  67.  
  68. 10) Better error recovery for bungled function definitions
  69.     via new productions
  70.  
  71.     program_block : outside_error block ;
  72.     error : outside_error ;
  73.  
  74. 11) If i > NF , then ++$i , $i++, g?sub(r,s,$i), now work
  75.     correctly.
  76.  
  77. 12) MsDOS, interactive input: terminating a line with ^Z
  78.     works correctly (at least with TC++ compiler).
  79.  
  80. l3) string_buff had too many users which induced an error in
  81.     sprintf().  After parsing, string_buff is now only be used
  82.     by sprintf().
  83.     (Old fart seduced by subliminal common block).
  84.  
  85. --------------------------------------------------
  86. patch1:  mawk1.1 to mawk1.1.1     (mar 92)
  87.  
  88. 1) fixed bug which caused 
  89.  
  90.     mawk 'program'  var=value
  91.  
  92. without files on the command line to sporadically fail.
  93.  
  94. 2) fixed bug which caused
  95.  
  96.     getline <=
  97.  
  98. to be mistaken for input redirection.
  99.  
  100. 3) Changed rexp1.c to work around a bug in sun SC1.0 compiler.
  101.  
  102. 4) Minor improvements to build_mawk script.
  103.  
  104. 5) changed the name of ultrix42_mips.h to ultrix42mips.h so
  105.    the filename is 14 characters.
  106.  
  107. 6) printf() and sprintf() can now have more arguments than 
  108. conversions in the format string.  This allows a "poor man's" varargs
  109. functionality for user functions that do output.
  110.  
  111. 7) new configurations:
  112.  
  113.       next, sgi, aix
  114.  
  115. 8) removed HAVE_PRINTF_HD define as too obscure to be useful.
  116.  
  117. 9) added missing config/apollo.h file.
  118.