home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM QTAG has been run and the output edited
- REM Demo to collect taglines for SLMR
- if not exist TAG_0.TMP goto HELP
- if exist TAGLINES.BAK del TAGLINES.BAK
- if not exist TAGLINES.MR goto NOFILE
- COPY TAGLINES.MR+TAG_0.TMP TAG_1.TMP
- rename TAGLINES.MR TAGLINES.BAK
- QSORT tag_1.TMP tag_2.TMP
- DUP tag_2.TMP TAGLINES.MR -a
- del tag_?.TMP
- goto FINIS
- :NOFILE
- echo File not found
- :HELP
- echo TAGLINE file.tag
- echo Merges TAGLINES.MR with file.tag
- echo Sorts it, removes duplicates and
- echo writes the results as a new
- echo TAGLINES.MR file. The old file
- echo is saved as TAGLINES.BAK
- :FINIS
-