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