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

  1. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  2.  
  3. In article <1991May13.222855.9433@uunet.uu.net> peter@ficc.ferranti.com (Peter da Silva) writes:
  4. >>  awk 'BEGIN { print "hi" }   END { print "bye" }'   [not legal?]
  5. >
  6. >It isn't? I use the latter all the time!
  7.  
  8. You obviously missed that sparkling gem of technical presentation, "Awk
  9. as a serious systems programming language", my paper at the last Usenix. :-)
  10. I raised this specific issue as a needless incompatibility between different
  11. awks.  The problem is that awk has never been specified precisely enough to
  12. definitively say that this was not legal, and it worked in a lot of the early
  13. awks, so people got used to it.  At least one more recent interpretation,
  14. reading the rather fuzzy documentation narrowmindedly, has outlawed it.
  15. Alas, it sounds like POSIX is legitimizing this mistake, thereby breaking
  16. quite a bit of existing practice.
  17. -- 
  18. And the bean-counter replied,           | Henry Spencer @ U of Toronto Zoology
  19. "beans are more important".             |  henry@zoo.toronto.edu  utzoo!henry
  20.  
  21.  
  22. Volume-Number: Volume 23, Number 69
  23.  
  24.