home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!convex!tchrist
- From: tchrist@convex.COM (Tom Christiansen)
- Newsgroups: comp.unix.questions
- Subject: Re: How do I tell if a file is open for writing?
- Message-ID: <1992Aug21.000621.22271@news.eng.convex.com>
- Date: 21 Aug 92 00:06:21 GMT
- References: <1992Aug20.031946.2150@athena.mit.edu> <1992Aug20.132711.4783@news.eng.convex.com> <1992Aug20.234643.27829@nas.nasa.gov>
- Sender: usenet@news.eng.convex.com (news access account)
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: Convex Computer Corporation, Colorado Springs, CO
- Lines: 20
- Originator: tchrist@pixel.convex.com
- Nntp-Posting-Host: pixel.convex.com
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
-
- From the keyboard of jns@ace.nas.nasa.gov (John N. Stewart):
- :I would use the time of last access on a stat command, if you are
- :trying to do this in CSH you've got some problems. DO IT IN PERL!
- :
- :My $0.02 worth -- and since it is as difficult as Tom C. says, and he
- :is a Perly guy, I hope he agrees :)
-
- Um, I'm not sure kernel dives are best done in Perl. I've done it (Oh,
- yes: I admit it -- I've done just about everything in Perl :-), but it
- wasn't particular fast, fun, or fulfilling. Nlisting the kernel is not
- quick in any event. I'd get Bernstein's tool and use that rather than
- recreating the wheel, although I'd likely embedded it perhaps in a sh
- script, perhaps in a Perl program.
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
- "...this does not mean that some of us should not want, in a rather
- dispassionate sort of way, to put a bullet through csh's head."
- Larry Wall in <1992Aug6.221512.5963@netlabs.com>
-