Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Sherston » !Upgrade/Upgrades/!!Instruct
!Upgrade/Upgrades/!!Instruct
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Sherston |
Filename: | !Upgrade/Upgrades/!!Instruct |
Read OK: | ✔ |
File size: | 0F43 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Instructions for setting up an upgrade: 1. Create a directory with the name of the application (or directory) to be upgraded. e.g. !Test application uses a directory called !Test. 2. Write an upgrade script and save it as !!script inside the application's upgrade directory. the instructions available in the script are listed below. 3. Store the files required by the !!script inside the application's upgrade directory. 4. Write a 'read me' text file to be displayed while the upgrade is being performed. This file is optional. Save the file as !!readme inside the application's upgrade directory. 5. Test then distribute the !Upgrade application. Instructions available: COPY <srcname> [<destname>] - copies the <srcname> file from the application's upgrade directory to the directory of the application being upgraded. e.g. COPY !RunImage will copy !RunImage from the upgrade directory into the application. - the optional <destname> gives a different name for the file to have inside the application being upgraded. e.g. COPY datafile datadir.data will copy the file called 'datafile' into the application's directory called 'datadir' and call the file 'data'. - this instruction will also recursively copy directories. - if a !Run file is copied over an already existing !Run file, the last line starting with !Run in the old version will be preserved in the new. ERROR <errmess> - terminates execution of the script and displays the <errmess>. IFDOESEXIST <filename> <instruction...> IFDOESTNOTEXIST <filename> <instruction...> - these commands perform the remainder of the line if the named file in the application's directory exists/doesn't exists. e.g. iffileexist !NewFile Error Your program already has the new file. IFFILENEWER <filename> <instruction...> IFFILENOTNEWER <filename> <instruction...> IFFILEOLDER <filename> <instruction...> IFFILENOTOLDER <filename> <instruction...> - these commands perform the remainder of the line if the named file in the upgrade directory is newer/nonewer/older/notolder than the file of the same name in the directory of the application being upgraded. e.g. iffileolder !RunImage Error Your program is newer than the upgrade. iffilenotnewer !RunImage Error Your program is already up to date. IFVERSIONNEWER <filename> <instruction...> IFVERSIONNOTNEWER <filename> <instruction...> IFVERSIONOLDER <filename> <instruction...> IFVERSIONNOTOLDER <filename> <instruction...> - these commands perform the remainder of the line if the version number in the named file in the upgrade directory is newer/nonewer/older/notolder than the file of the same name in the directory of the application being upgraded. e.g. ifversionolder !RunImage Error The program is newer than the upgrade. ifversionnotnewer !RunImage Error Your program is already up to date. - for obey files the version number is the first textual number in a comment line. - for module files the version number is the first textual number in the help string or after the help string. - for all other files the version number is found by evaluating the first textual number found in a file. MAKEDIR <dirname> - creates a directory called <dirname> inside the application being upgraded. QUIT - terminates execution of the script, but doesn't report an error. REMOVE <filename> - removes (deletes) the file <filename> inside the directory of the application being upgraded. No error is reported is the file doesn't exists. - this instruction will also delete a directory and it's contents. RENAME <oldname> <newname> - renames a file or directory in the directory of the application that is being upgraded. REPORT <mess> - finishes execution of the script and displays the <mess> (more fiendly than ERROR).
00000000 49 6e 73 74 72 75 63 74 69 6f 6e 73 20 66 6f 72 |Instructions for| 00000010 20 73 65 74 74 69 6e 67 20 75 70 20 61 6e 20 75 | setting up an u| 00000020 70 67 72 61 64 65 3a 0a 0a 31 2e 20 43 72 65 61 |pgrade:..1. Crea| 00000030 74 65 20 61 20 64 69 72 65 63 74 6f 72 79 20 77 |te a directory w| 00000040 69 74 68 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 |ith the name of | 00000050 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 |the application | 00000060 28 6f 72 20 64 69 72 65 63 74 6f 72 79 29 0a 20 |(or directory). | 00000070 20 20 74 6f 20 62 65 20 75 70 67 72 61 64 65 64 | to be upgraded| 00000080 2e 20 65 2e 67 2e 20 21 54 65 73 74 20 61 70 70 |. e.g. !Test app| 00000090 6c 69 63 61 74 69 6f 6e 20 75 73 65 73 0a 20 20 |lication uses. | 000000a0 20 61 20 64 69 72 65 63 74 6f 72 79 20 63 61 6c | a directory cal| 000000b0 6c 65 64 20 21 54 65 73 74 2e 0a 20 20 20 0a 32 |led !Test.. .2| 000000c0 2e 20 57 72 69 74 65 20 61 6e 20 75 70 67 72 61 |. Write an upgra| 000000d0 64 65 20 73 63 72 69 70 74 20 61 6e 64 20 73 61 |de script and sa| 000000e0 76 65 20 69 74 20 61 73 20 21 21 73 63 72 69 70 |ve it as !!scrip| 000000f0 74 20 69 6e 73 69 64 65 20 74 68 65 0a 20 20 20 |t inside the. | 00000100 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 20 75 70 |application's up| 00000110 67 72 61 64 65 20 64 69 72 65 63 74 6f 72 79 2e |grade directory.| 00000120 20 74 68 65 20 69 6e 73 74 72 75 63 74 69 6f 6e | the instruction| 00000130 73 20 61 76 61 69 6c 61 62 6c 65 0a 20 20 20 69 |s available. i| 00000140 6e 20 74 68 65 20 73 63 72 69 70 74 20 61 72 65 |n the script are| 00000150 20 6c 69 73 74 65 64 20 62 65 6c 6f 77 2e 0a 20 | listed below.. | 00000160 20 20 0a 33 2e 20 53 74 6f 72 65 20 74 68 65 20 | .3. Store the | 00000170 66 69 6c 65 73 20 72 65 71 75 69 72 65 64 20 62 |files required b| 00000180 79 20 74 68 65 20 21 21 73 63 72 69 70 74 20 69 |y the !!script i| 00000190 6e 73 69 64 65 20 74 68 65 0a 20 20 20 61 70 70 |nside the. app| 000001a0 6c 69 63 61 74 69 6f 6e 27 73 20 75 70 67 72 61 |lication's upgra| 000001b0 64 65 20 64 69 72 65 63 74 6f 72 79 2e 0a 20 20 |de directory.. | 000001c0 20 0a 34 2e 20 57 72 69 74 65 20 61 20 27 72 65 | .4. Write a 're| 000001d0 61 64 20 6d 65 27 20 74 65 78 74 20 66 69 6c 65 |ad me' text file| 000001e0 20 74 6f 20 62 65 20 64 69 73 70 6c 61 79 65 64 | to be displayed| 000001f0 20 77 68 69 6c 65 20 74 68 65 20 75 70 67 72 61 | while the upgra| 00000200 64 65 0a 20 20 20 69 73 20 62 65 69 6e 67 20 70 |de. is being p| 00000210 65 72 66 6f 72 6d 65 64 2e 20 54 68 69 73 20 66 |erformed. This f| 00000220 69 6c 65 20 69 73 20 6f 70 74 69 6f 6e 61 6c 2e |ile is optional.| 00000230 20 53 61 76 65 20 74 68 65 20 66 69 6c 65 20 61 | Save the file a| 00000240 73 0a 20 20 20 21 21 72 65 61 64 6d 65 20 69 6e |s. !!readme in| 00000250 73 69 64 65 20 74 68 65 20 61 70 70 6c 69 63 61 |side the applica| 00000260 74 69 6f 6e 27 73 20 75 70 67 72 61 64 65 20 64 |tion's upgrade d| 00000270 69 72 65 63 74 6f 72 79 2e 0a 20 20 20 0a 35 2e |irectory.. .5.| 00000280 20 54 65 73 74 20 74 68 65 6e 20 64 69 73 74 72 | Test then distr| 00000290 69 62 75 74 65 20 74 68 65 20 21 55 70 67 72 61 |ibute the !Upgra| 000002a0 64 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 0a |de application..| 000002b0 0a 49 6e 73 74 72 75 63 74 69 6f 6e 73 20 61 76 |.Instructions av| 000002c0 61 69 6c 61 62 6c 65 3a 0a 0a 43 4f 50 59 20 3c |ailable:..COPY <| 000002d0 73 72 63 6e 61 6d 65 3e 20 5b 3c 64 65 73 74 6e |srcname> [<destn| 000002e0 61 6d 65 3e 5d 0a 20 2d 20 63 6f 70 69 65 73 20 |ame>]. - copies | 000002f0 74 68 65 20 3c 73 72 63 6e 61 6d 65 3e 20 66 69 |the <srcname> fi| 00000300 6c 65 20 66 72 6f 6d 20 74 68 65 20 61 70 70 6c |le from the appl| 00000310 69 63 61 74 69 6f 6e 27 73 20 75 70 67 72 61 64 |ication's upgrad| 00000320 65 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 74 |e directory. t| 00000330 6f 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 |o the directory | 00000340 6f 66 20 74 68 65 20 61 70 70 6c 69 63 61 74 69 |of the applicati| 00000350 6f 6e 20 62 65 69 6e 67 20 75 70 67 72 61 64 65 |on being upgrade| 00000360 64 2e 0a 20 20 20 65 2e 67 2e 20 43 4f 50 59 20 |d.. e.g. COPY | 00000370 21 52 75 6e 49 6d 61 67 65 0a 20 20 20 20 20 20 |!RunImage. | 00000380 20 20 77 69 6c 6c 20 63 6f 70 79 20 21 52 75 6e | will copy !Run| 00000390 49 6d 61 67 65 20 66 72 6f 6d 20 74 68 65 20 75 |Image from the u| 000003a0 70 67 72 61 64 65 20 64 69 72 65 63 74 6f 72 79 |pgrade directory| 000003b0 20 69 6e 74 6f 20 74 68 65 20 61 70 70 6c 69 63 | into the applic| 000003c0 61 74 69 6f 6e 2e 0a 20 2d 20 74 68 65 20 6f 70 |ation.. - the op| 000003d0 74 69 6f 6e 61 6c 20 3c 64 65 73 74 6e 61 6d 65 |tional <destname| 000003e0 3e 20 67 69 76 65 73 20 61 20 64 69 66 66 65 72 |> gives a differ| 000003f0 65 6e 74 20 6e 61 6d 65 20 66 6f 72 20 74 68 65 |ent name for the| 00000400 20 66 69 6c 65 20 74 6f 20 68 61 76 65 0a 20 20 | file to have. | 00000410 20 69 6e 73 69 64 65 20 74 68 65 20 61 70 70 6c | inside the appl| 00000420 69 63 61 74 69 6f 6e 20 62 65 69 6e 67 20 75 70 |ication being up| 00000430 67 72 61 64 65 64 2e 0a 20 20 20 65 2e 67 2e 20 |graded.. e.g. | 00000440 43 4f 50 59 20 64 61 74 61 66 69 6c 65 20 64 61 |COPY datafile da| 00000450 74 61 64 69 72 2e 64 61 74 61 0a 20 20 20 20 20 |tadir.data. | 00000460 20 20 20 77 69 6c 6c 20 63 6f 70 79 20 74 68 65 | will copy the| 00000470 20 66 69 6c 65 20 63 61 6c 6c 65 64 20 27 64 61 | file called 'da| 00000480 74 61 66 69 6c 65 27 20 69 6e 74 6f 20 74 68 65 |tafile' into the| 00000490 20 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 0a 20 | application's. | 000004a0 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 | directory| 000004b0 20 63 61 6c 6c 65 64 20 27 64 61 74 61 64 69 72 | called 'datadir| 000004c0 27 20 61 6e 64 20 63 61 6c 6c 20 74 68 65 20 66 |' and call the f| 000004d0 69 6c 65 20 27 64 61 74 61 27 2e 0a 20 2d 20 74 |ile 'data'.. - t| 000004e0 68 69 73 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 |his instruction | 000004f0 77 69 6c 6c 20 61 6c 73 6f 20 72 65 63 75 72 73 |will also recurs| 00000500 69 76 65 6c 79 20 63 6f 70 79 20 64 69 72 65 63 |ively copy direc| 00000510 74 6f 72 69 65 73 2e 0a 20 2d 20 69 66 20 61 20 |tories.. - if a | 00000520 21 52 75 6e 20 66 69 6c 65 20 69 73 20 63 6f 70 |!Run file is cop| 00000530 69 65 64 20 6f 76 65 72 20 61 6e 20 61 6c 72 65 |ied over an alre| 00000540 61 64 79 20 65 78 69 73 74 69 6e 67 20 21 52 75 |ady existing !Ru| 00000550 6e 20 66 69 6c 65 2c 20 74 68 65 20 6c 61 73 74 |n file, the last| 00000560 0a 20 20 20 6c 69 6e 65 20 73 74 61 72 74 69 6e |. line startin| 00000570 67 20 77 69 74 68 20 21 52 75 6e 20 69 6e 20 74 |g with !Run in t| 00000580 68 65 20 6f 6c 64 20 76 65 72 73 69 6f 6e 20 77 |he old version w| 00000590 69 6c 6c 20 62 65 20 70 72 65 73 65 72 76 65 64 |ill be preserved| 000005a0 20 69 6e 20 74 68 65 20 6e 65 77 2e 0a 20 20 20 | in the new.. | 000005b0 20 20 20 20 20 0a 45 52 52 4f 52 20 3c 65 72 72 | .ERROR <err| 000005c0 6d 65 73 73 3e 0a 20 2d 20 74 65 72 6d 69 6e 61 |mess>. - termina| 000005d0 74 65 73 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 |tes execution of| 000005e0 20 74 68 65 20 73 63 72 69 70 74 20 61 6e 64 20 | the script and | 000005f0 64 69 73 70 6c 61 79 73 20 74 68 65 20 3c 65 72 |displays the <er| 00000600 72 6d 65 73 73 3e 2e 0a 20 0a 49 46 44 4f 45 53 |rmess>.. .IFDOES| 00000610 45 58 49 53 54 20 3c 66 69 6c 65 6e 61 6d 65 3e |EXIST <filename>| 00000620 20 3c 69 6e 73 74 72 75 63 74 69 6f 6e 2e 2e 2e | <instruction...| 00000630 3e 0a 49 46 44 4f 45 53 54 4e 4f 54 45 58 49 53 |>.IFDOESTNOTEXIS| 00000640 54 20 3c 66 69 6c 65 6e 61 6d 65 3e 20 3c 69 6e |T <filename> <in| 00000650 73 74 72 75 63 74 69 6f 6e 2e 2e 2e 3e 0a 20 2d |struction...>. -| 00000660 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 20 | these commands | 00000670 70 65 72 66 6f 72 6d 20 74 68 65 20 72 65 6d 61 |perform the rema| 00000680 69 6e 64 65 72 20 6f 66 20 74 68 65 20 6c 69 6e |inder of the lin| 00000690 65 20 69 66 20 74 68 65 20 6e 61 6d 65 64 20 66 |e if the named f| 000006a0 69 6c 65 20 69 6e 0a 20 20 20 74 68 65 20 61 70 |ile in. the ap| 000006b0 70 6c 69 63 61 74 69 6f 6e 27 73 20 64 69 72 65 |plication's dire| 000006c0 63 74 6f 72 79 20 65 78 69 73 74 73 2f 64 6f 65 |ctory exists/doe| 000006d0 73 6e 27 74 20 65 78 69 73 74 73 2e 0a 20 20 20 |sn't exists.. | 000006e0 65 2e 67 2e 20 69 66 66 69 6c 65 65 78 69 73 74 |e.g. iffileexist| 000006f0 20 21 4e 65 77 46 69 6c 65 20 45 72 72 6f 72 20 | !NewFile Error | 00000700 59 6f 75 72 20 70 72 6f 67 72 61 6d 20 61 6c 72 |Your program alr| 00000710 65 61 64 79 20 68 61 73 20 74 68 65 20 6e 65 77 |eady has the new| 00000720 20 66 69 6c 65 2e 0a 0a 49 46 46 49 4c 45 4e 45 | file...IFFILENE| 00000730 57 45 52 20 3c 66 69 6c 65 6e 61 6d 65 3e 20 3c |WER <filename> <| 00000740 69 6e 73 74 72 75 63 74 69 6f 6e 2e 2e 2e 3e 0a |instruction...>.| 00000750 49 46 46 49 4c 45 4e 4f 54 4e 45 57 45 52 20 3c |IFFILENOTNEWER <| 00000760 66 69 6c 65 6e 61 6d 65 3e 20 3c 69 6e 73 74 72 |filename> <instr| 00000770 75 63 74 69 6f 6e 2e 2e 2e 3e 0a 49 46 46 49 4c |uction...>.IFFIL| 00000780 45 4f 4c 44 45 52 20 3c 66 69 6c 65 6e 61 6d 65 |EOLDER <filename| 00000790 3e 20 3c 69 6e 73 74 72 75 63 74 69 6f 6e 2e 2e |> <instruction..| 000007a0 2e 3e 0a 49 46 46 49 4c 45 4e 4f 54 4f 4c 44 45 |.>.IFFILENOTOLDE| 000007b0 52 20 3c 66 69 6c 65 6e 61 6d 65 3e 20 3c 69 6e |R <filename> <in| 000007c0 73 74 72 75 63 74 69 6f 6e 2e 2e 2e 3e 0a 20 2d |struction...>. -| 000007d0 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 20 | these commands | 000007e0 70 65 72 66 6f 72 6d 20 74 68 65 20 72 65 6d 61 |perform the rema| 000007f0 69 6e 64 65 72 20 6f 66 20 74 68 65 20 6c 69 6e |inder of the lin| 00000800 65 20 69 66 20 74 68 65 20 6e 61 6d 65 64 20 66 |e if the named f| 00000810 69 6c 65 20 69 6e 0a 20 20 20 74 68 65 20 75 70 |ile in. the up| 00000820 67 72 61 64 65 20 64 69 72 65 63 74 6f 72 79 20 |grade directory | 00000830 69 73 20 6e 65 77 65 72 2f 6e 6f 6e 65 77 65 72 |is newer/nonewer| 00000840 2f 6f 6c 64 65 72 2f 6e 6f 74 6f 6c 64 65 72 20 |/older/notolder | 00000850 74 68 61 6e 20 74 68 65 20 66 69 6c 65 20 6f 66 |than the file of| 00000860 0a 20 20 20 74 68 65 20 73 61 6d 65 20 6e 61 6d |. the same nam| 00000870 65 20 69 6e 20 74 68 65 20 64 69 72 65 63 74 6f |e in the directo| 00000880 72 79 20 6f 66 20 74 68 65 20 61 70 70 6c 69 63 |ry of the applic| 00000890 61 74 69 6f 6e 20 62 65 69 6e 67 20 75 70 67 72 |ation being upgr| 000008a0 61 64 65 64 2e 0a 20 20 20 65 2e 67 2e 20 69 66 |aded.. e.g. if| 000008b0 66 69 6c 65 6f 6c 64 65 72 20 21 52 75 6e 49 6d |fileolder !RunIm| 000008c0 61 67 65 20 45 72 72 6f 72 20 59 6f 75 72 20 70 |age Error Your p| 000008d0 72 6f 67 72 61 6d 20 69 73 20 6e 65 77 65 72 20 |rogram is newer | 000008e0 74 68 61 6e 20 74 68 65 20 75 70 67 72 61 64 65 |than the upgrade| 000008f0 2e 0a 20 20 20 20 20 20 20 20 69 66 66 69 6c 65 |.. iffile| 00000900 6e 6f 74 6e 65 77 65 72 20 21 52 75 6e 49 6d 61 |notnewer !RunIma| 00000910 67 65 20 45 72 72 6f 72 20 59 6f 75 72 20 70 72 |ge Error Your pr| 00000920 6f 67 72 61 6d 20 69 73 20 61 6c 72 65 61 64 79 |ogram is already| 00000930 20 75 70 20 74 6f 20 64 61 74 65 2e 0a 0a 49 46 | up to date...IF| 00000940 56 45 52 53 49 4f 4e 4e 45 57 45 52 20 3c 66 69 |VERSIONNEWER <fi| 00000950 6c 65 6e 61 6d 65 3e 20 3c 69 6e 73 74 72 75 63 |lename> <instruc| 00000960 74 69 6f 6e 2e 2e 2e 3e 0a 49 46 56 45 52 53 49 |tion...>.IFVERSI| 00000970 4f 4e 4e 4f 54 4e 45 57 45 52 20 3c 66 69 6c 65 |ONNOTNEWER <file| 00000980 6e 61 6d 65 3e 20 3c 69 6e 73 74 72 75 63 74 69 |name> <instructi| 00000990 6f 6e 2e 2e 2e 3e 0a 49 46 56 45 52 53 49 4f 4e |on...>.IFVERSION| 000009a0 4f 4c 44 45 52 20 3c 66 69 6c 65 6e 61 6d 65 3e |OLDER <filename>| 000009b0 20 3c 69 6e 73 74 72 75 63 74 69 6f 6e 2e 2e 2e | <instruction...| 000009c0 3e 0a 49 46 56 45 52 53 49 4f 4e 4e 4f 54 4f 4c |>.IFVERSIONNOTOL| 000009d0 44 45 52 20 3c 66 69 6c 65 6e 61 6d 65 3e 20 3c |DER <filename> <| 000009e0 69 6e 73 74 72 75 63 74 69 6f 6e 2e 2e 2e 3e 0a |instruction...>.| 000009f0 20 2d 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 | - these command| 00000a00 73 20 70 65 72 66 6f 72 6d 20 74 68 65 20 72 65 |s perform the re| 00000a10 6d 61 69 6e 64 65 72 20 6f 66 20 74 68 65 20 6c |mainder of the l| 00000a20 69 6e 65 20 69 66 20 74 68 65 20 76 65 72 73 69 |ine if the versi| 00000a30 6f 6e 20 6e 75 6d 62 65 72 0a 20 20 20 69 6e 20 |on number. in | 00000a40 74 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20 69 |the named file i| 00000a50 6e 20 74 68 65 20 75 70 67 72 61 64 65 20 64 69 |n the upgrade di| 00000a60 72 65 63 74 6f 72 79 20 69 73 20 6e 65 77 65 72 |rectory is newer| 00000a70 2f 6e 6f 6e 65 77 65 72 2f 6f 6c 64 65 72 2f 6e |/nonewer/older/n| 00000a80 6f 74 6f 6c 64 65 72 0a 20 20 20 74 68 61 6e 20 |otolder. than | 00000a90 74 68 65 20 66 69 6c 65 20 6f 66 20 74 68 65 20 |the file of the | 00000aa0 73 61 6d 65 20 6e 61 6d 65 20 69 6e 20 74 68 65 |same name in the| 00000ab0 20 64 69 72 65 63 74 6f 72 79 20 6f 66 20 74 68 | directory of th| 00000ac0 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 62 65 |e application be| 00000ad0 69 6e 67 0a 20 20 20 75 70 67 72 61 64 65 64 2e |ing. upgraded.| 00000ae0 0a 20 20 20 65 2e 67 2e 20 69 66 76 65 72 73 69 |. e.g. ifversi| 00000af0 6f 6e 6f 6c 64 65 72 20 21 52 75 6e 49 6d 61 67 |onolder !RunImag| 00000b00 65 20 45 72 72 6f 72 20 54 68 65 20 70 72 6f 67 |e Error The prog| 00000b10 72 61 6d 20 69 73 20 6e 65 77 65 72 20 74 68 61 |ram is newer tha| 00000b20 6e 20 74 68 65 20 75 70 67 72 61 64 65 2e 0a 20 |n the upgrade.. | 00000b30 20 20 20 20 20 20 20 69 66 76 65 72 73 69 6f 6e | ifversion| 00000b40 6e 6f 74 6e 65 77 65 72 20 21 52 75 6e 49 6d 61 |notnewer !RunIma| 00000b50 67 65 20 45 72 72 6f 72 20 59 6f 75 72 20 70 72 |ge Error Your pr| 00000b60 6f 67 72 61 6d 20 69 73 20 61 6c 72 65 61 64 79 |ogram is already| 00000b70 20 75 70 20 74 6f 20 64 61 74 65 2e 0a 0a 20 2d | up to date... -| 00000b80 20 66 6f 72 20 6f 62 65 79 20 66 69 6c 65 73 20 | for obey files | 00000b90 74 68 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 |the version numb| 00000ba0 65 72 20 69 73 20 74 68 65 20 66 69 72 73 74 20 |er is the first | 00000bb0 74 65 78 74 75 61 6c 20 6e 75 6d 62 65 72 20 69 |textual number i| 00000bc0 6e 20 61 0a 20 20 20 63 6f 6d 6d 65 6e 74 20 6c |n a. comment l| 00000bd0 69 6e 65 2e 0a 20 2d 20 66 6f 72 20 6d 6f 64 75 |ine.. - for modu| 00000be0 6c 65 20 66 69 6c 65 73 20 74 68 65 20 76 65 72 |le files the ver| 00000bf0 73 69 6f 6e 20 6e 75 6d 62 65 72 20 69 73 20 74 |sion number is t| 00000c00 68 65 20 66 69 72 73 74 20 74 65 78 74 75 61 6c |he first textual| 00000c10 20 6e 75 6d 62 65 72 20 69 6e 20 74 68 65 0a 20 | number in the. | 00000c20 20 20 68 65 6c 70 20 73 74 72 69 6e 67 20 6f 72 | help string or| 00000c30 20 61 66 74 65 72 20 74 68 65 20 68 65 6c 70 20 | after the help | 00000c40 73 74 72 69 6e 67 2e 0a 20 2d 20 66 6f 72 20 61 |string.. - for a| 00000c50 6c 6c 20 6f 74 68 65 72 20 66 69 6c 65 73 20 74 |ll other files t| 00000c60 68 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 |he version numbe| 00000c70 72 20 69 73 20 66 6f 75 6e 64 20 62 79 20 65 76 |r is found by ev| 00000c80 61 6c 75 61 74 69 6e 67 20 74 68 65 20 66 69 72 |aluating the fir| 00000c90 73 74 0a 20 20 20 74 65 78 74 75 61 6c 20 6e 75 |st. textual nu| 00000ca0 6d 62 65 72 20 66 6f 75 6e 64 20 69 6e 20 61 20 |mber found in a | 00000cb0 66 69 6c 65 2e 0a 0a 4d 41 4b 45 44 49 52 20 3c |file...MAKEDIR <| 00000cc0 64 69 72 6e 61 6d 65 3e 0a 20 2d 20 63 72 65 61 |dirname>. - crea| 00000cd0 74 65 73 20 61 20 64 69 72 65 63 74 6f 72 79 20 |tes a directory | 00000ce0 63 61 6c 6c 65 64 20 3c 64 69 72 6e 61 6d 65 3e |called <dirname>| 00000cf0 20 69 6e 73 69 64 65 20 74 68 65 20 61 70 70 6c | inside the appl| 00000d00 69 63 61 74 69 6f 6e 20 62 65 69 6e 67 0a 20 20 |ication being. | 00000d10 20 75 70 67 72 61 64 65 64 2e 0a 20 20 20 0a 51 | upgraded.. .Q| 00000d20 55 49 54 0a 20 2d 20 74 65 72 6d 69 6e 61 74 65 |UIT. - terminate| 00000d30 73 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 74 |s execution of t| 00000d40 68 65 20 73 63 72 69 70 74 2c 20 62 75 74 20 64 |he script, but d| 00000d50 6f 65 73 6e 27 74 20 72 65 70 6f 72 74 20 61 6e |oesn't report an| 00000d60 20 65 72 72 6f 72 2e 0a 20 0a 52 45 4d 4f 56 45 | error.. .REMOVE| 00000d70 20 3c 66 69 6c 65 6e 61 6d 65 3e 0a 20 2d 20 72 | <filename>. - r| 00000d80 65 6d 6f 76 65 73 20 28 64 65 6c 65 74 65 73 29 |emoves (deletes)| 00000d90 20 74 68 65 20 66 69 6c 65 20 3c 66 69 6c 65 6e | the file <filen| 00000da0 61 6d 65 3e 20 69 6e 73 69 64 65 20 74 68 65 20 |ame> inside the | 00000db0 64 69 72 65 63 74 6f 72 79 20 6f 66 20 74 68 65 |directory of the| 00000dc0 0a 20 20 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 |. application | 00000dd0 62 65 69 6e 67 20 75 70 67 72 61 64 65 64 2e 20 |being upgraded. | 00000de0 4e 6f 20 65 72 72 6f 72 20 69 73 20 72 65 70 6f |No error is repo| 00000df0 72 74 65 64 20 69 73 20 74 68 65 20 66 69 6c 65 |rted is the file| 00000e00 20 64 6f 65 73 6e 27 74 0a 20 20 20 65 78 69 73 | doesn't. exis| 00000e10 74 73 2e 0a 20 2d 20 74 68 69 73 20 69 6e 73 74 |ts.. - this inst| 00000e20 72 75 63 74 69 6f 6e 20 77 69 6c 6c 20 61 6c 73 |ruction will als| 00000e30 6f 20 64 65 6c 65 74 65 20 61 20 64 69 72 65 63 |o delete a direc| 00000e40 74 6f 72 79 20 61 6e 64 20 69 74 27 73 20 63 6f |tory and it's co| 00000e50 6e 74 65 6e 74 73 2e 0a 20 20 20 0a 52 45 4e 41 |ntents.. .RENA| 00000e60 4d 45 20 3c 6f 6c 64 6e 61 6d 65 3e 20 3c 6e 65 |ME <oldname> <ne| 00000e70 77 6e 61 6d 65 3e 0a 20 2d 20 72 65 6e 61 6d 65 |wname>. - rename| 00000e80 73 20 61 20 66 69 6c 65 20 6f 72 20 64 69 72 65 |s a file or dire| 00000e90 63 74 6f 72 79 20 69 6e 20 74 68 65 20 64 69 72 |ctory in the dir| 00000ea0 65 63 74 6f 72 79 20 6f 66 20 74 68 65 20 61 70 |ectory of the ap| 00000eb0 70 6c 69 63 61 74 69 6f 6e 20 74 68 61 74 0a 20 |plication that. | 00000ec0 20 20 69 73 20 62 65 69 6e 67 20 75 70 67 72 61 | is being upgra| 00000ed0 64 65 64 2e 0a 0a 52 45 50 4f 52 54 20 3c 6d 65 |ded...REPORT <me| 00000ee0 73 73 3e 0a 20 2d 20 66 69 6e 69 73 68 65 73 20 |ss>. - finishes | 00000ef0 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 74 68 65 |execution of the| 00000f00 20 73 63 72 69 70 74 20 61 6e 64 20 64 69 73 70 | script and disp| 00000f10 6c 61 79 73 20 74 68 65 20 3c 6d 65 73 73 3e 0a |lays the <mess>.| 00000f20 20 20 20 28 6d 6f 72 65 20 66 69 65 6e 64 6c 79 | (more fiendly| 00000f30 20 74 68 61 6e 20 45 52 52 4f 52 29 2e 0a 20 0a | than ERROR).. .| 00000f40 20 20 20 | | 00000f43