home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / ultrix / 9569 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!spool.mu.edu!agate!stanford.edu!nntp.Stanford.EDU!schemers
  3. From: schemers@leland.Stanford.EDU (Roland Schemers)
  4. Subject: Re: strange path hardwired in awk
  5. Message-ID: <1993Jan28.223301.8811@leland.Stanford.EDU>
  6. Keywords: awk
  7. Sender: news@leland.Stanford.EDU (Mr News)
  8. Organization: Distributed Computing Group, Stanford University
  9. References: <1993Jan28.121515.3498@black.ox.ac.uk>
  10. Date: Thu, 28 Jan 93 22:33:01 GMT
  11. Lines: 26
  12.  
  13. In article <1993Jan28.121515.3498@black.ox.ac.uk> mbeattie@black.ox.ac.uk (Malcolm Beattie) writes:
  14. >While looking through a more than usually verbose audit log,
  15. >I noticed that awk attempts to open /crp/pjw/awkhist/awkhist.
  16. >`strings /bin/awk' shows that this path is hardwired into
  17. >the binary. Does anyone know why or what this is?
  18. >
  19.  
  20. Its hard to believe thats still in there! (well, maybe not)
  21. "pjw" are the initials of one of the creators of awk (the "w"). I'd
  22. spell his name but I know I'd get it wrong.
  23.  
  24. I found this string a while back (4/5 years) while on a Mascomp Real-Time
  25. Unix system at an old job (I was bored and string'ng everything in site :-).
  26. If you create this file it then every time you run awk it will store stats
  27. (I think the actual program that was run) in that file. 
  28.  
  29. Roland
  30.  
  31.  
  32.  
  33.  
  34. -- 
  35. Roland J. Schemers III              |            Networking Systems
  36. Systems Programmer                  |            G16 Redwood Hall (415)-723-6740
  37. Distributed Computing Group         |            Stanford, CA 94305-4122
  38. Stanford University                 |            schemers@Slapshot.Stanford.EDU
  39.