home *** CD-ROM | disk | FTP | other *** search
-
- /*
- ** $VER: AddVersion.edge 1.2 (Sunday 08-Aug-93 02:25:43)
- **
- ** Insert a version string at current cursor position, based on current date and
- ** filename, position the cursor so the user may type the version.revision
- **
- ** Written by Thomas liljetoft
- */
-
- options results
-
- /* first get filename and date */
-
- 'getenvvar' _fe_name
- filename = result
- 'getenvvar' _ge_date
- timestamp = result
-
- /* insert the version string, put the cursor after the filename */
-
- 'text' '"'"$VER: "filename" ("timestamp")"'"'
- 'find' '" ("' forward 0 words 0
-
- exit(0)
-