home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.23 / text0067.txt < prev    next >
Encoding:
Text File  |  1991-06-15  |  951 b   |  26 lines

  1. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  2.  
  3. In article <1991May14.185737.15746@uunet.uu.net> arnold@audiofax.com writes:
  4. > One of the things that happened when new awk was first realeased was a lot
  5. > of cleaning up and consistencizing (if I may coin a term) of the awk language.
  6.  
  7. I don't see how that makes things any more consistent. If you look at the
  8. grammer there's no ambiguity that needs to be resolved by adding that
  9. semicolon. Does anyone have an idea what the reasoning behind this was?
  10. To me, it adds confusion by treating a block as a statement.
  11.  
  12. Oh, and my V.3.2 system has no problem with that:
  13.  
  14. % ls -l | awk 'NF==9 { h[$3] += $5 } END {for(i in h) print i,h[i]}'
  15. root 7985
  16. peter 731662
  17.  
  18. (from a script I have lying around)
  19. -- 
  20. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  21. Sugar Land, TX  77487-5012;         `-_-' "Have you debugged your wolf, today?"
  22.  
  23.  
  24. Volume-Number: Volume 23, Number 71
  25.  
  26.