I realize you would normally want to track more than this, but:
If you open a stack as a text file, not as a stack, you'll see that lines 1 to 3
look like this:
#!/bin/sh
# MetaCard 2.3 stack
# The following is not ASCII text,

(DON'T save the stack while opened this way!)

Rudimentary version info is built into the stack header. I suspect it's used by
the MC engine to verify that the stack's file format is the one expected by the
engine.

FWIW.

Phil Davis


Leston Drake wrote:
> 
> I want to build a system for automatically tracking version information for
> my stacks. What I'm thinking is storing version information in a property
> of the stack, and updating that information each time the stack is saved.
> But I don't see any way to intercept the save message (MC doesn't let you
> write an "on save" handler in your script). Is this possible? Has anyone
> else created a system for version tracking that they would share?
> 
> TIA,
> Leston
> 
> Leston Drake, President
> LetterPress Software, Inc.
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 
Phil Davis
---------------------------------
[EMAIL PROTECTED]
(503) 417-7930  x234
---------------------------------
Facilitator
Essentials of eBusiness Computing
Information Technology Institute
http://www.iti.com

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to