home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10238 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.9 KB

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