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

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!sdd.hp.com!hpsdr160.sdd.hp.com!user
  2. From: marshall@sdd.hp.com (Marshall Clow)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: How to tell if Projector'd file modifiable?
  5. Followup-To: comp.sys.mac.programmer
  6. Date: 28 Jan 1993 16:59:05 GMT
  7. Organization: Hewlett Packard San Diego Printer Division
  8. Lines: 25
  9. Distribution: world
  10. Message-ID: <marshall-280193085518@hpsdr160.sdd.hp.com>
  11. References: <1993Jan28.002837.29559@reed.edu>
  12. NNTP-Posting-Host: hpsdr160.sdd.hp.com
  13.  
  14. In article <1993Jan28.002837.29559@reed.edu>, bowman@reed.edu (Hobo Bobo)
  15. wrote:
  16. > Does anyone know an easy way to tell if a file has been ModifyReadOnly'd?
  17. > I like to run CMarker through a script on my source, and want to skip files
  18. > which haven't been checked out or MRO'd.  Is there a built in way to do this?
  19. > Or should I just write a tool to check the relevant resource?
  20. > thanks,
  21. > bobo              In seeking the unattainable,
  22. > bowman@reed.edu            simplicity only gets in the way.
  23.  
  24. What I do to find checked out files is:
  25.       ProjectInfo -s ┼ | Search [d+d*]
  26. where d --> option-d
  27.  
  28. This works because ProjectInfo list files in the form:
  29.       file1.c,1                   # version 1 checked out read-only
  30.       file2.h,1+                  # version 1 checked out modifiable
  31.       file3.a,3*                  # version 3 checked our MRO
  32.  
  33.  
  34. Marshall Clow
  35. San Diego Printer Division      Hewlett Packard
  36. Internet: marshall@sdd.hp.com   AppleLink: HP.Marshall    AOL: MClow
  37.