home *** CD-ROM | disk | FTP | other *** search
- TEXTCOM
-
- Thi≤ utilit∙ prograφ i≤ fo≥ comparinτ tw∩ tex⌠ files« Thσ differences¼ ì
- iµ any¼ caε bσ displayeΣ oε thσ console¼ listeΣ oε thσ printer¼ o≥ placeΣ iε ì
- ßá thirΣ file¼á ß repor⌠ file«á Usuall∙ thσ tw∩ file≤ t∩ bσ compareΣ arσ aε ì
- origina∞á versioεá oµá ß tex⌠ (ß prograφ source¼á documen⌠ etc⌐á anΣá ßá ne≈ ì
- versioε whicΦ ha≤ beeε formeΣ froφ thσ origina∞ b∙ inserting¼á deletinτá anΣ ì
- changing lines.
-
- Thσ comparison≤ arσ no⌠ strictl∙ mechanical¼á bu⌠ arσ morσ likσ ß humaε ì
- comparison«á Wheεá ß differencσ i≤ encountered¼á thσ file≤ arσ searcheΣ fo≥ ì
- anothe≥á se⌠ oµ matchinτ lines¼á t∩ brinτ thσ comparisoε proces≤á bacδá int∩ ì
- synchronism«á Fo≥ example¼á iµ thσ tw∩ file≤ arσ thσ same¼á excep⌠ tha⌠ onσ ì
- ha≤ aε extrß line¼á onl∙ tha⌠ linσ wil∞ bσ printeΣ a≤ ß difference« Textcoφ ì
- wil∞á theε movσ pas⌠ thσ differencσ anΣ discove≥ tha⌠ thσ res⌠ oµ thσá text≤ ì
- match.
-
- Onσ oµ thσ option≤ whicΦ caε bσ se⌠ usinτ Textcoφ determine≤ thσ numbe≥ ì
- oµá line≤á oµá tex⌠ froφ thσ tw∩ file≤ whicΦ mus⌠ matcΦ exactl∙á beforσá thσ ì
- prograφá decide≤á tha⌠á i⌠á ha≤ manageΣ t∩ brinτ thσá tw∩á file≤á bacδá int∩ ì
- synchronism«á Thσá defaul⌠á numbe≥á oµ line≤ i≤ 3¼á anΣ thi≤á seem≤á t∩á bσ ì
- suitable for most text comparisons.
-
- The program is begun with the command:
-
- TEXTCOM oldfile newfile options
-
- wherσ 'oldfileº anΣ 'newfileº arσ thσ name≤ oµ thσ file≤ t∩ bσ compared¼ anΣ ì
- 'optionsº i≤ ß se⌠ oµ option≤ takeε froφ thσ lis⌠ below«á Iµ n∩ option≤ arσ ì
- needed¼á thσ filename≤ themselve≤ wil∞ sufficσ oε thσ commanΣ line«á Iµá n∩ ì
- filσá name≤ no≥ option≤ arσ specified¼á anΣ jus⌠ thσ namσ TEXTCO═ i≤á given¼ ì
- thσ prograφ display≤ ß summar∙ descriptioε oµ it≤ usσ anΣ thσ meaninτ oµ thσ ì
- options.
-
- Thesσ option≤ ma∙ bσ placeΣ oε thσ commanΣ line¼á afte≥ thσ name≤ oµ thσ tw∩ ì
- file≤ t∩ compare:
-
- -Sá thσ numbe≥ oµ line≤ whicΦ mus⌠ matcΦ t∩ re-establisΦá synchronism« ì
- ááááááááááThi≤á optioεá shoulΣ bσ immediatel∙ followeΣ b∙ ß numbe≥á (withou⌠ ì
- ááááááááááany intervening spaces)
- eg -S2
- T∩ perforφ ß stric⌠ comparison¼á linσ b∙ line¼ witΦ n∩ attemp⌠ t∩ ì
- ááááááááááre-establish synchronism, use either
- -S0 or -S
- (Default: 3)
-
- -L list any differences on the printer as well as on the screen
-
- -R senΣá thσ lis⌠ oµ difference≤ t∩ ß repor⌠ file«á Thσá difference≤ ì
- ááááááááááarσá no⌠á displayeΣá oεá thσá console«á -╥á mus⌠á bσá immediatel∙ ì
- ááááááááááfollowed¼á withou⌠ an∙ interveninτ spaces¼ b∙ ß filename¼ thσ namσ ì
- ááááááááááof the file into which the report will be written.
- eg -Rdiffs
- -╥á anΣá -╠á ma∙ bσ useΣ iε combinatioε t∩á senΣá thσá difference≤ ì
- ááááááááááreport to both the printer and to a file (but not to the console).è
- -F thi≤á optioε mus⌠ bσ followeΣ b∙ ß number¼á thσ linσá numbe≥á froφ ì
- ááááááááááwhicΦá t∩ star⌠ displayinτ differences«á Thσ optioε onl∙ control≤ ì
- ááááááááááthσá outpu⌠á oµ differences╗á thσ file≤ arσ alway≤á compareΣá froφ ì
- áááááááááátheir first lines.
- eg -F112
-
- -Tá thi≤á optioεá mus⌠ als∩ bσ followeΣ b∙ ß number«á Wheε thi≤á linσ ì
- áááááááááánumbe≥ is reached in both files, the comparisons will stop.
- eg -T123
-
- -P normall∙á TEXTCO═ ignore≤ thσ parit∙ bi⌠ wheε comparinτ thσá file≤ ì
- áááááááááá(thu≤ makinτ i⌠ compatiblσ with¼á fo≥ instance¼ WordSta≥ generateΣ ì
- áááááááááátex⌠ files)« Settinτ thi≤ optioε cause≤ thσ comparisoε t∩ includσ ì
- ááááááááááthe parity bit.
-
- textcom.doc
- February 1983
-
- G. Nigel Gilbert
- MICROLOGY
- 4 Deanery Road,
- Godalming
- Surrey GU7 2PQ
- England.