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