home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 6d 6a 64 40 | 73 61 75 6c 2e 63 69 73 |om: mjd@|saul.cis|
|00000030| 2e 75 70 65 6e 6e 2e 65 | 64 75 20 28 4d 61 72 6b |.upenn.e|du (Mark|
|00000040| 2d 4a 61 73 6f 6e 20 44 | 6f 6d 69 6e 75 73 29 0a |-Jason D|ominus).|
|00000050| 53 75 62 6a 65 63 74 3a | 20 76 32 35 69 31 33 36 |Subject:| v25i136|
|00000060| 3a 20 63 6c 61 73 73 69 | 66 79 20 2d 20 63 6f 6d |: classi|fy - com|
|00000070| 70 61 72 65 20 67 72 6f | 75 70 73 20 6f 66 20 66 |pare gro|ups of f|
|00000080| 69 6c 65 73 20 61 6e 64 | 20 63 6c 61 73 73 69 66 |iles and| classif|
|00000090| 79 20 74 68 65 6d 0a 53 | 65 6e 64 65 72 3a 20 75 |y them.S|ender: u|
|000000a0| 6e 69 78 2d 73 6f 75 72 | 63 65 73 2d 6d 6f 64 65 |nix-sour|ces-mode|
|000000b0| 72 61 74 6f 72 40 70 61 | 2e 64 65 63 2e 63 6f 6d |rator@pa|.dec.com|
|000000c0| 0a 41 70 70 72 6f 76 65 | 64 3a 20 76 69 78 69 65 |.Approve|d: vixie|
|000000d0| 40 70 61 2e 64 65 63 2e | 63 6f 6d 0a 0a 53 75 62 |@pa.dec.|com..Sub|
|000000e0| 6d 69 74 74 65 64 2d 42 | 79 3a 20 6d 6a 64 40 73 |mitted-B|y: mjd@s|
|000000f0| 61 75 6c 2e 63 69 73 2e | 75 70 65 6e 6e 2e 65 64 |aul.cis.|upenn.ed|
|00000100| 75 20 28 4d 61 72 6b 2d | 4a 61 73 6f 6e 20 44 6f |u (Mark-|Jason Do|
|00000110| 6d 69 6e 75 73 29 0a 50 | 6f 73 74 69 6e 67 2d 4e |minus).P|osting-N|
|00000120| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 32 35 |umber: V|olume 25|
|00000130| 2c 20 49 73 73 75 65 20 | 31 33 36 0a 41 72 63 68 |, Issue |136.Arch|
|00000140| 69 76 65 2d 4e 61 6d 65 | 3a 20 63 6c 61 73 73 69 |ive-Name|: classi|
|00000150| 66 79 0a 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 23 |fy..#! /|bin/sh.#|
|00000160| 20 54 68 69 73 20 69 73 | 20 61 20 73 68 65 6c 6c | This is| a shell|
|00000170| 20 61 72 63 68 69 76 65 | 2e 20 20 52 65 6d 6f 76 | archive|. Remov|
|00000180| 65 20 61 6e 79 74 68 69 | 6e 67 20 62 65 66 6f 72 |e anythi|ng befor|
|00000190| 65 20 74 68 69 73 20 6c | 69 6e 65 2c 20 74 68 65 |e this l|ine, the|
|000001a0| 6e 20 75 6e 70 61 63 6b | 0a 23 20 69 74 20 62 79 |n unpack|.# it by|
|000001b0| 20 73 61 76 69 6e 67 20 | 69 74 20 69 6e 74 6f 20 | saving |it into |
|000001c0| 61 20 66 69 6c 65 20 61 | 6e 64 20 74 79 70 69 6e |a file a|nd typin|
|000001d0| 67 20 22 73 68 20 66 69 | 6c 65 22 2e 20 20 54 6f |g "sh fi|le". To|
|000001e0| 20 6f 76 65 72 77 72 69 | 74 65 20 65 78 69 73 74 | overwri|te exist|
|000001f0| 69 6e 67 0a 23 20 66 69 | 6c 65 73 2c 20 74 79 70 |ing.# fi|les, typ|
|00000200| 65 20 22 73 68 20 66 69 | 6c 65 20 2d 63 22 2e 20 |e "sh fi|le -c". |
|00000210| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 66 65 | You can| also fe|
|00000220| 65 64 20 74 68 69 73 20 | 61 73 20 73 74 61 6e 64 |ed this |as stand|
|00000230| 61 72 64 20 69 6e 70 75 | 74 20 76 69 61 0a 23 20 |ard inpu|t via.# |
|00000240| 75 6e 73 68 61 72 2c 20 | 6f 72 20 62 79 20 74 79 |unshar, |or by ty|
|00000250| 70 69 6e 67 20 22 73 68 | 20 3c 66 69 6c 65 22 2c |ping "sh| <file",|
|00000260| 20 65 2e 67 2e 2e 20 20 | 49 66 20 74 68 69 73 20 | e.g.. |If this |
|00000270| 61 72 63 68 69 76 65 20 | 69 73 20 63 6f 6d 70 6c |archive |is compl|
|00000280| 65 74 65 2c 20 79 6f 75 | 0a 23 20 77 69 6c 6c 20 |ete, you|.# will |
|00000290| 73 65 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |see the |followin|
|000002a0| 67 20 6d 65 73 73 61 67 | 65 20 61 74 20 74 68 65 |g messag|e at the|
|000002b0| 20 65 6e 64 3a 0a 23 09 | 09 22 45 6e 64 20 6f 66 | end:.#.|."End of|
|000002c0| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2e 22 | shell a|rchive."|
|000002d0| 0a 23 20 43 6f 6e 74 65 | 6e 74 73 3a 20 20 43 4f |.# Conte|nts: CO|
|000002e0| 50 59 49 4e 47 20 4d 61 | 6b 65 66 69 6c 65 20 52 |PYING Ma|kefile R|
|000002f0| 45 41 44 4d 45 20 63 6c | 61 73 73 69 66 79 2e 31 |EADME cl|assify.1|
|00000300| 20 63 6c 61 73 73 69 66 | 79 2e 63 20 74 65 73 74 | classif|y.c test|
|00000310| 30 20 74 65 73 74 31 0a | 23 20 20 20 74 65 73 74 |0 test1.|# test|
|00000320| 32 20 74 65 73 74 33 20 | 74 65 73 74 34 0a 23 20 |2 test3 |test4.# |
|00000330| 57 72 61 70 70 65 64 20 | 62 79 20 76 69 78 69 65 |Wrapped |by vixie|
|00000340| 40 63 6f 67 6e 69 74 69 | 6f 6e 2e 70 61 2e 64 65 |@cogniti|on.pa.de|
|00000350| 63 2e 63 6f 6d 20 6f 6e | 20 53 61 74 20 46 65 62 |c.com on| Sat Feb|
|00000360| 20 32 39 20 32 30 3a 31 | 39 3a 31 34 20 31 39 39 | 29 20:1|9:14 199|
|00000370| 32 0a 50 41 54 48 3d 2f | 62 69 6e 3a 2f 75 73 72 |2.PATH=/|bin:/usr|
|00000380| 2f 62 69 6e 3a 2f 75 73 | 72 2f 75 63 62 20 3b 20 |/bin:/us|r/ucb ; |
|00000390| 65 78 70 6f 72 74 20 50 | 41 54 48 0a 69 66 20 74 |export P|ATH.if t|
|000003a0| 65 73 74 20 2d 66 20 27 | 43 4f 50 59 49 4e 47 27 |est -f '|COPYING'|
|000003b0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|000003c0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|000003d0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|000003e0| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|000003f0| 67 20 66 69 6c 65 20 5c | 22 27 43 4f 50 59 49 4e |g file \|"'COPYIN|
|00000400| 47 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |G'\".els|e.echo s|
|00000410| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000420| 5c 22 27 43 4f 50 59 49 | 4e 47 27 5c 22 20 5c 28 |\"'COPYI|NG'\" \(|
|00000430| 31 32 34 38 38 20 63 68 | 61 72 61 63 74 65 72 73 |12488 ch|aracters|
|00000440| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00000450| 3e 27 43 4f 50 59 49 4e | 47 27 20 3c 3c 27 45 4e |>'COPYIN|G' <<'EN|
|00000460| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 0a 58 09 09 |D_OF_FIL|E'.X.X..|
|00000470| 20 20 20 20 47 4e 55 20 | 47 45 4e 45 52 41 4c 20 | GNU |GENERAL |
|00000480| 50 55 42 4c 49 43 20 4c | 49 43 45 4e 53 45 0a 58 |PUBLIC L|ICENSE.X|
|00000490| 09 09 20 20 20 20 20 56 | 65 72 73 69 6f 6e 20 31 |.. V|ersion 1|
|000004a0| 2c 20 46 65 62 72 75 61 | 72 79 20 31 39 38 39 0a |, Februa|ry 1989.|
|000004b0| 58 0a 58 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 |X.X Copy|right (C|
|000004c0| 29 20 31 39 38 39 20 46 | 72 65 65 20 53 6f 66 74 |) 1989 F|ree Soft|
|000004d0| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |ware Fou|ndation,|
|000004e0| 20 49 6e 63 2e 0a 58 20 | 20 20 20 20 20 20 20 20 | Inc..X | |
|000004f0| 20 20 20 20 20 20 20 20 | 20 20 20 36 37 35 20 4d | | 675 M|
|00000500| 61 73 73 20 41 76 65 2c | 20 43 61 6d 62 72 69 64 |ass Ave,| Cambrid|
|00000510| 67 65 2c 20 4d 41 20 30 | 32 31 33 39 2c 20 55 53 |ge, MA 0|2139, US|
|00000520| 41 0a 58 20 45 76 65 72 | 79 6f 6e 65 20 69 73 20 |A.X Ever|yone is |
|00000530| 70 65 72 6d 69 74 74 65 | 64 20 74 6f 20 63 6f 70 |permitte|d to cop|
|00000540| 79 20 61 6e 64 20 64 69 | 73 74 72 69 62 75 74 65 |y and di|stribute|
|00000550| 20 76 65 72 62 61 74 69 | 6d 20 63 6f 70 69 65 73 | verbati|m copies|
|00000560| 0a 58 20 6f 66 20 74 68 | 69 73 20 6c 69 63 65 6e |.X of th|is licen|
|00000570| 73 65 20 64 6f 63 75 6d | 65 6e 74 2c 20 62 75 74 |se docum|ent, but|
|00000580| 20 63 68 61 6e 67 69 6e | 67 20 69 74 20 69 73 20 | changin|g it is |
|00000590| 6e 6f 74 20 61 6c 6c 6f | 77 65 64 2e 0a 58 0a 58 |not allo|wed..X.X|
|000005a0| 09 09 09 20 20 20 20 50 | 72 65 61 6d 62 6c 65 0a |... P|reamble.|
|000005b0| 58 0a 58 20 20 54 68 65 | 20 6c 69 63 65 6e 73 65 |X.X The| license|
|000005c0| 20 61 67 72 65 65 6d 65 | 6e 74 73 20 6f 66 20 6d | agreeme|nts of m|
|000005d0| 6f 73 74 20 73 6f 66 74 | 77 61 72 65 20 63 6f 6d |ost soft|ware com|
|000005e0| 70 61 6e 69 65 73 20 74 | 72 79 20 74 6f 20 6b 65 |panies t|ry to ke|
|000005f0| 65 70 20 75 73 65 72 73 | 0a 61 74 20 74 68 65 20 |ep users|.at the |
|00000600| 6d 65 72 63 79 20 6f 66 | 20 74 68 6f 73 65 20 63 |mercy of| those c|
|00000610| 6f 6d 70 61 6e 69 65 73 | 2e 20 20 42 79 20 63 6f |ompanies|. By co|
|00000620| 6e 74 72 61 73 74 2c 20 | 6f 75 72 20 47 65 6e 65 |ntrast, |our Gene|
|00000630| 72 61 6c 20 50 75 62 6c | 69 63 0a 4c 69 63 65 6e |ral Publ|ic.Licen|
|00000640| 73 65 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 74 |se is in|tended t|
|00000650| 6f 20 67 75 61 72 61 6e | 74 65 65 20 79 6f 75 72 |o guaran|tee your|
|00000660| 20 66 72 65 65 64 6f 6d | 20 74 6f 20 73 68 61 72 | freedom| to shar|
|00000670| 65 20 61 6e 64 20 63 68 | 61 6e 67 65 20 66 72 65 |e and ch|ange fre|
|00000680| 65 0a 73 6f 66 74 77 61 | 72 65 2d 2d 74 6f 20 6d |e.softwa|re--to m|
|00000690| 61 6b 65 20 73 75 72 65 | 20 74 68 65 20 73 6f 66 |ake sure| the sof|
|000006a0| 74 77 61 72 65 20 69 73 | 20 66 72 65 65 20 66 6f |tware is| free fo|
|000006b0| 72 20 61 6c 6c 20 69 74 | 73 20 75 73 65 72 73 2e |r all it|s users.|
|000006c0| 20 20 54 68 65 0a 47 65 | 6e 65 72 61 6c 20 50 75 | The.Ge|neral Pu|
|000006d0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 61 70 70 |blic Lic|ense app|
|000006e0| 6c 69 65 73 20 74 6f 20 | 74 68 65 20 46 72 65 65 |lies to |the Free|
|000006f0| 20 53 6f 66 74 77 61 72 | 65 20 46 6f 75 6e 64 61 | Softwar|e Founda|
|00000700| 74 69 6f 6e 27 73 0a 73 | 6f 66 74 77 61 72 65 20 |tion's.s|oftware |
|00000710| 61 6e 64 20 74 6f 20 61 | 6e 79 20 6f 74 68 65 72 |and to a|ny other|
|00000720| 20 70 72 6f 67 72 61 6d | 20 77 68 6f 73 65 20 61 | program| whose a|
|00000730| 75 74 68 6f 72 73 20 63 | 6f 6d 6d 69 74 20 74 6f |uthors c|ommit to|
|00000740| 20 75 73 69 6e 67 20 69 | 74 2e 0a 59 6f 75 20 63 | using i|t..You c|
|00000750| 61 6e 20 75 73 65 20 69 | 74 20 66 6f 72 20 79 6f |an use i|t for yo|
|00000760| 75 72 20 70 72 6f 67 72 | 61 6d 73 2c 20 74 6f 6f |ur progr|ams, too|
|00000770| 2e 0a 58 0a 58 20 20 57 | 68 65 6e 20 77 65 20 73 |..X.X W|hen we s|
|00000780| 70 65 61 6b 20 6f 66 20 | 66 72 65 65 20 73 6f 66 |peak of |free sof|
|00000790| 74 77 61 72 65 2c 20 77 | 65 20 61 72 65 20 72 65 |tware, w|e are re|
|000007a0| 66 65 72 72 69 6e 67 20 | 74 6f 20 66 72 65 65 64 |ferring |to freed|
|000007b0| 6f 6d 2c 20 6e 6f 74 0a | 70 72 69 63 65 2e 20 20 |om, not.|price. |
|000007c0| 53 70 65 63 69 66 69 63 | 61 6c 6c 79 2c 20 74 68 |Specific|ally, th|
|000007d0| 65 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |e Genera|l Public|
|000007e0| 20 4c 69 63 65 6e 73 65 | 20 69 73 20 64 65 73 69 | License| is desi|
|000007f0| 67 6e 65 64 20 74 6f 20 | 6d 61 6b 65 0a 73 75 72 |gned to |make.sur|
|00000800| 65 20 74 68 61 74 20 79 | 6f 75 20 68 61 76 65 20 |e that y|ou have |
|00000810| 74 68 65 20 66 72 65 65 | 64 6f 6d 20 74 6f 20 67 |the free|dom to g|
|00000820| 69 76 65 20 61 77 61 79 | 20 6f 72 20 73 65 6c 6c |ive away| or sell|
|00000830| 20 63 6f 70 69 65 73 20 | 6f 66 20 66 72 65 65 0a | copies |of free.|
|00000840| 73 6f 66 74 77 61 72 65 | 2c 20 74 68 61 74 20 79 |software|, that y|
|00000850| 6f 75 20 72 65 63 65 69 | 76 65 20 73 6f 75 72 63 |ou recei|ve sourc|
|00000860| 65 20 63 6f 64 65 20 6f | 72 20 63 61 6e 20 67 65 |e code o|r can ge|
|00000870| 74 20 69 74 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |t it if |you want|
|00000880| 20 69 74 2c 0a 74 68 61 | 74 20 79 6f 75 20 63 61 | it,.tha|t you ca|
|00000890| 6e 20 63 68 61 6e 67 65 | 20 74 68 65 20 73 6f 66 |n change| the sof|
|000008a0| 74 77 61 72 65 20 6f 72 | 20 75 73 65 20 70 69 65 |tware or| use pie|
|000008b0| 63 65 73 20 6f 66 20 69 | 74 20 69 6e 20 6e 65 77 |ces of i|t in new|
|000008c0| 20 66 72 65 65 0a 70 72 | 6f 67 72 61 6d 73 3b 20 | free.pr|ograms; |
|000008d0| 61 6e 64 20 74 68 61 74 | 20 79 6f 75 20 6b 6e 6f |and that| you kno|
|000008e0| 77 20 79 6f 75 20 63 61 | 6e 20 64 6f 20 74 68 65 |w you ca|n do the|
|000008f0| 73 65 20 74 68 69 6e 67 | 73 2e 0a 58 0a 58 20 20 |se thing|s..X.X |
|00000900| 54 6f 20 70 72 6f 74 65 | 63 74 20 79 6f 75 72 20 |To prote|ct your |
|00000910| 72 69 67 68 74 73 2c 20 | 77 65 20 6e 65 65 64 20 |rights, |we need |
|00000920| 74 6f 20 6d 61 6b 65 20 | 72 65 73 74 72 69 63 74 |to make |restrict|
|00000930| 69 6f 6e 73 20 74 68 61 | 74 20 66 6f 72 62 69 64 |ions tha|t forbid|
|00000940| 0a 61 6e 79 6f 6e 65 20 | 74 6f 20 64 65 6e 79 20 |.anyone |to deny |
|00000950| 79 6f 75 20 74 68 65 73 | 65 20 72 69 67 68 74 73 |you thes|e rights|
|00000960| 20 6f 72 20 74 6f 20 61 | 73 6b 20 79 6f 75 20 74 | or to a|sk you t|
|00000970| 6f 20 73 75 72 72 65 6e | 64 65 72 20 74 68 65 20 |o surren|der the |
|00000980| 72 69 67 68 74 73 2e 0a | 54 68 65 73 65 20 72 65 |rights..|These re|
|00000990| 73 74 72 69 63 74 69 6f | 6e 73 20 74 72 61 6e 73 |strictio|ns trans|
|000009a0| 6c 61 74 65 20 74 6f 20 | 63 65 72 74 61 69 6e 20 |late to |certain |
|000009b0| 72 65 73 70 6f 6e 73 69 | 62 69 6c 69 74 69 65 73 |responsi|bilities|
|000009c0| 20 66 6f 72 20 79 6f 75 | 20 69 66 20 79 6f 75 0a | for you| if you.|
|000009d0| 64 69 73 74 72 69 62 75 | 74 65 20 63 6f 70 69 65 |distribu|te copie|
|000009e0| 73 20 6f 66 20 74 68 65 | 20 73 6f 66 74 77 61 72 |s of the| softwar|
|000009f0| 65 2c 20 6f 72 20 69 66 | 20 79 6f 75 20 6d 6f 64 |e, or if| you mod|
|00000a00| 69 66 79 20 69 74 2e 0a | 58 0a 58 20 20 46 6f 72 |ify it..|X.X For|
|00000a10| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 20 79 6f 75 | example|, if you|
|00000a20| 20 64 69 73 74 72 69 62 | 75 74 65 20 63 6f 70 69 | distrib|ute copi|
|00000a30| 65 73 20 6f 66 20 61 20 | 73 75 63 68 20 61 20 70 |es of a |such a p|
|00000a40| 72 6f 67 72 61 6d 2c 20 | 77 68 65 74 68 65 72 0a |rogram, |whether.|
|00000a50| 67 72 61 74 69 73 20 6f | 72 20 66 6f 72 20 61 20 |gratis o|r for a |
|00000a60| 66 65 65 2c 20 79 6f 75 | 20 6d 75 73 74 20 67 69 |fee, you| must gi|
|00000a70| 76 65 20 74 68 65 20 72 | 65 63 69 70 69 65 6e 74 |ve the r|ecipient|
|00000a80| 73 20 61 6c 6c 20 74 68 | 65 20 72 69 67 68 74 73 |s all th|e rights|
|00000a90| 20 74 68 61 74 0a 79 6f | 75 20 68 61 76 65 2e 20 | that.yo|u have. |
|00000aa0| 20 59 6f 75 20 6d 75 73 | 74 20 6d 61 6b 65 20 73 | You mus|t make s|
|00000ab0| 75 72 65 20 74 68 61 74 | 20 74 68 65 79 2c 20 74 |ure that| they, t|
|00000ac0| 6f 6f 2c 20 72 65 63 65 | 69 76 65 20 6f 72 20 63 |oo, rece|ive or c|
|00000ad0| 61 6e 20 67 65 74 20 74 | 68 65 0a 73 6f 75 72 63 |an get t|he.sourc|
|00000ae0| 65 20 63 6f 64 65 2e 20 | 20 41 6e 64 20 79 6f 75 |e code. | And you|
|00000af0| 20 6d 75 73 74 20 74 65 | 6c 6c 20 74 68 65 6d 20 | must te|ll them |
|00000b00| 74 68 65 69 72 20 72 69 | 67 68 74 73 2e 0a 58 0a |their ri|ghts..X.|
|00000b10| 58 20 20 57 65 20 70 72 | 6f 74 65 63 74 20 79 6f |X We pr|otect yo|
|00000b20| 75 72 20 72 69 67 68 74 | 73 20 77 69 74 68 20 74 |ur right|s with t|
|00000b30| 77 6f 20 73 74 65 70 73 | 3a 20 28 31 29 20 63 6f |wo steps|: (1) co|
|00000b40| 70 79 72 69 67 68 74 20 | 74 68 65 20 73 6f 66 74 |pyright |the soft|
|00000b50| 77 61 72 65 2c 20 61 6e | 64 0a 58 28 32 29 20 6f |ware, an|d.X(2) o|
|00000b60| 66 66 65 72 20 79 6f 75 | 20 74 68 69 73 20 6c 69 |ffer you| this li|
|00000b70| 63 65 6e 73 65 20 77 68 | 69 63 68 20 67 69 76 65 |cense wh|ich give|
|00000b80| 73 20 79 6f 75 20 6c 65 | 67 61 6c 20 70 65 72 6d |s you le|gal perm|
|00000b90| 69 73 73 69 6f 6e 20 74 | 6f 20 63 6f 70 79 2c 0a |ission t|o copy,.|
|00000ba0| 64 69 73 74 72 69 62 75 | 74 65 20 61 6e 64 2f 6f |distribu|te and/o|
|00000bb0| 72 20 6d 6f 64 69 66 79 | 20 74 68 65 20 73 6f 66 |r modify| the sof|
|00000bc0| 74 77 61 72 65 2e 0a 58 | 0a 58 20 20 41 6c 73 6f |tware..X|.X Also|
|00000bd0| 2c 20 66 6f 72 20 65 61 | 63 68 20 61 75 74 68 6f |, for ea|ch autho|
|00000be0| 72 27 73 20 70 72 6f 74 | 65 63 74 69 6f 6e 20 61 |r's prot|ection a|
|00000bf0| 6e 64 20 6f 75 72 73 2c | 20 77 65 20 77 61 6e 74 |nd ours,| we want|
|00000c00| 20 74 6f 20 6d 61 6b 65 | 20 63 65 72 74 61 69 6e | to make| certain|
|00000c10| 0a 74 68 61 74 20 65 76 | 65 72 79 6f 6e 65 20 75 |.that ev|eryone u|
|00000c20| 6e 64 65 72 73 74 61 6e | 64 73 20 74 68 61 74 20 |nderstan|ds that |
|00000c30| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 77 61 72 72 |there is| no warr|
|00000c40| 61 6e 74 79 20 66 6f 72 | 20 74 68 69 73 20 66 72 |anty for| this fr|
|00000c50| 65 65 0a 73 6f 66 74 77 | 61 72 65 2e 20 20 49 66 |ee.softw|are. If|
|00000c60| 20 74 68 65 20 73 6f 66 | 74 77 61 72 65 20 69 73 | the sof|tware is|
|00000c70| 20 6d 6f 64 69 66 69 65 | 64 20 62 79 20 73 6f 6d | modifie|d by som|
|00000c80| 65 6f 6e 65 20 65 6c 73 | 65 20 61 6e 64 20 70 61 |eone els|e and pa|
|00000c90| 73 73 65 64 20 6f 6e 2c | 20 77 65 0a 77 61 6e 74 |ssed on,| we.want|
|00000ca0| 20 69 74 73 20 72 65 63 | 69 70 69 65 6e 74 73 20 | its rec|ipients |
|00000cb0| 74 6f 20 6b 6e 6f 77 20 | 74 68 61 74 20 77 68 61 |to know |that wha|
|00000cc0| 74 20 74 68 65 79 20 68 | 61 76 65 20 69 73 20 6e |t they h|ave is n|
|00000cd0| 6f 74 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 2c |ot the o|riginal,|
|00000ce0| 20 73 6f 0a 74 68 61 74 | 20 61 6e 79 20 70 72 6f | so.that| any pro|
|00000cf0| 62 6c 65 6d 73 20 69 6e | 74 72 6f 64 75 63 65 64 |blems in|troduced|
|00000d00| 20 62 79 20 6f 74 68 65 | 72 73 20 77 69 6c 6c 20 | by othe|rs will |
|00000d10| 6e 6f 74 20 72 65 66 6c | 65 63 74 20 6f 6e 20 74 |not refl|ect on t|
|00000d20| 68 65 20 6f 72 69 67 69 | 6e 61 6c 0a 61 75 74 68 |he origi|nal.auth|
|00000d30| 6f 72 73 27 20 72 65 70 | 75 74 61 74 69 6f 6e 73 |ors' rep|utations|
|00000d40| 2e 0a 58 0a 58 20 20 54 | 68 65 20 70 72 65 63 69 |..X.X T|he preci|
|00000d50| 73 65 20 74 65 72 6d 73 | 20 61 6e 64 20 63 6f 6e |se terms| and con|
|00000d60| 64 69 74 69 6f 6e 73 20 | 66 6f 72 20 63 6f 70 79 |ditions |for copy|
|00000d70| 69 6e 67 2c 20 64 69 73 | 74 72 69 62 75 74 69 6f |ing, dis|tributio|
|00000d80| 6e 20 61 6e 64 0a 6d 6f | 64 69 66 69 63 61 74 69 |n and.mo|dificati|
|00000d90| 6f 6e 20 66 6f 6c 6c 6f | 77 2e 0a 58 0c 0a 58 09 |on follo|w..X..X.|
|00000da0| 09 20 20 20 20 47 4e 55 | 20 47 45 4e 45 52 41 4c |. GNU| GENERAL|
|00000db0| 20 50 55 42 4c 49 43 20 | 4c 49 43 45 4e 53 45 0a | PUBLIC |LICENSE.|
|00000dc0| 58 20 20 20 54 45 52 4d | 53 20 41 4e 44 20 43 4f |X TERM|S AND CO|
|00000dd0| 4e 44 49 54 49 4f 4e 53 | 20 46 4f 52 20 43 4f 50 |NDITIONS| FOR COP|
|00000de0| 59 49 4e 47 2c 20 44 49 | 53 54 52 49 42 55 54 49 |YING, DI|STRIBUTI|
|00000df0| 4f 4e 20 41 4e 44 20 4d | 4f 44 49 46 49 43 41 54 |ON AND M|ODIFICAT|
|00000e00| 49 4f 4e 0a 58 0a 58 20 | 20 30 2e 20 54 68 69 73 |ION.X.X | 0. This|
|00000e10| 20 4c 69 63 65 6e 73 65 | 20 41 67 72 65 65 6d 65 | License| Agreeme|
|00000e20| 6e 74 20 61 70 70 6c 69 | 65 73 20 74 6f 20 61 6e |nt appli|es to an|
|00000e30| 79 20 70 72 6f 67 72 61 | 6d 20 6f 72 20 6f 74 68 |y progra|m or oth|
|00000e40| 65 72 20 77 6f 72 6b 20 | 77 68 69 63 68 0a 63 6f |er work |which.co|
|00000e50| 6e 74 61 69 6e 73 20 61 | 20 6e 6f 74 69 63 65 20 |ntains a| notice |
|00000e60| 70 6c 61 63 65 64 20 62 | 79 20 74 68 65 20 63 6f |placed b|y the co|
|00000e70| 70 79 72 69 67 68 74 20 | 68 6f 6c 64 65 72 20 73 |pyright |holder s|
|00000e80| 61 79 69 6e 67 20 69 74 | 20 6d 61 79 20 62 65 0a |aying it| may be.|
|00000e90| 64 69 73 74 72 69 62 75 | 74 65 64 20 75 6e 64 65 |distribu|ted unde|
|00000ea0| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000eb0| 68 69 73 20 47 65 6e 65 | 72 61 6c 20 50 75 62 6c |his Gene|ral Publ|
|00000ec0| 69 63 20 4c 69 63 65 6e | 73 65 2e 20 20 54 68 65 |ic Licen|se. The|
|00000ed0| 0a 58 22 50 72 6f 67 72 | 61 6d 22 2c 20 62 65 6c |.X"Progr|am", bel|
|00000ee0| 6f 77 2c 20 72 65 66 65 | 72 73 20 74 6f 20 61 6e |ow, refe|rs to an|
|00000ef0| 79 20 73 75 63 68 20 70 | 72 6f 67 72 61 6d 20 6f |y such p|rogram o|
|00000f00| 72 20 77 6f 72 6b 2c 20 | 61 6e 64 20 61 20 22 77 |r work, |and a "w|
|00000f10| 6f 72 6b 20 62 61 73 65 | 64 0a 6f 6e 20 74 68 65 |ork base|d.on the|
|00000f20| 20 50 72 6f 67 72 61 6d | 22 20 6d 65 61 6e 73 20 | Program|" means |
|00000f30| 65 69 74 68 65 72 20 74 | 68 65 20 50 72 6f 67 72 |either t|he Progr|
|00000f40| 61 6d 20 6f 72 20 61 6e | 79 20 77 6f 72 6b 20 63 |am or an|y work c|
|00000f50| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 0a 50 72 |ontainin|g the.Pr|
|00000f60| 6f 67 72 61 6d 20 6f 72 | 20 61 20 70 6f 72 74 69 |ogram or| a porti|
|00000f70| 6f 6e 20 6f 66 20 69 74 | 2c 20 65 69 74 68 65 72 |on of it|, either|
|00000f80| 20 76 65 72 62 61 74 69 | 6d 20 6f 72 20 77 69 74 | verbati|m or wit|
|00000f90| 68 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 73 2e |h modifi|cations.|
|00000fa0| 20 20 45 61 63 68 0a 6c | 69 63 65 6e 73 65 65 20 | Each.l|icensee |
|00000fb0| 69 73 20 61 64 64 72 65 | 73 73 65 64 20 61 73 20 |is addre|ssed as |
|00000fc0| 22 79 6f 75 22 2e 0a 58 | 0a 58 20 20 31 2e 20 59 |"you"..X|.X 1. Y|
|00000fd0| 6f 75 20 6d 61 79 20 63 | 6f 70 79 20 61 6e 64 20 |ou may c|opy and |
|00000fe0| 64 69 73 74 72 69 62 75 | 74 65 20 76 65 72 62 61 |distribu|te verba|
|00000ff0| 74 69 6d 20 63 6f 70 69 | 65 73 20 6f 66 20 74 68 |tim copi|es of th|
|00001000| 65 20 50 72 6f 67 72 61 | 6d 27 73 20 73 6f 75 72 |e Progra|m's sour|
|00001010| 63 65 0a 63 6f 64 65 20 | 61 73 20 79 6f 75 20 72 |ce.code |as you r|
|00001020| 65 63 65 69 76 65 20 69 | 74 2c 20 69 6e 20 61 6e |eceive i|t, in an|
|00001030| 79 20 6d 65 64 69 75 6d | 2c 20 70 72 6f 76 69 64 |y medium|, provid|
|00001040| 65 64 20 74 68 61 74 20 | 79 6f 75 20 63 6f 6e 73 |ed that |you cons|
|00001050| 70 69 63 75 6f 75 73 6c | 79 20 61 6e 64 0a 61 70 |picuousl|y and.ap|
|00001060| 70 72 6f 70 72 69 61 74 | 65 6c 79 20 70 75 62 6c |propriat|ely publ|
|00001070| 69 73 68 20 6f 6e 20 65 | 61 63 68 20 63 6f 70 79 |ish on e|ach copy|
|00001080| 20 61 6e 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 | an appr|opriate |
|00001090| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|000010a0| 20 61 6e 64 0a 64 69 73 | 63 6c 61 69 6d 65 72 20 | and.dis|claimer |
|000010b0| 6f 66 20 77 61 72 72 61 | 6e 74 79 3b 20 6b 65 65 |of warra|nty; kee|
|000010c0| 70 20 69 6e 74 61 63 74 | 20 61 6c 6c 20 74 68 65 |p intact| all the|
|000010d0| 20 6e 6f 74 69 63 65 73 | 20 74 68 61 74 20 72 65 | notices| that re|
|000010e0| 66 65 72 20 74 6f 20 74 | 68 69 73 0a 47 65 6e 65 |fer to t|his.Gene|
|000010f0| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00001100| 73 65 20 61 6e 64 20 74 | 6f 20 74 68 65 20 61 62 |se and t|o the ab|
|00001110| 73 65 6e 63 65 20 6f 66 | 20 61 6e 79 20 77 61 72 |sence of| any war|
|00001120| 72 61 6e 74 79 3b 20 61 | 6e 64 20 67 69 76 65 20 |ranty; a|nd give |
|00001130| 61 6e 79 0a 6f 74 68 65 | 72 20 72 65 63 69 70 69 |any.othe|r recipi|
|00001140| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 50 72 6f 67 |ents of |the Prog|
|00001150| 72 61 6d 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ram a co|py of th|
|00001160| 69 73 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |is Gener|al Publi|
|00001170| 63 20 4c 69 63 65 6e 73 | 65 0a 61 6c 6f 6e 67 20 |c Licens|e.along |
|00001180| 77 69 74 68 20 74 68 65 | 20 50 72 6f 67 72 61 6d |with the| Program|
|00001190| 2e 20 20 59 6f 75 20 6d | 61 79 20 63 68 61 72 67 |. You m|ay charg|
|000011a0| 65 20 61 20 66 65 65 20 | 66 6f 72 20 74 68 65 20 |e a fee |for the |
|000011b0| 70 68 79 73 69 63 61 6c | 20 61 63 74 20 6f 66 0a |physical| act of.|
|000011c0| 74 72 61 6e 73 66 65 72 | 72 69 6e 67 20 61 20 63 |transfer|ring a c|
|000011d0| 6f 70 79 2e 0a 58 0a 58 | 20 20 32 2e 20 59 6f 75 |opy..X.X| 2. You|
|000011e0| 20 6d 61 79 20 6d 6f 64 | 69 66 79 20 79 6f 75 72 | may mod|ify your|
|000011f0| 20 63 6f 70 79 20 6f 72 | 20 63 6f 70 69 65 73 20 | copy or| copies |
|00001200| 6f 66 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 6f |of the P|rogram o|
|00001210| 72 20 61 6e 79 20 70 6f | 72 74 69 6f 6e 20 6f 66 |r any po|rtion of|
|00001220| 0a 69 74 2c 20 61 6e 64 | 20 63 6f 70 79 20 61 6e |.it, and| copy an|
|00001230| 64 20 64 69 73 74 72 69 | 62 75 74 65 20 73 75 63 |d distri|bute suc|
|00001240| 68 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 73 20 |h modifi|cations |
|00001250| 75 6e 64 65 72 20 74 68 | 65 20 74 65 72 6d 73 20 |under th|e terms |
|00001260| 6f 66 20 50 61 72 61 67 | 72 61 70 68 0a 58 31 20 |of Parag|raph.X1 |
|00001270| 61 62 6f 76 65 2c 20 70 | 72 6f 76 69 64 65 64 20 |above, p|rovided |
|00001280| 74 68 61 74 20 79 6f 75 | 20 61 6c 73 6f 20 64 6f |that you| also do|
|00001290| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 0a | the fol|lowing:.|
|000012a0| 58 0a 58 20 20 20 20 61 | 29 20 63 61 75 73 65 20 |X.X a|) cause |
|000012b0| 74 68 65 20 6d 6f 64 69 | 66 69 65 64 20 66 69 6c |the modi|fied fil|
|000012c0| 65 73 20 74 6f 20 63 61 | 72 72 79 20 70 72 6f 6d |es to ca|rry prom|
|000012d0| 69 6e 65 6e 74 20 6e 6f | 74 69 63 65 73 20 73 74 |inent no|tices st|
|000012e0| 61 74 69 6e 67 20 74 68 | 61 74 0a 58 20 20 20 20 |ating th|at.X |
|000012f0| 79 6f 75 20 63 68 61 6e | 67 65 64 20 74 68 65 20 |you chan|ged the |
|00001300| 66 69 6c 65 73 20 61 6e | 64 20 74 68 65 20 64 61 |files an|d the da|
|00001310| 74 65 20 6f 66 20 61 6e | 79 20 63 68 61 6e 67 65 |te of an|y change|
|00001320| 3b 20 61 6e 64 0a 58 0a | 58 20 20 20 20 62 29 20 |; and.X.|X b) |
|00001330| 63 61 75 73 65 20 74 68 | 65 20 77 68 6f 6c 65 20 |cause th|e whole |
|00001340| 6f 66 20 61 6e 79 20 77 | 6f 72 6b 20 74 68 61 74 |of any w|ork that|
|00001350| 20 79 6f 75 20 64 69 73 | 74 72 69 62 75 74 65 20 | you dis|tribute |
|00001360| 6f 72 20 70 75 62 6c 69 | 73 68 2c 20 74 68 61 74 |or publi|sh, that|
|00001370| 0a 58 20 20 20 20 69 6e | 20 77 68 6f 6c 65 20 6f |.X in| whole o|
|00001380| 72 20 69 6e 20 70 61 72 | 74 20 63 6f 6e 74 61 69 |r in par|t contai|
|00001390| 6e 73 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 6f |ns the P|rogram o|
|000013a0| 72 20 61 6e 79 20 70 61 | 72 74 20 74 68 65 72 65 |r any pa|rt there|
|000013b0| 6f 66 2c 20 65 69 74 68 | 65 72 0a 58 20 20 20 20 |of, eith|er.X |
|000013c0| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 20 |with or |without |
|000013d0| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 73 2c 20 74 |modifica|tions, t|
|000013e0| 6f 20 62 65 20 6c 69 63 | 65 6e 73 65 64 20 61 74 |o be lic|ensed at|
|000013f0| 20 6e 6f 20 63 68 61 72 | 67 65 20 74 6f 20 61 6c | no char|ge to al|
|00001400| 6c 0a 58 20 20 20 20 74 | 68 69 72 64 20 70 61 72 |l.X t|hird par|
|00001410| 74 69 65 73 20 75 6e 64 | 65 72 20 74 68 65 20 74 |ties und|er the t|
|00001420| 65 72 6d 73 20 6f 66 20 | 74 68 69 73 20 47 65 6e |erms of |this Gen|
|00001430| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00001440| 6e 73 65 20 28 65 78 63 | 65 70 74 0a 58 20 20 20 |nse (exc|ept.X |
|00001450| 20 74 68 61 74 20 79 6f | 75 20 6d 61 79 20 63 68 | that yo|u may ch|
|00001460| 6f 6f 73 65 20 74 6f 20 | 67 72 61 6e 74 20 77 61 |oose to |grant wa|
|00001470| 72 72 61 6e 74 79 20 70 | 72 6f 74 65 63 74 69 6f |rranty p|rotectio|
|00001480| 6e 20 74 6f 20 73 6f 6d | 65 20 6f 72 20 61 6c 6c |n to som|e or all|
|00001490| 0a 58 20 20 20 20 74 68 | 69 72 64 20 70 61 72 74 |.X th|ird part|
|000014a0| 69 65 73 2c 20 61 74 20 | 79 6f 75 72 20 6f 70 74 |ies, at |your opt|
|000014b0| 69 6f 6e 29 2e 0a 58 0a | 58 20 20 20 20 63 29 20 |ion)..X.|X c) |
|000014c0| 49 66 20 74 68 65 20 6d | 6f 64 69 66 69 65 64 20 |If the m|odified |
|000014d0| 70 72 6f 67 72 61 6d 20 | 6e 6f 72 6d 61 6c 6c 79 |program |normally|
|000014e0| 20 72 65 61 64 73 20 63 | 6f 6d 6d 61 6e 64 73 20 | reads c|ommands |
|000014f0| 69 6e 74 65 72 61 63 74 | 69 76 65 6c 79 20 77 68 |interact|ively wh|
|00001500| 65 6e 0a 58 20 20 20 20 | 72 75 6e 2c 20 79 6f 75 |en.X |run, you|
|00001510| 20 6d 75 73 74 20 63 61 | 75 73 65 20 69 74 2c 20 | must ca|use it, |
|00001520| 77 68 65 6e 20 73 74 61 | 72 74 65 64 20 72 75 6e |when sta|rted run|
|00001530| 6e 69 6e 67 20 66 6f 72 | 20 73 75 63 68 20 69 6e |ning for| such in|
|00001540| 74 65 72 61 63 74 69 76 | 65 20 75 73 65 0a 58 20 |teractiv|e use.X |
|00001550| 20 20 20 69 6e 20 74 68 | 65 20 73 69 6d 70 6c 65 | in th|e simple|
|00001560| 73 74 20 61 6e 64 20 6d | 6f 73 74 20 75 73 75 61 |st and m|ost usua|
|00001570| 6c 20 77 61 79 2c 20 74 | 6f 20 70 72 69 6e 74 20 |l way, t|o print |
|00001580| 6f 72 20 64 69 73 70 6c | 61 79 20 61 6e 0a 58 20 |or displ|ay an.X |
|00001590| 20 20 20 61 6e 6e 6f 75 | 6e 63 65 6d 65 6e 74 20 | annou|ncement |
|000015a0| 69 6e 63 6c 75 64 69 6e | 67 20 61 6e 20 61 70 70 |includin|g an app|
|000015b0| 72 6f 70 72 69 61 74 65 | 20 63 6f 70 79 72 69 67 |ropriate| copyrig|
|000015c0| 68 74 20 6e 6f 74 69 63 | 65 20 61 6e 64 20 61 20 |ht notic|e and a |
|000015d0| 6e 6f 74 69 63 65 0a 58 | 20 20 20 20 74 68 61 74 |notice.X| that|
|000015e0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 77 61 72 | there i|s no war|
|000015f0| 72 61 6e 74 79 20 28 6f | 72 20 65 6c 73 65 2c 20 |ranty (o|r else, |
|00001600| 73 61 79 69 6e 67 20 74 | 68 61 74 20 79 6f 75 20 |saying t|hat you |
|00001610| 70 72 6f 76 69 64 65 20 | 61 0a 58 20 20 20 20 77 |provide |a.X w|
|00001620| 61 72 72 61 6e 74 79 29 | 20 61 6e 64 20 74 68 61 |arranty)| and tha|
|00001630| 74 20 75 73 65 72 73 20 | 6d 61 79 20 72 65 64 69 |t users |may redi|
|00001640| 73 74 72 69 62 75 74 65 | 20 74 68 65 20 70 72 6f |stribute| the pro|
|00001650| 67 72 61 6d 20 75 6e 64 | 65 72 20 74 68 65 73 65 |gram und|er these|
|00001660| 0a 58 20 20 20 20 63 6f | 6e 64 69 74 69 6f 6e 73 |.X co|nditions|
|00001670| 2c 20 61 6e 64 20 74 65 | 6c 6c 69 6e 67 20 74 68 |, and te|lling th|
|00001680| 65 20 75 73 65 72 20 68 | 6f 77 20 74 6f 20 76 69 |e user h|ow to vi|
|00001690| 65 77 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 69 |ew a cop|y of thi|
|000016a0| 73 20 47 65 6e 65 72 61 | 6c 0a 58 20 20 20 20 50 |s Genera|l.X P|
|000016b0| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 2e 0a 58 |ublic Li|cense..X|
|000016c0| 0a 58 20 20 20 20 64 29 | 20 59 6f 75 20 6d 61 79 |.X d)| You may|
|000016d0| 20 63 68 61 72 67 65 20 | 61 20 66 65 65 20 66 6f | charge |a fee fo|
|000016e0| 72 20 74 68 65 20 70 68 | 79 73 69 63 61 6c 20 61 |r the ph|ysical a|
|000016f0| 63 74 20 6f 66 20 74 72 | 61 6e 73 66 65 72 72 69 |ct of tr|ansferri|
|00001700| 6e 67 20 61 0a 58 20 20 | 20 20 63 6f 70 79 2c 20 |ng a.X | copy, |
|00001710| 61 6e 64 20 79 6f 75 20 | 6d 61 79 20 61 74 20 79 |and you |may at y|
|00001720| 6f 75 72 20 6f 70 74 69 | 6f 6e 20 6f 66 66 65 72 |our opti|on offer|
|00001730| 20 77 61 72 72 61 6e 74 | 79 20 70 72 6f 74 65 63 | warrant|y protec|
|00001740| 74 69 6f 6e 20 69 6e 0a | 58 20 20 20 20 65 78 63 |tion in.|X exc|
|00001750| 68 61 6e 67 65 20 66 6f | 72 20 61 20 66 65 65 2e |hange fo|r a fee.|
|00001760| 0a 58 0a 4d 65 72 65 20 | 61 67 67 72 65 67 61 74 |.X.Mere |aggregat|
|00001770| 69 6f 6e 20 6f 66 20 61 | 6e 6f 74 68 65 72 20 69 |ion of a|nother i|
|00001780| 6e 64 65 70 65 6e 64 65 | 6e 74 20 77 6f 72 6b 20 |ndepende|nt work |
|00001790| 77 69 74 68 20 74 68 65 | 20 50 72 6f 67 72 61 6d |with the| Program|
|000017a0| 20 28 6f 72 20 69 74 73 | 0a 64 65 72 69 76 61 74 | (or its|.derivat|
|000017b0| 69 76 65 29 20 6f 6e 20 | 61 20 76 6f 6c 75 6d 65 |ive) on |a volume|
|000017c0| 20 6f 66 20 61 20 73 74 | 6f 72 61 67 65 20 6f 72 | of a st|orage or|
|000017d0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 6d 65 | distrib|ution me|
|000017e0| 64 69 75 6d 20 64 6f 65 | 73 20 6e 6f 74 20 62 72 |dium doe|s not br|
|000017f0| 69 6e 67 0a 74 68 65 20 | 6f 74 68 65 72 20 77 6f |ing.the |other wo|
|00001800| 72 6b 20 75 6e 64 65 72 | 20 74 68 65 20 73 63 6f |rk under| the sco|
|00001810| 70 65 20 6f 66 20 74 68 | 65 73 65 20 74 65 72 6d |pe of th|ese term|
|00001820| 73 2e 0a 58 0c 0a 58 20 | 20 33 2e 20 59 6f 75 20 |s..X..X | 3. You |
|00001830| 6d 61 79 20 63 6f 70 79 | 20 61 6e 64 20 64 69 73 |may copy| and dis|
|00001840| 74 72 69 62 75 74 65 20 | 74 68 65 20 50 72 6f 67 |tribute |the Prog|
|00001850| 72 61 6d 20 28 6f 72 20 | 61 20 70 6f 72 74 69 6f |ram (or |a portio|
|00001860| 6e 20 6f 72 20 64 65 72 | 69 76 61 74 69 76 65 20 |n or der|ivative |
|00001870| 6f 66 0a 69 74 2c 20 75 | 6e 64 65 72 20 50 61 72 |of.it, u|nder Par|
|00001880| 61 67 72 61 70 68 20 32 | 29 20 69 6e 20 6f 62 6a |agraph 2|) in obj|
|00001890| 65 63 74 20 63 6f 64 65 | 20 6f 72 20 65 78 65 63 |ect code| or exec|
|000018a0| 75 74 61 62 6c 65 20 66 | 6f 72 6d 20 75 6e 64 65 |utable f|orm unde|
|000018b0| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 0a 50 |r the te|rms of.P|
|000018c0| 61 72 61 67 72 61 70 68 | 73 20 31 20 61 6e 64 20 |aragraph|s 1 and |
|000018d0| 32 20 61 62 6f 76 65 20 | 70 72 6f 76 69 64 65 64 |2 above |provided|
|000018e0| 20 74 68 61 74 20 79 6f | 75 20 61 6c 73 6f 20 64 | that yo|u also d|
|000018f0| 6f 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |o one of| the fol|
|00001900| 6c 6f 77 69 6e 67 3a 0a | 58 0a 58 20 20 20 20 61 |lowing:.|X.X a|
|00001910| 29 20 61 63 63 6f 6d 70 | 61 6e 79 20 69 74 20 77 |) accomp|any it w|
|00001920| 69 74 68 20 74 68 65 20 | 63 6f 6d 70 6c 65 74 65 |ith the |complete|
|00001930| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 6d | corresp|onding m|
|00001940| 61 63 68 69 6e 65 2d 72 | 65 61 64 61 62 6c 65 0a |achine-r|eadable.|
|00001950| 58 20 20 20 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |X sou|rce code|
|00001960| 2c 20 77 68 69 63 68 20 | 6d 75 73 74 20 62 65 20 |, which |must be |
|00001970| 64 69 73 74 72 69 62 75 | 74 65 64 20 75 6e 64 65 |distribu|ted unde|
|00001980| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 0a 58 |r the te|rms of.X|
|00001990| 20 20 20 20 50 61 72 61 | 67 72 61 70 68 73 20 31 | Para|graphs 1|
|000019a0| 20 61 6e 64 20 32 20 61 | 62 6f 76 65 3b 20 6f 72 | and 2 a|bove; or|
|000019b0| 2c 0a 58 0a 58 20 20 20 | 20 62 29 20 61 63 63 6f |,.X.X | b) acco|
|000019c0| 6d 70 61 6e 79 20 69 74 | 20 77 69 74 68 20 61 20 |mpany it| with a |
|000019d0| 77 72 69 74 74 65 6e 20 | 6f 66 66 65 72 2c 20 76 |written |offer, v|
|000019e0| 61 6c 69 64 20 66 6f 72 | 20 61 74 20 6c 65 61 73 |alid for| at leas|
|000019f0| 74 20 74 68 72 65 65 0a | 58 20 20 20 20 79 65 61 |t three.|X yea|
|00001a00| 72 73 2c 20 74 6f 20 67 | 69 76 65 20 61 6e 79 20 |rs, to g|ive any |
|00001a10| 74 68 69 72 64 20 70 61 | 72 74 79 20 66 72 65 65 |third pa|rty free|
|00001a20| 20 28 65 78 63 65 70 74 | 20 66 6f 72 20 61 20 6e | (except| for a n|
|00001a30| 6f 6d 69 6e 61 6c 20 63 | 68 61 72 67 65 0a 58 20 |ominal c|harge.X |
|00001a40| 20 20 20 66 6f 72 20 74 | 68 65 20 63 6f 73 74 20 | for t|he cost |
|00001a50| 6f 66 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 29 |of distr|ibution)|
|00001a60| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 6d 61 63 68 | a compl|ete mach|
|00001a70| 69 6e 65 2d 72 65 61 64 | 61 62 6c 65 20 63 6f 70 |ine-read|able cop|
|00001a80| 79 20 6f 66 20 74 68 65 | 0a 58 20 20 20 20 63 6f |y of the|.X co|
|00001a90| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 73 6f 75 72 |rrespond|ing sour|
|00001aa0| 63 65 20 63 6f 64 65 2c | 20 74 6f 20 62 65 20 64 |ce code,| to be d|
|00001ab0| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|00001ac0| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0a 58 20 | the ter|ms of.X |
|00001ad0| 20 20 20 50 61 72 61 67 | 72 61 70 68 73 20 31 20 | Parag|raphs 1 |
|00001ae0| 61 6e 64 20 32 20 61 62 | 6f 76 65 3b 20 6f 72 2c |and 2 ab|ove; or,|
|00001af0| 0a 58 0a 58 20 20 20 20 | 63 29 20 61 63 63 6f 6d |.X.X |c) accom|
|00001b00| 70 61 6e 79 20 69 74 20 | 77 69 74 68 20 74 68 65 |pany it |with the|
|00001b10| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 79 6f 75 | informa|tion you|
|00001b20| 20 72 65 63 65 69 76 65 | 64 20 61 73 20 74 6f 20 | receive|d as to |
|00001b30| 77 68 65 72 65 20 74 68 | 65 0a 58 20 20 20 20 63 |where th|e.X c|
|00001b40| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 73 6f 75 |orrespon|ding sou|
|00001b50| 72 63 65 20 63 6f 64 65 | 20 6d 61 79 20 62 65 20 |rce code| may be |
|00001b60| 6f 62 74 61 69 6e 65 64 | 2e 20 20 28 54 68 69 73 |obtained|. (This|
|00001b70| 20 61 6c 74 65 72 6e 61 | 74 69 76 65 20 69 73 0a | alterna|tive is.|
|00001b80| 58 20 20 20 20 61 6c 6c | 6f 77 65 64 20 6f 6e 6c |X all|owed onl|
|00001b90| 79 20 66 6f 72 20 6e 6f | 6e 63 6f 6d 6d 65 72 63 |y for no|ncommerc|
|00001ba0| 69 61 6c 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |ial dist|ribution|
|00001bb0| 20 61 6e 64 20 6f 6e 6c | 79 20 69 66 20 79 6f 75 | and onl|y if you|
|00001bc0| 0a 58 20 20 20 20 72 65 | 63 65 69 76 65 64 20 74 |.X re|ceived t|
|00001bd0| 68 65 20 70 72 6f 67 72 | 61 6d 20 69 6e 20 6f 62 |he progr|am in ob|
|00001be0| 6a 65 63 74 20 63 6f 64 | 65 20 6f 72 20 65 78 65 |ject cod|e or exe|
|00001bf0| 63 75 74 61 62 6c 65 20 | 66 6f 72 6d 20 61 6c 6f |cutable |form alo|
|00001c00| 6e 65 2e 29 0a 58 0a 53 | 6f 75 72 63 65 20 63 6f |ne.).X.S|ource co|
|00001c10| 64 65 20 66 6f 72 20 61 | 20 77 6f 72 6b 20 6d 65 |de for a| work me|
|00001c20| 61 6e 73 20 74 68 65 20 | 70 72 65 66 65 72 72 65 |ans the |preferre|
|00001c30| 64 20 66 6f 72 6d 20 6f | 66 20 74 68 65 20 77 6f |d form o|f the wo|
|00001c40| 72 6b 20 66 6f 72 20 6d | 61 6b 69 6e 67 0a 6d 6f |rk for m|aking.mo|
|00001c50| 64 69 66 69 63 61 74 69 | 6f 6e 73 20 74 6f 20 69 |dificati|ons to i|
|00001c60| 74 2e 20 20 46 6f 72 20 | 61 6e 20 65 78 65 63 75 |t. For |an execu|
|00001c70| 74 61 62 6c 65 20 66 69 | 6c 65 2c 20 63 6f 6d 70 |table fi|le, comp|
|00001c80| 6c 65 74 65 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |lete sou|rce code|
|00001c90| 20 6d 65 61 6e 73 0a 61 | 6c 6c 20 74 68 65 20 73 | means.a|ll the s|
|00001ca0| 6f 75 72 63 65 20 63 6f | 64 65 20 66 6f 72 20 61 |ource co|de for a|
|00001cb0| 6c 6c 20 6d 6f 64 75 6c | 65 73 20 69 74 20 63 6f |ll modul|es it co|
|00001cc0| 6e 74 61 69 6e 73 3b 20 | 62 75 74 2c 20 61 73 20 |ntains; |but, as |
|00001cd0| 61 20 73 70 65 63 69 61 | 6c 0a 65 78 63 65 70 74 |a specia|l.except|
|00001ce0| 69 6f 6e 2c 20 69 74 20 | 6e 65 65 64 20 6e 6f 74 |ion, it |need not|
|00001cf0| 20 69 6e 63 6c 75 64 65 | 20 73 6f 75 72 63 65 20 | include| source |
|00001d00| 63 6f 64 65 20 66 6f 72 | 20 6d 6f 64 75 6c 65 73 |code for| modules|
|00001d10| 20 77 68 69 63 68 20 61 | 72 65 20 73 74 61 6e 64 | which a|re stand|
|00001d20| 61 72 64 0a 6c 69 62 72 | 61 72 69 65 73 20 74 68 |ard.libr|aries th|
|00001d30| 61 74 20 61 63 63 6f 6d | 70 61 6e 79 20 74 68 65 |at accom|pany the|
|00001d40| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|00001d50| 6d 20 6f 6e 20 77 68 69 | 63 68 20 74 68 65 20 65 |m on whi|ch the e|
|00001d60| 78 65 63 75 74 61 62 6c | 65 0a 66 69 6c 65 20 72 |xecutabl|e.file r|
|00001d70| 75 6e 73 2c 20 6f 72 20 | 66 6f 72 20 73 74 61 6e |uns, or |for stan|
|00001d80| 64 61 72 64 20 68 65 61 | 64 65 72 20 66 69 6c 65 |dard hea|der file|
|00001d90| 73 20 6f 72 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |s or def|initions|
|00001da0| 20 66 69 6c 65 73 20 74 | 68 61 74 0a 61 63 63 6f | files t|hat.acco|
|00001db0| 6d 70 61 6e 79 20 74 68 | 61 74 20 6f 70 65 72 61 |mpany th|at opera|
|00001dc0| 74 69 6e 67 20 73 79 73 | 74 65 6d 2e 0a 58 0a 58 |ting sys|tem..X.X|
|00001dd0| 20 20 34 2e 20 59 6f 75 | 20 6d 61 79 20 6e 6f 74 | 4. You| may not|
|00001de0| 20 63 6f 70 79 2c 20 6d | 6f 64 69 66 79 2c 20 73 | copy, m|odify, s|
|00001df0| 75 62 6c 69 63 65 6e 73 | 65 2c 20 64 69 73 74 72 |ublicens|e, distr|
|00001e00| 69 62 75 74 65 20 6f 72 | 20 74 72 61 6e 73 66 65 |ibute or| transfe|
|00001e10| 72 20 74 68 65 0a 50 72 | 6f 67 72 61 6d 20 65 78 |r the.Pr|ogram ex|
|00001e20| 63 65 70 74 20 61 73 20 | 65 78 70 72 65 73 73 6c |cept as |expressl|
|00001e30| 79 20 70 72 6f 76 69 64 | 65 64 20 75 6e 64 65 72 |y provid|ed under|
|00001e40| 20 74 68 69 73 20 47 65 | 6e 65 72 61 6c 20 50 75 | this Ge|neral Pu|
|00001e50| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 2e 0a 41 6e |blic Lic|ense..An|
|00001e60| 79 20 61 74 74 65 6d 70 | 74 20 6f 74 68 65 72 77 |y attemp|t otherw|
|00001e70| 69 73 65 20 74 6f 20 63 | 6f 70 79 2c 20 6d 6f 64 |ise to c|opy, mod|
|00001e80| 69 66 79 2c 20 73 75 62 | 6c 69 63 65 6e 73 65 2c |ify, sub|license,|
|00001e90| 20 64 69 73 74 72 69 62 | 75 74 65 20 6f 72 20 74 | distrib|ute or t|
|00001ea0| 72 61 6e 73 66 65 72 0a | 74 68 65 20 50 72 6f 67 |ransfer.|the Prog|
|00001eb0| 72 61 6d 20 69 73 20 76 | 6f 69 64 2c 20 61 6e 64 |ram is v|oid, and|
|00001ec0| 20 77 69 6c 6c 20 61 75 | 74 6f 6d 61 74 69 63 61 | will au|tomatica|
|00001ed0| 6c 6c 79 20 74 65 72 6d | 69 6e 61 74 65 20 79 6f |lly term|inate yo|
|00001ee0| 75 72 20 72 69 67 68 74 | 73 20 74 6f 20 75 73 65 |ur right|s to use|
|00001ef0| 0a 74 68 65 20 50 72 6f | 67 72 61 6d 20 75 6e 64 |.the Pro|gram und|
|00001f00| 65 72 20 74 68 69 73 20 | 4c 69 63 65 6e 73 65 2e |er this |License.|
|00001f10| 20 20 48 6f 77 65 76 65 | 72 2c 20 70 61 72 74 69 | Howeve|r, parti|
|00001f20| 65 73 20 77 68 6f 20 68 | 61 76 65 20 72 65 63 65 |es who h|ave rece|
|00001f30| 69 76 65 64 0a 63 6f 70 | 69 65 73 2c 20 6f 72 20 |ived.cop|ies, or |
|00001f40| 72 69 67 68 74 73 20 74 | 6f 20 75 73 65 20 63 6f |rights t|o use co|
|00001f50| 70 69 65 73 2c 20 66 72 | 6f 6d 20 79 6f 75 20 75 |pies, fr|om you u|
|00001f60| 6e 64 65 72 20 74 68 69 | 73 20 47 65 6e 65 72 61 |nder thi|s Genera|
|00001f70| 6c 20 50 75 62 6c 69 63 | 0a 4c 69 63 65 6e 73 65 |l Public|.License|
|00001f80| 20 77 69 6c 6c 20 6e 6f | 74 20 68 61 76 65 20 74 | will no|t have t|
|00001f90| 68 65 69 72 20 6c 69 63 | 65 6e 73 65 73 20 74 65 |heir lic|enses te|
|00001fa0| 72 6d 69 6e 61 74 65 64 | 20 73 6f 20 6c 6f 6e 67 |rminated| so long|
|00001fb0| 20 61 73 20 73 75 63 68 | 20 70 61 72 74 69 65 73 | as such| parties|
|00001fc0| 0a 72 65 6d 61 69 6e 20 | 69 6e 20 66 75 6c 6c 20 |.remain |in full |
|00001fd0| 63 6f 6d 70 6c 69 61 6e | 63 65 2e 0a 58 0a 58 20 |complian|ce..X.X |
|00001fe0| 20 35 2e 20 42 79 20 63 | 6f 70 79 69 6e 67 2c 20 | 5. By c|opying, |
|00001ff0| 64 69 73 74 72 69 62 75 | 74 69 6e 67 20 6f 72 20 |distribu|ting or |
|00002000| 6d 6f 64 69 66 79 69 6e | 67 20 74 68 65 20 50 72 |modifyin|g the Pr|
|00002010| 6f 67 72 61 6d 20 28 6f | 72 20 61 6e 79 20 77 6f |ogram (o|r any wo|
|00002020| 72 6b 20 62 61 73 65 64 | 0a 6f 6e 20 74 68 65 20 |rk based|.on the |
|00002030| 50 72 6f 67 72 61 6d 29 | 20 79 6f 75 20 69 6e 64 |Program)| you ind|
|00002040| 69 63 61 74 65 20 79 6f | 75 72 20 61 63 63 65 70 |icate yo|ur accep|
|00002050| 74 61 6e 63 65 20 6f 66 | 20 74 68 69 73 20 6c 69 |tance of| this li|
|00002060| 63 65 6e 73 65 20 74 6f | 20 64 6f 20 73 6f 2c 0a |cense to| do so,.|
|00002070| 61 6e 64 20 61 6c 6c 20 | 69 74 73 20 74 65 72 6d |and all |its term|
|00002080| 73 20 61 6e 64 20 63 6f | 6e 64 69 74 69 6f 6e 73 |s and co|nditions|
|00002090| 2e 0a 58 0a 58 20 20 36 | 2e 20 45 61 63 68 20 74 |..X.X 6|. Each t|
|000020a0| 69 6d 65 20 79 6f 75 20 | 72 65 64 69 73 74 72 69 |ime you |redistri|
|000020b0| 62 75 74 65 20 74 68 65 | 20 50 72 6f 67 72 61 6d |bute the| Program|
|000020c0| 20 28 6f 72 20 61 6e 79 | 20 77 6f 72 6b 20 62 61 | (or any| work ba|
|000020d0| 73 65 64 20 6f 6e 20 74 | 68 65 0a 50 72 6f 67 72 |sed on t|he.Progr|
|000020e0| 61 6d 29 2c 20 74 68 65 | 20 72 65 63 69 70 69 65 |am), the| recipie|
|000020f0| 6e 74 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |nt autom|atically|
|00002100| 20 72 65 63 65 69 76 65 | 73 20 61 20 6c 69 63 65 | receive|s a lice|
|00002110| 6e 73 65 20 66 72 6f 6d | 20 74 68 65 20 6f 72 69 |nse from| the ori|
|00002120| 67 69 6e 61 6c 0a 6c 69 | 63 65 6e 73 6f 72 20 74 |ginal.li|censor t|
|00002130| 6f 20 63 6f 70 79 2c 20 | 64 69 73 74 72 69 62 75 |o copy, |distribu|
|00002140| 74 65 20 6f 72 20 6d 6f | 64 69 66 79 20 74 68 65 |te or mo|dify the|
|00002150| 20 50 72 6f 67 72 61 6d | 20 73 75 62 6a 65 63 74 | Program| subject|
|00002160| 20 74 6f 20 74 68 65 73 | 65 0a 74 65 72 6d 73 20 | to thes|e.terms |
|00002170| 61 6e 64 20 63 6f 6e 64 | 69 74 69 6f 6e 73 2e 20 |and cond|itions. |
|00002180| 20 59 6f 75 20 6d 61 79 | 20 6e 6f 74 20 69 6d 70 | You may| not imp|
|00002190| 6f 73 65 20 61 6e 79 20 | 66 75 72 74 68 65 72 20 |ose any |further |
|000021a0| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 20 6f 6e 20 |restrict|ions on |
|000021b0| 74 68 65 0a 72 65 63 69 | 70 69 65 6e 74 73 27 20 |the.reci|pients' |
|000021c0| 65 78 65 72 63 69 73 65 | 20 6f 66 20 74 68 65 20 |exercise| of the |
|000021d0| 72 69 67 68 74 73 20 67 | 72 61 6e 74 65 64 20 68 |rights g|ranted h|
|000021e0| 65 72 65 69 6e 2e 0a 58 | 0c 0a 58 20 20 37 2e 20 |erein..X|..X 7. |
|000021f0| 54 68 65 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |The Free| Softwar|
|00002200| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 20 6d 61 79 |e Founda|tion may|
|00002210| 20 70 75 62 6c 69 73 68 | 20 72 65 76 69 73 65 64 | publish| revised|
|00002220| 20 61 6e 64 2f 6f 72 20 | 6e 65 77 20 76 65 72 73 | and/or |new vers|
|00002230| 69 6f 6e 73 0a 6f 66 20 | 74 68 65 20 47 65 6e 65 |ions.of |the Gene|
|00002240| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00002250| 73 65 20 66 72 6f 6d 20 | 74 69 6d 65 20 74 6f 20 |se from |time to |
|00002260| 74 69 6d 65 2e 20 20 53 | 75 63 68 20 6e 65 77 20 |time. S|uch new |
|00002270| 76 65 72 73 69 6f 6e 73 | 20 77 69 6c 6c 0a 62 65 |versions| will.be|
|00002280| 20 73 69 6d 69 6c 61 72 | 20 69 6e 20 73 70 69 72 | similar| in spir|
|00002290| 69 74 20 74 6f 20 74 68 | 65 20 70 72 65 73 65 6e |it to th|e presen|
|000022a0| 74 20 76 65 72 73 69 6f | 6e 2c 20 62 75 74 20 6d |t versio|n, but m|
|000022b0| 61 79 20 64 69 66 66 65 | 72 20 69 6e 20 64 65 74 |ay diffe|r in det|
|000022c0| 61 69 6c 20 74 6f 0a 61 | 64 64 72 65 73 73 20 6e |ail to.a|ddress n|
|000022d0| 65 77 20 70 72 6f 62 6c | 65 6d 73 20 6f 72 20 63 |ew probl|ems or c|
|000022e0| 6f 6e 63 65 72 6e 73 2e | 0a 58 0a 58 45 61 63 68 |oncerns.|.X.XEach|
|000022f0| 20 76 65 72 73 69 6f 6e | 20 69 73 20 67 69 76 65 | version| is give|
|00002300| 6e 20 61 20 64 69 73 74 | 69 6e 67 75 69 73 68 69 |n a dist|inguishi|
|00002310| 6e 67 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |ng versi|on numbe|
|00002320| 72 2e 20 20 49 66 20 74 | 68 65 20 50 72 6f 67 72 |r. If t|he Progr|
|00002330| 61 6d 0a 73 70 65 63 69 | 66 69 65 73 20 61 20 76 |am.speci|fies a v|
|00002340| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 20 6f 66 |ersion n|umber of|
|00002350| 20 74 68 65 20 6c 69 63 | 65 6e 73 65 20 77 68 69 | the lic|ense whi|
|00002360| 63 68 20 61 70 70 6c 69 | 65 73 20 74 6f 20 69 74 |ch appli|es to it|
|00002370| 20 61 6e 64 20 22 61 6e | 79 0a 6c 61 74 65 72 20 | and "an|y.later |
|00002380| 76 65 72 73 69 6f 6e 22 | 2c 20 79 6f 75 20 68 61 |version"|, you ha|
|00002390| 76 65 20 74 68 65 20 6f | 70 74 69 6f 6e 20 6f 66 |ve the o|ption of|
|000023a0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 68 65 20 74 | followi|ng the t|
|000023b0| 65 72 6d 73 20 61 6e 64 | 20 63 6f 6e 64 69 74 69 |erms and| conditi|
|000023c0| 6f 6e 73 0a 65 69 74 68 | 65 72 20 6f 66 20 74 68 |ons.eith|er of th|
|000023d0| 61 74 20 76 65 72 73 69 | 6f 6e 20 6f 72 20 6f 66 |at versi|on or of|
|000023e0| 20 61 6e 79 20 6c 61 74 | 65 72 20 76 65 72 73 69 | any lat|er versi|
|000023f0| 6f 6e 20 70 75 62 6c 69 | 73 68 65 64 20 62 79 20 |on publi|shed by |
|00002400| 74 68 65 20 46 72 65 65 | 0a 53 6f 66 74 77 61 72 |the Free|.Softwar|
|00002410| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 2e 20 20 49 |e Founda|tion. I|
|00002420| 66 20 74 68 65 20 50 72 | 6f 67 72 61 6d 20 64 6f |f the Pr|ogram do|
|00002430| 65 73 20 6e 6f 74 20 73 | 70 65 63 69 66 79 20 61 |es not s|pecify a|
|00002440| 20 76 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 20 | version| number |
|00002450| 6f 66 0a 74 68 65 20 6c | 69 63 65 6e 73 65 2c 20 |of.the l|icense, |
|00002460| 79 6f 75 20 6d 61 79 20 | 63 68 6f 6f 73 65 20 61 |you may |choose a|
|00002470| 6e 79 20 76 65 72 73 69 | 6f 6e 20 65 76 65 72 20 |ny versi|on ever |
|00002480| 70 75 62 6c 69 73 68 65 | 64 20 62 79 20 74 68 65 |publishe|d by the|
|00002490| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 0a 58 | Free So|ftware.X|
|000024a0| 46 6f 75 6e 64 61 74 69 | 6f 6e 2e 0a 58 0a 58 20 |Foundati|on..X.X |
|000024b0| 20 38 2e 20 49 66 20 79 | 6f 75 20 77 69 73 68 20 | 8. If y|ou wish |
|000024c0| 74 6f 20 69 6e 63 6f 72 | 70 6f 72 61 74 65 20 70 |to incor|porate p|
|000024d0| 61 72 74 73 20 6f 66 20 | 74 68 65 20 50 72 6f 67 |arts of |the Prog|
|000024e0| 72 61 6d 20 69 6e 74 6f | 20 6f 74 68 65 72 20 66 |ram into| other f|
|000024f0| 72 65 65 0a 70 72 6f 67 | 72 61 6d 73 20 77 68 6f |ree.prog|rams who|
|00002500| 73 65 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |se distr|ibution |
|00002510| 63 6f 6e 64 69 74 69 6f | 6e 73 20 61 72 65 20 64 |conditio|ns are d|
|00002520| 69 66 66 65 72 65 6e 74 | 2c 20 77 72 69 74 65 20 |ifferent|, write |
|00002530| 74 6f 20 74 68 65 20 61 | 75 74 68 6f 72 0a 74 6f |to the a|uthor.to|
|00002540| 20 61 73 6b 20 66 6f 72 | 20 70 65 72 6d 69 73 73 | ask for| permiss|
|00002550| 69 6f 6e 2e 20 20 46 6f | 72 20 73 6f 66 74 77 61 |ion. Fo|r softwa|
|00002560| 72 65 20 77 68 69 63 68 | 20 69 73 20 63 6f 70 79 |re which| is copy|
|00002570| 72 69 67 68 74 65 64 20 | 62 79 20 74 68 65 20 46 |righted |by the F|
|00002580| 72 65 65 0a 53 6f 66 74 | 77 61 72 65 20 46 6f 75 |ree.Soft|ware Fou|
|00002590| 6e 64 61 74 69 6f 6e 2c | 20 77 72 69 74 65 20 74 |ndation,| write t|
|000025a0| 6f 20 74 68 65 20 46 72 | 65 65 20 53 6f 66 74 77 |o the Fr|ee Softw|
|000025b0| 61 72 65 20 46 6f 75 6e | 64 61 74 69 6f 6e 3b 20 |are Foun|dation; |
|000025c0| 77 65 20 73 6f 6d 65 74 | 69 6d 65 73 0a 6d 61 6b |we somet|imes.mak|
|000025d0| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 66 6f 72 |e except|ions for|
|000025e0| 20 74 68 69 73 2e 20 20 | 4f 75 72 20 64 65 63 69 | this. |Our deci|
|000025f0| 73 69 6f 6e 20 77 69 6c | 6c 20 62 65 20 67 75 69 |sion wil|l be gui|
|00002600| 64 65 64 20 62 79 20 74 | 68 65 20 74 77 6f 20 67 |ded by t|he two g|
|00002610| 6f 61 6c 73 0a 6f 66 20 | 70 72 65 73 65 72 76 69 |oals.of |preservi|
|00002620| 6e 67 20 74 68 65 20 66 | 72 65 65 20 73 74 61 74 |ng the f|ree stat|
|00002630| 75 73 20 6f 66 20 61 6c | 6c 20 64 65 72 69 76 61 |us of al|l deriva|
|00002640| 74 69 76 65 73 20 6f 66 | 20 6f 75 72 20 66 72 65 |tives of| our fre|
|00002650| 65 20 73 6f 66 74 77 61 | 72 65 20 61 6e 64 0a 6f |e softwa|re and.o|
|00002660| 66 20 70 72 6f 6d 6f 74 | 69 6e 67 20 74 68 65 20 |f promot|ing the |
|00002670| 73 68 61 72 69 6e 67 20 | 61 6e 64 20 72 65 75 73 |sharing |and reus|
|00002680| 65 20 6f 66 20 73 6f 66 | 74 77 61 72 65 20 67 65 |e of sof|tware ge|
|00002690| 6e 65 72 61 6c 6c 79 2e | 0a 58 0a 58 09 09 09 20 |nerally.|.X.X... |
|000026a0| 20 20 20 4e 4f 20 57 41 | 52 52 41 4e 54 59 0a 58 | NO WA|RRANTY.X|
|000026b0| 0a 58 20 20 39 2e 20 42 | 45 43 41 55 53 45 20 54 |.X 9. B|ECAUSE T|
|000026c0| 48 45 20 50 52 4f 47 52 | 41 4d 20 49 53 20 4c 49 |HE PROGR|AM IS LI|
|000026d0| 43 45 4e 53 45 44 20 46 | 52 45 45 20 4f 46 20 43 |CENSED F|REE OF C|
|000026e0| 48 41 52 47 45 2c 20 54 | 48 45 52 45 20 49 53 20 |HARGE, T|HERE IS |
|000026f0| 4e 4f 20 57 41 52 52 41 | 4e 54 59 0a 58 46 4f 52 |NO WARRA|NTY.XFOR|
|00002700| 20 54 48 45 20 50 52 4f | 47 52 41 4d 2c 20 54 4f | THE PRO|GRAM, TO|
|00002710| 20 54 48 45 20 45 58 54 | 45 4e 54 20 50 45 52 4d | THE EXT|ENT PERM|
|00002720| 49 54 54 45 44 20 42 59 | 20 41 50 50 4c 49 43 41 |ITTED BY| APPLICA|
|00002730| 42 4c 45 20 4c 41 57 2e | 20 20 45 58 43 45 50 54 |BLE LAW.| EXCEPT|
|00002740| 20 57 48 45 4e 0a 4f 54 | 48 45 52 57 49 53 45 20 | WHEN.OT|HERWISE |
|00002750| 53 54 41 54 45 44 20 49 | 4e 20 57 52 49 54 49 4e |STATED I|N WRITIN|
|00002760| 47 20 54 48 45 20 43 4f | 50 59 52 49 47 48 54 20 |G THE CO|PYRIGHT |
|00002770| 48 4f 4c 44 45 52 53 20 | 41 4e 44 2f 4f 52 20 4f |HOLDERS |AND/OR O|
|00002780| 54 48 45 52 20 50 41 52 | 54 49 45 53 0a 50 52 4f |THER PAR|TIES.PRO|
|00002790| 56 49 44 45 20 54 48 45 | 20 50 52 4f 47 52 41 4d |VIDE THE| PROGRAM|
|000027a0| 20 22 41 53 20 49 53 22 | 20 57 49 54 48 4f 55 54 | "AS IS"| WITHOUT|
|000027b0| 20 57 41 52 52 41 4e 54 | 59 20 4f 46 20 41 4e 59 | WARRANT|Y OF ANY|
|000027c0| 20 4b 49 4e 44 2c 20 45 | 49 54 48 45 52 20 45 58 | KIND, E|ITHER EX|
|000027d0| 50 52 45 53 53 45 44 0a | 4f 52 20 49 4d 50 4c 49 |PRESSED.|OR IMPLI|
|000027e0| 45 44 2c 20 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ED, INCL|UDING, B|
|000027f0| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T|
|00002800| 4f 2c 20 54 48 45 20 49 | 4d 50 4c 49 45 44 20 57 |O, THE I|MPLIED W|
|00002810| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 0a 4d 45 52 |ARRANTIE|S OF.MER|
|00002820| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|00002830| 20 46 49 54 4e 45 53 53 | 20 46 4f 52 20 41 20 50 | FITNESS| FOR A P|
|00002840| 41 52 54 49 43 55 4c 41 | 52 20 50 55 52 50 4f 53 |ARTICULA|R PURPOS|
|00002850| 45 2e 20 20 54 48 45 20 | 45 4e 54 49 52 45 20 52 |E. THE |ENTIRE R|
|00002860| 49 53 4b 20 41 53 0a 54 | 4f 20 54 48 45 20 51 55 |ISK AS.T|O THE QU|
|00002870| 41 4c 49 54 59 20 41 4e | 44 20 50 45 52 46 4f 52 |ALITY AN|D PERFOR|
|00002880| 4d 41 4e 43 45 20 4f 46 | 20 54 48 45 20 50 52 4f |MANCE OF| THE PRO|
|00002890| 47 52 41 4d 20 49 53 20 | 57 49 54 48 20 59 4f 55 |GRAM IS |WITH YOU|
|000028a0| 2e 20 20 53 48 4f 55 4c | 44 20 54 48 45 0a 50 52 |. SHOUL|D THE.PR|
|000028b0| 4f 47 52 41 4d 20 50 52 | 4f 56 45 20 44 45 46 45 |OGRAM PR|OVE DEFE|
|000028c0| 43 54 49 56 45 2c 20 59 | 4f 55 20 41 53 53 55 4d |CTIVE, Y|OU ASSUM|
|000028d0| 45 20 54 48 45 20 43 4f | 53 54 20 4f 46 20 41 4c |E THE CO|ST OF AL|
|000028e0| 4c 20 4e 45 43 45 53 53 | 41 52 59 20 53 45 52 56 |L NECESS|ARY SERV|
|000028f0| 49 43 49 4e 47 2c 0a 52 | 45 50 41 49 52 20 4f 52 |ICING,.R|EPAIR OR|
|00002900| 20 43 4f 52 52 45 43 54 | 49 4f 4e 2e 0a 58 0a 58 | CORRECT|ION..X.X|
|00002910| 20 20 31 30 2e 20 49 4e | 20 4e 4f 20 45 56 45 4e | 10. IN| NO EVEN|
|00002920| 54 20 55 4e 4c 45 53 53 | 20 52 45 51 55 49 52 45 |T UNLESS| REQUIRE|
|00002930| 44 20 42 59 20 41 50 50 | 4c 49 43 41 42 4c 45 20 |D BY APP|LICABLE |
|00002940| 4c 41 57 20 4f 52 20 41 | 47 52 45 45 44 20 54 4f |LAW OR A|GREED TO|
|00002950| 20 49 4e 20 57 52 49 54 | 49 4e 47 0a 57 49 4c 4c | IN WRIT|ING.WILL|
|00002960| 20 41 4e 59 20 43 4f 50 | 59 52 49 47 48 54 20 48 | ANY COP|YRIGHT H|
|00002970| 4f 4c 44 45 52 2c 20 4f | 52 20 41 4e 59 20 4f 54 |OLDER, O|R ANY OT|
|00002980| 48 45 52 20 50 41 52 54 | 59 20 57 48 4f 20 4d 41 |HER PART|Y WHO MA|
|00002990| 59 20 4d 4f 44 49 46 59 | 20 41 4e 44 2f 4f 52 0a |Y MODIFY| AND/OR.|
|000029a0| 52 45 44 49 53 54 52 49 | 42 55 54 45 20 54 48 45 |REDISTRI|BUTE THE|
|000029b0| 20 50 52 4f 47 52 41 4d | 20 41 53 20 50 45 52 4d | PROGRAM| AS PERM|
|000029c0| 49 54 54 45 44 20 41 42 | 4f 56 45 2c 20 42 45 20 |ITTED AB|OVE, BE |
|000029d0| 4c 49 41 42 4c 45 20 54 | 4f 20 59 4f 55 20 46 4f |LIABLE T|O YOU FO|
|000029e0| 52 20 44 41 4d 41 47 45 | 53 2c 0a 49 4e 43 4c 55 |R DAMAGE|S,.INCLU|
|000029f0| 44 49 4e 47 20 41 4e 59 | 20 47 45 4e 45 52 41 4c |DING ANY| GENERAL|
|00002a00| 2c 20 53 50 45 43 49 41 | 4c 2c 20 49 4e 43 49 44 |, SPECIA|L, INCID|
|00002a10| 45 4e 54 41 4c 20 4f 52 | 20 43 4f 4e 53 45 51 55 |ENTAL OR| CONSEQU|
|00002a20| 45 4e 54 49 41 4c 20 44 | 41 4d 41 47 45 53 20 41 |ENTIAL D|AMAGES A|
|00002a30| 52 49 53 49 4e 47 0a 4f | 55 54 20 4f 46 20 54 48 |RISING.O|UT OF TH|
|00002a40| 45 20 55 53 45 20 4f 52 | 20 49 4e 41 42 49 4c 49 |E USE OR| INABILI|
|00002a50| 54 59 20 54 4f 20 55 53 | 45 20 54 48 45 20 50 52 |TY TO US|E THE PR|
|00002a60| 4f 47 52 41 4d 20 28 49 | 4e 43 4c 55 44 49 4e 47 |OGRAM (I|NCLUDING|
|00002a70| 20 42 55 54 20 4e 4f 54 | 20 4c 49 4d 49 54 45 44 | BUT NOT| LIMITED|
|00002a80| 0a 54 4f 20 4c 4f 53 53 | 20 4f 46 20 44 41 54 41 |.TO LOSS| OF DATA|
|00002a90| 20 4f 52 20 44 41 54 41 | 20 42 45 49 4e 47 20 52 | OR DATA| BEING R|
|00002aa0| 45 4e 44 45 52 45 44 20 | 49 4e 41 43 43 55 52 41 |ENDERED |INACCURA|
|00002ab0| 54 45 20 4f 52 20 4c 4f | 53 53 45 53 20 53 55 53 |TE OR LO|SSES SUS|
|00002ac0| 54 41 49 4e 45 44 20 42 | 59 0a 59 4f 55 20 4f 52 |TAINED B|Y.YOU OR|
|00002ad0| 20 54 48 49 52 44 20 50 | 41 52 54 49 45 53 20 4f | THIRD P|ARTIES O|
|00002ae0| 52 20 41 20 46 41 49 4c | 55 52 45 20 4f 46 20 54 |R A FAIL|URE OF T|
|00002af0| 48 45 20 50 52 4f 47 52 | 41 4d 20 54 4f 20 4f 50 |HE PROGR|AM TO OP|
|00002b00| 45 52 41 54 45 20 57 49 | 54 48 20 41 4e 59 20 4f |ERATE WI|TH ANY O|
|00002b10| 54 48 45 52 0a 50 52 4f | 47 52 41 4d 53 29 2c 20 |THER.PRO|GRAMS), |
|00002b20| 45 56 45 4e 20 49 46 20 | 53 55 43 48 20 48 4f 4c |EVEN IF |SUCH HOL|
|00002b30| 44 45 52 20 4f 52 20 4f | 54 48 45 52 20 50 41 52 |DER OR O|THER PAR|
|00002b40| 54 59 20 48 41 53 20 42 | 45 45 4e 20 41 44 56 49 |TY HAS B|EEN ADVI|
|00002b50| 53 45 44 20 4f 46 20 54 | 48 45 0a 50 4f 53 53 49 |SED OF T|HE.POSSI|
|00002b60| 42 49 4c 49 54 59 20 4f | 46 20 53 55 43 48 20 44 |BILITY O|F SUCH D|
|00002b70| 41 4d 41 47 45 53 2e 0a | 58 0a 58 09 09 20 20 20 |AMAGES..|X.X.. |
|00002b80| 20 20 45 4e 44 20 4f 46 | 20 54 45 52 4d 53 20 41 | END OF| TERMS A|
|00002b90| 4e 44 20 43 4f 4e 44 49 | 54 49 4f 4e 53 0a 58 0c |ND CONDI|TIONS.X.|
|00002ba0| 0a 58 09 41 70 70 65 6e | 64 69 78 3a 20 48 6f 77 |.X.Appen|dix: How|
|00002bb0| 20 74 6f 20 41 70 70 6c | 79 20 54 68 65 73 65 20 | to Appl|y These |
|00002bc0| 54 65 72 6d 73 20 74 6f | 20 59 6f 75 72 20 4e 65 |Terms to| Your Ne|
|00002bd0| 77 20 50 72 6f 67 72 61 | 6d 73 0a 58 0a 58 20 20 |w Progra|ms.X.X |
|00002be0| 49 66 20 79 6f 75 20 64 | 65 76 65 6c 6f 70 20 61 |If you d|evelop a|
|00002bf0| 20 6e 65 77 20 70 72 6f | 67 72 61 6d 2c 20 61 6e | new pro|gram, an|
|00002c00| 64 20 79 6f 75 20 77 61 | 6e 74 20 69 74 20 74 6f |d you wa|nt it to|
|00002c10| 20 62 65 20 6f 66 20 74 | 68 65 20 67 72 65 61 74 | be of t|he great|
|00002c20| 65 73 74 0a 70 6f 73 73 | 69 62 6c 65 20 75 73 65 |est.poss|ible use|
|00002c30| 20 74 6f 20 68 75 6d 61 | 6e 69 74 79 2c 20 74 68 | to huma|nity, th|
|00002c40| 65 20 62 65 73 74 20 77 | 61 79 20 74 6f 20 61 63 |e best w|ay to ac|
|00002c50| 68 69 65 76 65 20 74 68 | 69 73 20 69 73 20 74 6f |hieve th|is is to|
|00002c60| 20 6d 61 6b 65 20 69 74 | 0a 66 72 65 65 20 73 6f | make it|.free so|
|00002c70| 66 74 77 61 72 65 20 77 | 68 69 63 68 20 65 76 65 |ftware w|hich eve|
|00002c80| 72 79 6f 6e 65 20 63 61 | 6e 20 72 65 64 69 73 74 |ryone ca|n redist|
|00002c90| 72 69 62 75 74 65 20 61 | 6e 64 20 63 68 61 6e 67 |ribute a|nd chang|
|00002ca0| 65 20 75 6e 64 65 72 20 | 74 68 65 73 65 0a 74 65 |e under |these.te|
|00002cb0| 72 6d 73 2e 0a 58 0a 58 | 20 20 54 6f 20 64 6f 20 |rms..X.X| To do |
|00002cc0| 73 6f 2c 20 61 74 74 61 | 63 68 20 74 68 65 20 66 |so, atta|ch the f|
|00002cd0| 6f 6c 6c 6f 77 69 6e 67 | 20 6e 6f 74 69 63 65 73 |ollowing| notices|
|00002ce0| 20 74 6f 20 74 68 65 20 | 70 72 6f 67 72 61 6d 2e | to the |program.|
|00002cf0| 20 20 49 74 20 69 73 20 | 73 61 66 65 73 74 20 74 | It is |safest t|
|00002d00| 6f 0a 61 74 74 61 63 68 | 20 74 68 65 6d 20 74 6f |o.attach| them to|
|00002d10| 20 74 68 65 20 73 74 61 | 72 74 20 6f 66 20 65 61 | the sta|rt of ea|
|00002d20| 63 68 20 73 6f 75 72 63 | 65 20 66 69 6c 65 20 74 |ch sourc|e file t|
|00002d30| 6f 20 6d 6f 73 74 20 65 | 66 66 65 63 74 69 76 65 |o most e|ffective|
|00002d40| 6c 79 20 63 6f 6e 76 65 | 79 0a 74 68 65 20 65 78 |ly conve|y.the ex|
|00002d50| 63 6c 75 73 69 6f 6e 20 | 6f 66 20 77 61 72 72 61 |clusion |of warra|
|00002d60| 6e 74 79 3b 20 61 6e 64 | 20 65 61 63 68 20 66 69 |nty; and| each fi|
|00002d70| 6c 65 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 61 |le shoul|d have a|
|00002d80| 74 20 6c 65 61 73 74 20 | 74 68 65 0a 58 22 63 6f |t least |the.X"co|
|00002d90| 70 79 72 69 67 68 74 22 | 20 6c 69 6e 65 20 61 6e |pyright"| line an|
|00002da0| 64 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 77 |d a poin|ter to w|
|00002db0| 68 65 72 65 20 74 68 65 | 20 66 75 6c 6c 20 6e 6f |here the| full no|
|00002dc0| 74 69 63 65 20 69 73 20 | 66 6f 75 6e 64 2e 0a 58 |tice is |found..X|
|00002dd0| 0a 58 20 20 20 20 3c 6f | 6e 65 20 6c 69 6e 65 20 |.X <o|ne line |
|00002de0| 74 6f 20 67 69 76 65 20 | 74 68 65 20 70 72 6f 67 |to give |the prog|
|00002df0| 72 61 6d 27 73 20 6e 61 | 6d 65 20 61 6e 64 20 61 |ram's na|me and a|
|00002e00| 20 62 72 69 65 66 20 69 | 64 65 61 20 6f 66 20 77 | brief i|dea of w|
|00002e10| 68 61 74 20 69 74 20 64 | 6f 65 73 2e 3e 0a 58 20 |hat it d|oes.>.X |
|00002e20| 20 20 20 43 6f 70 79 72 | 69 67 68 74 20 28 43 29 | Copyr|ight (C)|
|00002e30| 20 31 39 79 79 20 20 3c | 6e 61 6d 65 20 6f 66 20 | 19yy <|name of |
|00002e40| 61 75 74 68 6f 72 3e 0a | 58 0a 58 20 20 20 20 54 |author>.|X.X T|
|00002e50| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 66 |his prog|ram is f|
|00002e60| 72 65 65 20 73 6f 66 74 | 77 61 72 65 3b 20 79 6f |ree soft|ware; yo|
|00002e70| 75 20 63 61 6e 20 72 65 | 64 69 73 74 72 69 62 75 |u can re|distribu|
|00002e80| 74 65 20 69 74 20 61 6e | 64 2f 6f 72 20 6d 6f 64 |te it an|d/or mod|
|00002e90| 69 66 79 0a 58 20 20 20 | 20 69 74 20 75 6e 64 65 |ify.X | it unde|
|00002ea0| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00002eb0| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|00002ec0| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 61 73 |ublic Li|cense as|
|00002ed0| 20 70 75 62 6c 69 73 68 | 65 64 20 62 79 0a 58 20 | publish|ed by.X |
|00002ee0| 20 20 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 | the F|ree Soft|
|00002ef0| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 3b |ware Fou|ndation;|
|00002f00| 20 65 69 74 68 65 72 20 | 76 65 72 73 69 6f 6e 20 | either |version |
|00002f10| 31 2c 20 6f 72 20 28 61 | 74 20 79 6f 75 72 20 6f |1, or (a|t your o|
|00002f20| 70 74 69 6f 6e 29 0a 58 | 20 20 20 20 61 6e 79 20 |ption).X| any |
|00002f30| 6c 61 74 65 72 20 76 65 | 72 73 69 6f 6e 2e 0a 58 |later ve|rsion..X|
|00002f40| 0a 58 20 20 20 20 54 68 | 69 73 20 70 72 6f 67 72 |.X Th|is progr|
|00002f50| 61 6d 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |am is di|stribute|
|00002f60| 64 20 69 6e 20 74 68 65 | 20 68 6f 70 65 20 74 68 |d in the| hope th|
|00002f70| 61 74 20 69 74 20 77 69 | 6c 6c 20 62 65 20 75 73 |at it wi|ll be us|
|00002f80| 65 66 75 6c 2c 0a 58 20 | 20 20 20 62 75 74 20 57 |eful,.X | but W|
|00002f90| 49 54 48 4f 55 54 20 41 | 4e 59 20 57 41 52 52 41 |ITHOUT A|NY WARRA|
|00002fa0| 4e 54 59 3b 20 77 69 74 | 68 6f 75 74 20 65 76 65 |NTY; wit|hout eve|
|00002fb0| 6e 20 74 68 65 20 69 6d | 70 6c 69 65 64 20 77 61 |n the im|plied wa|
|00002fc0| 72 72 61 6e 74 79 20 6f | 66 0a 58 20 20 20 20 4d |rranty o|f.X M|
|00002fd0| 45 52 43 48 41 4e 54 41 | 42 49 4c 49 54 59 20 6f |ERCHANTA|BILITY o|
|00002fe0| 72 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |r FITNES|S FOR A |
|00002ff0| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00003000| 53 45 2e 20 20 53 65 65 | 20 74 68 65 0a 58 20 20 |SE. See| the.X |
|00003010| 20 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 | GNU Ge|neral Pu|
|00003020| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 66 6f 72 |blic Lic|ense for|
|00003030| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 58 | more de|tails..X|
|00003040| 0a 58 20 20 20 20 59 6f | 75 20 73 68 6f 75 6c 64 |.X Yo|u should|
|00003050| 20 68 61 76 65 20 72 65 | 63 65 69 76 65 64 20 61 | have re|ceived a|
|00003060| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 47 4e 55 | copy of| the GNU|
|00003070| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00003080| 4c 69 63 65 6e 73 65 0a | 58 20 20 20 20 61 6c 6f |License.|X alo|
|00003090| 6e 67 20 77 69 74 68 20 | 74 68 69 73 20 70 72 6f |ng with |this pro|
|000030a0| 67 72 61 6d 3b 20 69 66 | 20 6e 6f 74 2c 20 77 72 |gram; if| not, wr|
|000030b0| 69 74 65 20 74 6f 20 74 | 68 65 20 46 72 65 65 20 |ite to t|he Free |
|000030c0| 53 6f 66 74 77 61 72 65 | 0a 58 20 20 20 20 46 6f |Software|.X Fo|
|000030d0| 75 6e 64 61 74 69 6f 6e | 2c 20 49 6e 63 2e 2c 20 |undation|, Inc., |
|000030e0| 36 37 35 20 4d 61 73 73 | 20 41 76 65 2c 20 43 61 |675 Mass| Ave, Ca|
|000030f0| 6d 62 72 69 64 67 65 2c | 20 4d 41 20 30 32 31 33 |mbridge,| MA 0213|
|00003100| 39 2c 20 55 53 41 2e 0a | 58 0a 41 6c 73 6f 20 61 |9, USA..|X.Also a|
|00003110| 64 64 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |dd infor|mation o|
|00003120| 6e 20 68 6f 77 20 74 6f | 20 63 6f 6e 74 61 63 74 |n how to| contact|
|00003130| 20 79 6f 75 20 62 79 20 | 65 6c 65 63 74 72 6f 6e | you by |electron|
|00003140| 69 63 20 61 6e 64 20 70 | 61 70 65 72 20 6d 61 69 |ic and p|aper mai|
|00003150| 6c 2e 0a 58 0a 49 66 20 | 74 68 65 20 70 72 6f 67 |l..X.If |the prog|
|00003160| 72 61 6d 20 69 73 20 69 | 6e 74 65 72 61 63 74 69 |ram is i|nteracti|
|00003170| 76 65 2c 20 6d 61 6b 65 | 20 69 74 20 6f 75 74 70 |ve, make| it outp|
|00003180| 75 74 20 61 20 73 68 6f | 72 74 20 6e 6f 74 69 63 |ut a sho|rt notic|
|00003190| 65 20 6c 69 6b 65 20 74 | 68 69 73 0a 77 68 65 6e |e like t|his.when|
|000031a0| 20 69 74 20 73 74 61 72 | 74 73 20 69 6e 20 61 6e | it star|ts in an|
|000031b0| 20 69 6e 74 65 72 61 63 | 74 69 76 65 20 6d 6f 64 | interac|tive mod|
|000031c0| 65 3a 0a 58 0a 58 20 20 | 20 20 47 6e 6f 6d 6f 76 |e:.X.X | Gnomov|
|000031d0| 69 73 69 6f 6e 20 76 65 | 72 73 69 6f 6e 20 36 39 |ision ve|rsion 69|
|000031e0| 2c 20 43 6f 70 79 72 69 | 67 68 74 20 28 43 29 20 |, Copyri|ght (C) |
|000031f0| 31 39 78 78 20 6e 61 6d | 65 20 6f 66 20 61 75 74 |19xx nam|e of aut|
|00003200| 68 6f 72 0a 58 20 20 20 | 20 47 6e 6f 6d 6f 76 69 |hor.X | Gnomovi|
|00003210| 73 69 6f 6e 20 63 6f 6d | 65 73 20 77 69 74 68 20 |sion com|es with |
|00003220| 41 42 53 4f 4c 55 54 45 | 4c 59 20 4e 4f 20 57 41 |ABSOLUTE|LY NO WA|
|00003230| 52 52 41 4e 54 59 3b 20 | 66 6f 72 20 64 65 74 61 |RRANTY; |for deta|
|00003240| 69 6c 73 20 74 79 70 65 | 20 60 73 68 6f 77 20 77 |ils type| `show w|
|00003250| 27 2e 0a 58 20 20 20 20 | 54 68 69 73 20 69 73 20 |'..X |This is |
|00003260| 66 72 65 65 20 73 6f 66 | 74 77 61 72 65 2c 20 61 |free sof|tware, a|
|00003270| 6e 64 20 79 6f 75 20 61 | 72 65 20 77 65 6c 63 6f |nd you a|re welco|
|00003280| 6d 65 20 74 6f 20 72 65 | 64 69 73 74 72 69 62 75 |me to re|distribu|
|00003290| 74 65 20 69 74 0a 58 20 | 20 20 20 75 6e 64 65 72 |te it.X | under|
|000032a0| 20 63 65 72 74 61 69 6e | 20 63 6f 6e 64 69 74 69 | certain| conditi|
|000032b0| 6f 6e 73 3b 20 74 79 70 | 65 20 60 73 68 6f 77 20 |ons; typ|e `show |
|000032c0| 63 27 20 66 6f 72 20 64 | 65 74 61 69 6c 73 2e 0a |c' for d|etails..|
|000032d0| 58 0a 54 68 65 20 68 79 | 70 6f 74 68 65 74 69 63 |X.The hy|pothetic|
|000032e0| 61 6c 20 63 6f 6d 6d 61 | 6e 64 73 20 60 73 68 6f |al comma|nds `sho|
|000032f0| 77 20 77 27 20 61 6e 64 | 20 60 73 68 6f 77 20 63 |w w' and| `show c|
|00003300| 27 20 73 68 6f 75 6c 64 | 20 73 68 6f 77 20 74 68 |' should| show th|
|00003310| 65 0a 61 70 70 72 6f 70 | 72 69 61 74 65 20 70 61 |e.approp|riate pa|
|00003320| 72 74 73 20 6f 66 20 74 | 68 65 20 47 65 6e 65 72 |rts of t|he Gener|
|00003330| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00003340| 65 2e 20 20 4f 66 20 63 | 6f 75 72 73 65 2c 20 74 |e. Of c|ourse, t|
|00003350| 68 65 0a 63 6f 6d 6d 61 | 6e 64 73 20 79 6f 75 20 |he.comma|nds you |
|00003360| 75 73 65 20 6d 61 79 20 | 62 65 20 63 61 6c 6c 65 |use may |be calle|
|00003370| 64 20 73 6f 6d 65 74 68 | 69 6e 67 20 6f 74 68 65 |d someth|ing othe|
|00003380| 72 20 74 68 61 6e 20 60 | 73 68 6f 77 20 77 27 20 |r than `|show w' |
|00003390| 61 6e 64 20 60 73 68 6f | 77 0a 63 27 3b 20 74 68 |and `sho|w.c'; th|
|000033a0| 65 79 20 63 6f 75 6c 64 | 20 65 76 65 6e 20 62 65 |ey could| even be|
|000033b0| 20 6d 6f 75 73 65 2d 63 | 6c 69 63 6b 73 20 6f 72 | mouse-c|licks or|
|000033c0| 20 6d 65 6e 75 20 69 74 | 65 6d 73 2d 2d 77 68 61 | menu it|ems--wha|
|000033d0| 74 65 76 65 72 20 73 75 | 69 74 73 20 79 6f 75 72 |tever su|its your|
|000033e0| 0a 70 72 6f 67 72 61 6d | 2e 0a 58 0a 59 6f 75 20 |.program|..X.You |
|000033f0| 73 68 6f 75 6c 64 20 61 | 6c 73 6f 20 67 65 74 20 |should a|lso get |
|00003400| 79 6f 75 72 20 65 6d 70 | 6c 6f 79 65 72 20 28 69 |your emp|loyer (i|
|00003410| 66 20 79 6f 75 20 77 6f | 72 6b 20 61 73 20 61 20 |f you wo|rk as a |
|00003420| 70 72 6f 67 72 61 6d 6d | 65 72 29 20 6f 72 20 79 |programm|er) or y|
|00003430| 6f 75 72 0a 73 63 68 6f | 6f 6c 2c 20 69 66 20 61 |our.scho|ol, if a|
|00003440| 6e 79 2c 20 74 6f 20 73 | 69 67 6e 20 61 20 22 63 |ny, to s|ign a "c|
|00003450| 6f 70 79 72 69 67 68 74 | 20 64 69 73 63 6c 61 69 |opyright| disclai|
|00003460| 6d 65 72 22 20 66 6f 72 | 20 74 68 65 20 70 72 6f |mer" for| the pro|
|00003470| 67 72 61 6d 2c 20 69 66 | 0a 6e 65 63 65 73 73 61 |gram, if|.necessa|
|00003480| 72 79 2e 20 20 48 65 72 | 65 20 61 20 73 61 6d 70 |ry. Her|e a samp|
|00003490| 6c 65 3b 20 61 6c 74 65 | 72 20 74 68 65 20 6e 61 |le; alte|r the na|
|000034a0| 6d 65 73 3a 0a 58 0a 58 | 20 20 59 6f 79 6f 64 79 |mes:.X.X| Yoyody|
|000034b0| 6e 65 2c 20 49 6e 63 2e | 2c 20 68 65 72 65 62 79 |ne, Inc.|, hereby|
|000034c0| 20 64 69 73 63 6c 61 69 | 6d 73 20 61 6c 6c 20 63 | disclai|ms all c|
|000034d0| 6f 70 79 72 69 67 68 74 | 20 69 6e 74 65 72 65 73 |opyright| interes|
|000034e0| 74 20 69 6e 20 74 68 65 | 0a 58 20 20 70 72 6f 67 |t in the|.X prog|
|000034f0| 72 61 6d 20 60 47 6e 6f | 6d 6f 76 69 73 69 6f 6e |ram `Gno|movision|
|00003500| 27 20 28 61 20 70 72 6f | 67 72 61 6d 20 74 6f 20 |' (a pro|gram to |
|00003510| 64 69 72 65 63 74 20 63 | 6f 6d 70 69 6c 65 72 73 |direct c|ompilers|
|00003520| 20 74 6f 20 6d 61 6b 65 | 20 70 61 73 73 65 73 0a | to make| passes.|
|00003530| 58 20 20 61 74 20 61 73 | 73 65 6d 62 6c 65 72 73 |X at as|semblers|
|00003540| 29 20 77 72 69 74 74 65 | 6e 20 62 79 20 4a 61 6d |) writte|n by Jam|
|00003550| 65 73 20 48 61 63 6b 65 | 72 2e 0a 58 0a 58 20 20 |es Hacke|r..X.X |
|00003560| 3c 73 69 67 6e 61 74 75 | 72 65 20 6f 66 20 54 79 |<signatu|re of Ty|
|00003570| 20 43 6f 6f 6e 3e 2c 20 | 31 20 41 70 72 69 6c 20 | Coon>, |1 April |
|00003580| 31 39 38 39 0a 58 20 20 | 54 79 20 43 6f 6f 6e 2c |1989.X |Ty Coon,|
|00003590| 20 50 72 65 73 69 64 65 | 6e 74 20 6f 66 20 56 69 | Preside|nt of Vi|
|000035a0| 63 65 0a 58 0a 54 68 61 | 74 27 73 20 61 6c 6c 20 |ce.X.Tha|t's all |
|000035b0| 74 68 65 72 65 20 69 73 | 20 74 6f 20 69 74 21 0a |there is| to it!.|
|000035c0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|000035d0| 65 73 74 20 31 32 34 38 | 38 20 2d 6e 65 20 60 77 |est 1248|8 -ne `w|
|000035e0| 63 20 2d 63 20 3c 27 43 | 4f 50 59 49 4e 47 27 60 |c -c <'C|OPYING'`|
|000035f0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00003600| 73 68 61 72 3a 20 5c 22 | 27 43 4f 50 59 49 4e 47 |shar: \"|'COPYING|
|00003610| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00003620| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00003630| 0a 23 20 65 6e 64 20 6f | 66 20 27 43 4f 50 59 49 |.# end o|f 'COPYI|
|00003640| 4e 47 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |NG'.fi.i|f test -|
|00003650| 66 20 27 4d 61 6b 65 66 | 69 6c 65 27 20 2d 61 20 |f 'Makef|ile' -a |
|00003660| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00003670| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00003680| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00003690| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|000036a0| 6c 65 20 5c 22 27 4d 61 | 6b 65 66 69 6c 65 27 5c |le \"'Ma|kefile'\|
|000036b0| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|000036c0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|000036d0| 4d 61 6b 65 66 69 6c 65 | 27 5c 22 20 5c 28 31 36 |Makefile|'\" \(16|
|000036e0| 32 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |2 charac|ters\).s|
|000036f0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 4d 61 |ed "s/^X|//" >'Ma|
|00003700| 6b 65 66 69 6c 65 27 20 | 3c 3c 27 45 4e 44 5f 4f |kefile' |<<'END_O|
|00003710| 46 5f 46 49 4c 45 27 0a | 58 0a 43 46 4c 41 47 53 |F_FILE'.|X.CFLAGS|
|00003720| 3d 09 2d 4f 0a 43 43 3d | 09 67 63 63 0a 61 6c 6c |=.-O.CC=|.gcc.all|
|00003730| 3a 20 63 6c 61 73 73 69 | 66 79 0a 58 0a 63 6c 61 |: classi|fy.X.cla|
|00003740| 73 73 69 66 79 3a 20 63 | 6c 61 73 73 69 66 79 2e |ssify: c|lassify.|
|00003750| 63 0a 58 09 24 28 43 43 | 29 20 24 28 43 46 4c 41 |c.X.$(CC|) $(CFLA|
|00003760| 47 53 29 20 63 6c 61 73 | 73 69 66 79 2e 63 20 2d |GS) clas|sify.c -|
|00003770| 6f 20 63 6c 61 73 73 69 | 66 79 0a 58 0a 63 6c 65 |o classi|fy.X.cle|
|00003780| 61 6e 3a 20 0a 58 09 72 | 6d 20 2d 66 20 63 6c 61 |an: .X.r|m -f cla|
|00003790| 73 73 69 66 79 20 2a 2e | 6f 20 61 2e 6f 75 74 20 |ssify *.|o a.out |
|000037a0| 63 6f 72 65 20 2a 7e 0a | 58 0a 58 2e 53 43 43 53 |core *~.|X.X.SCCS|
|000037b0| 5f 47 45 54 3a 0a 58 09 | 63 6f 20 2d 6c 20 24 2a |_GET:.X.|co -l $*|
|000037c0| 0a 58 0a 45 4e 44 5f 4f | 46 5f 46 49 4c 45 0a 69 |.X.END_O|F_FILE.i|
|000037d0| 66 20 74 65 73 74 20 31 | 36 32 20 2d 6e 65 20 60 |f test 1|62 -ne `|
|000037e0| 77 63 20 2d 63 20 3c 27 | 4d 61 6b 65 66 69 6c 65 |wc -c <'|Makefile|
|000037f0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00003800| 6f 20 73 68 61 72 3a 20 | 5c 22 27 4d 61 6b 65 66 |o shar: |\"'Makef|
|00003810| 69 6c 65 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |ile'\" u|npacked |
|00003820| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00003830| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 4d 61 |.fi.# en|d of 'Ma|
|00003840| 6b 65 66 69 6c 65 27 0a | 66 69 0a 69 66 20 74 65 |kefile'.|fi.if te|
|00003850| 73 74 20 2d 66 20 27 52 | 45 41 44 4d 45 27 20 2d |st -f 'R|EADME' -|
|00003860| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00003870| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00003880| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00003890| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|000038a0| 66 69 6c 65 20 5c 22 27 | 52 45 41 44 4d 45 27 5c |file \"'|README'\|
|000038b0| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|000038c0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|000038d0| 52 45 41 44 4d 45 27 5c | 22 20 5c 28 31 35 31 34 |README'\|" \(1514|
|000038e0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000038f0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 52 45 41 |d "s/^X/|/" >'REA|
|00003900| 44 4d 45 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |DME' <<'|END_OF_F|
|00003910| 49 4c 45 27 0a 58 20 20 | 20 20 60 63 6c 61 73 73 |ILE'.X | `class|
|00003920| 69 66 79 27 20 69 73 20 | 61 20 75 74 69 6c 69 74 |ify' is |a utilit|
|00003930| 79 20 66 6f 72 20 63 6f | 6d 70 61 72 69 6e 67 20 |y for co|mparing |
|00003940| 6d 61 6e 79 20 66 69 6c | 65 73 20 74 6f 20 65 61 |many fil|es to ea|
|00003950| 63 68 0a 6f 74 68 65 72 | 20 61 6c 6c 20 61 74 20 |ch.other| all at |
|00003960| 6f 6e 63 65 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |once. F|or examp|
|00003970| 6c 65 2c 20 69 66 20 79 | 6f 75 20 6d 61 6e 61 67 |le, if y|ou manag|
|00003980| 65 20 61 20 63 6f 6c 6c | 65 63 74 69 6f 6e 0a 6f |e a coll|ection.o|
|00003990| 66 20 64 69 73 6b 6c 65 | 73 73 20 77 6f 72 6b 73 |f diskle|ss works|
|000039a0| 74 61 74 69 6f 6e 73 2c | 20 79 6f 75 20 63 61 6e |tations,| you can|
|000039b0| 20 73 65 65 20 77 68 69 | 63 68 20 6d 61 63 68 69 | see whi|ch machi|
|000039c0| 6e 65 73 20 61 72 65 0a | 75 73 69 6e 67 20 74 68 |nes are.|using th|
|000039d0| 65 20 73 61 6d 65 20 72 | 63 2e 6c 6f 63 61 6c 20 |e same r|c.local |
|000039e0| 66 69 6c 65 20 62 79 20 | 65 78 65 63 75 74 69 6e |file by |executin|
|000039f0| 67 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 0a 58 0a |g the co|mmand.X.|
|00003a00| 58 09 63 6c 61 73 73 69 | 66 79 20 2f 65 78 70 6f |X.classi|fy /expo|
|00003a10| 72 74 2f 72 6f 6f 74 2f | 2a 2f 65 74 63 2f 72 63 |rt/root/|*/etc/rc|
|00003a20| 2e 6c 6f 63 61 6c 0a 58 | 0a 58 28 6f 72 20 73 6f |.local.X|.X(or so|
|00003a30| 6d 65 74 68 69 6e 67 20 | 6c 69 6b 65 20 69 74 20 |mething |like it |
|00003a40| 29 20 6f 6e 20 74 68 65 | 20 73 65 72 76 65 72 20 |) on the| server |
|00003a50| 6d 61 63 68 69 6e 65 2e | 0a 58 0a 58 20 20 20 20 |machine.|.X.X |
|00003a60| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 65 |If you w|ant to e|
|00003a70| 64 69 74 20 74 68 65 20 | 6d 6f 74 64 20 66 69 6c |dit the |motd fil|
|00003a80| 65 73 20 6f 6e 20 74 68 | 65 73 65 0a 77 6f 72 6b |es on th|ese.work|
|00003a90| 73 74 61 74 69 6f 6e 73 | 2c 20 79 6f 75 20 63 61 |stations|, you ca|
|00003aa0| 6e 20 75 73 65 20 61 20 | 73 63 72 69 70 74 20 6c |n use a |script l|
|00003ab0| 69 6b 65 20 74 68 69 73 | 3a 0a 58 0a 58 09 66 6f |ike this|:.X.X.fo|
|00003ac0| 72 65 61 63 68 20 69 20 | 28 20 60 63 6c 61 73 73 |reach i |( `class|
|00003ad0| 69 66 79 20 2d 31 20 2f | 65 78 70 6f 72 74 2f 72 |ify -1 /|export/r|
|00003ae0| 6f 6f 74 2f 2a 2f 65 74 | 63 2f 6d 6f 74 64 60 20 |oot/*/et|c/motd` |
|00003af0| 29 0a 58 09 09 73 65 74 | 20 69 66 61 6d 69 6c 79 |).X..set| ifamily|
|00003b00| 3d 60 63 6c 61 73 73 69 | 66 79 20 2d 6d 20 24 69 |=`classi|fy -m $i|
|00003b10| 20 2f 65 78 70 6f 72 74 | 2f 72 6f 6f 74 2f 2a 2f | /export|/root/*/|
|00003b20| 65 74 63 2f 6d 6f 74 64 | 60 0a 58 09 09 24 45 44 |etc/motd|`.X..$ED|
|00003b30| 49 54 4f 52 20 24 69 0a | 58 09 09 66 6f 72 65 61 |ITOR $i.|X..forea|
|00003b40| 63 68 20 6a 20 28 24 69 | 66 61 6d 69 6c 79 29 0a |ch j ($i|family).|
|00003b50| 58 09 09 09 63 70 20 24 | 69 20 24 6a 0a 58 09 09 |X...cp $|i $j.X..|
|00003b60| 65 6e 64 0a 58 09 65 6e | 64 0a 58 0a 77 68 69 63 |end.X.en|d.X.whic|
|00003b70| 68 20 67 72 6f 75 70 73 | 20 74 68 65 20 6d 6f 74 |h groups| the mot|
|00003b80| 64 20 66 69 6c 65 73 20 | 69 6e 74 6f 20 63 6c 61 |d files |into cla|
|00003b90| 73 73 65 73 20 6f 66 20 | 69 64 65 6e 74 69 63 61 |sses of |identica|
|00003ba0| 6c 20 66 69 6c 65 73 2c | 0a 69 6e 76 6f 6b 65 73 |l files,|.invokes|
|00003bb0| 20 74 68 65 20 65 64 69 | 74 6f 72 20 6f 6e 20 6f | the edi|tor on o|
|00003bc0| 6e 65 20 6d 6f 74 64 20 | 66 72 6f 6d 20 65 61 63 |ne motd |from eac|
|00003bd0| 68 20 63 6c 61 73 73 2c | 20 61 6e 64 20 74 68 65 |h class,| and the|
|00003be0| 6e 0a 70 72 6f 70 61 67 | 61 74 65 73 20 74 68 65 |n.propag|ates the|
|00003bf0| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 65 20 | changes| to the |
|00003c00| 6f 74 68 65 72 20 6d 6f | 74 64 73 20 69 6e 20 65 |other mo|tds in e|
|00003c10| 61 63 68 20 63 6c 61 73 | 73 2e 0a 58 0a 58 20 20 |ach clas|s..X.X |
|00003c20| 20 20 54 68 65 20 60 74 | 65 73 74 3f 27 20 66 69 | The `t|est?' fi|
|00003c30| 6c 65 73 20 61 72 65 20 | 73 61 6d 70 6c 65 20 69 |les are |sample i|
|00003c40| 6e 70 75 74 73 20 73 6f | 20 79 6f 75 20 63 61 6e |nputs so| you can|
|00003c50| 20 73 65 65 20 77 68 61 | 74 0a 58 60 63 6c 61 73 | see wha|t.X`clas|
|00003c60| 73 69 66 79 27 20 69 73 | 20 64 6f 69 6e 67 2e 20 |sify' is| doing. |
|00003c70| 20 53 6f 6d 65 20 6f 66 | 20 74 68 65 20 60 74 65 | Some of| the `te|
|00003c80| 73 74 27 20 66 69 6c 65 | 73 20 64 69 66 66 65 72 |st' file|s differ|
|00003c90| 20 6f 6e 6c 79 0a 69 6e | 20 74 68 65 20 63 61 73 | only.in| the cas|
|00003ca0| 65 20 6f 66 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |e of som|e of the|
|00003cb0| 69 72 20 6c 65 74 74 65 | 72 73 3b 20 73 6f 6d 65 |ir lette|rs; some|
|00003cc0| 20 68 61 76 65 20 65 78 | 74 72 61 6e 65 6f 75 73 | have ex|traneous|
|00003cd0| 0a 77 68 69 74 65 73 70 | 61 63 65 20 6f 66 20 76 |.whitesp|ace of v|
|00003ce0| 61 72 69 6f 75 73 20 74 | 79 70 65 73 2c 20 73 6f |arious t|ypes, so|
|00003cf0| 6d 65 20 61 72 65 20 72 | 65 61 6c 6c 79 20 74 68 |me are r|eally th|
|00003d00| 65 20 73 61 6d 65 20 61 | 73 0a 65 61 63 68 20 6f |e same a|s.each o|
|00003d10| 74 68 65 72 20 61 6e 64 | 73 20 73 6f 6d 65 20 61 |ther and|s some a|
|00003d20| 72 65 20 67 65 6e 75 69 | 6e 65 6c 79 20 64 69 66 |re genui|nely dif|
|00003d30| 66 65 72 65 6e 74 2e 0a | 58 0a 54 6f 2d 44 6f 3a |ferent..|X.To-Do:|
|00003d40| 0a 58 0a 58 20 20 20 20 | 60 63 6c 61 73 73 69 66 |.X.X |`classif|
|00003d50| 79 27 20 6d 69 67 68 74 | 20 68 61 76 65 20 62 65 |y' might| have be|
|00003d60| 74 74 65 72 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 |tter per|formance|
|00003d70| 20 69 66 20 69 74 20 64 | 69 64 0a 58 60 73 74 61 | if it d|id.X`sta|
|00003d80| 74 27 20 6f 6e 20 66 69 | 6c 65 73 20 69 74 20 77 |t' on fi|les it w|
|00003d90| 61 73 20 63 6f 6d 70 61 | 72 69 6e 67 20 74 6f 20 |as compa|ring to |
|00003da0| 73 65 65 20 77 68 61 74 | 20 74 68 65 69 72 20 69 |see what| their i|
|00003db0| 2d 6e 75 6d 62 65 72 73 | 0a 77 65 72 65 3b 20 69 |-numbers|.were; i|
|00003dc0| 66 20 74 77 6f 20 66 69 | 6c 65 73 20 61 72 65 20 |f two fi|les are |
|00003dd0| 6f 6e 20 74 68 65 20 73 | 61 6d 65 20 64 65 76 69 |on the s|ame devi|
|00003de0| 63 65 20 61 6e 64 20 68 | 61 76 65 20 74 68 65 20 |ce and h|ave the |
|00003df0| 73 61 6d 65 0a 69 2d 6e | 75 6d 62 65 72 2c 20 74 |same.i-n|umber, t|
|00003e00| 68 65 6e 20 74 68 65 79 | 20 61 72 65 20 6e 65 63 |hen they| are nec|
|00003e10| 65 73 73 61 72 69 6c 79 | 20 69 64 65 6e 74 69 63 |essarily| identic|
|00003e20| 61 6c 2c 20 61 6e 64 20 | 64 6f 6e 27 74 0a 6e 65 |al, and |don't.ne|
|00003e30| 65 64 20 74 6f 20 62 65 | 20 63 6f 6d 70 61 72 65 |ed to be| compare|
|00003e40| 64 20 63 68 61 72 61 63 | 74 65 72 2d 62 79 2d 63 |d charac|ter-by-c|
|00003e50| 68 61 72 61 63 74 65 72 | 2e 20 20 49 74 20 6d 69 |haracter|. It mi|
|00003e60| 67 68 74 20 61 6c 73 6f | 0a 62 65 20 77 6f 72 74 |ght also|.be wort|
|00003e70| 68 77 68 69 6c 65 20 74 | 6f 20 6b 65 65 70 20 61 |hwhile t|o keep a|
|00003e80| 20 63 61 63 68 65 20 6f | 66 20 74 68 65 20 66 69 | cache o|f the fi|
|00003e90| 72 73 74 20 62 6c 6f 63 | 6b 20 6f 72 20 73 6f 20 |rst bloc|k or so |
|00003ea0| 6f 66 0a 6f 6e 65 20 66 | 69 6c 65 20 66 72 6f 6d |of.one f|ile from|
|00003eb0| 20 65 61 63 68 20 63 6c | 61 73 73 2c 20 74 6f 20 | each cl|ass, to |
|00003ec0| 73 61 76 65 20 72 65 70 | 65 61 74 65 64 6c 79 20 |save rep|eatedly |
|00003ed0| 6f 70 65 6e 69 6e 67 20 | 61 6e 64 0a 63 6c 6f 73 |opening |and.clos|
|00003ee0| 69 6e 67 20 66 69 6c 65 | 73 2e 0a 58 0a 4d 61 72 |ing file|s..X.Mar|
|00003ef0| 6b 2d 4a 61 73 6f 6e 20 | 44 6f 6d 69 6e 75 73 0a |k-Jason |Dominus.|
|00003f00| 6d 6a 64 40 73 61 75 6c | 2e 63 69 73 2e 75 70 65 |mjd@saul|.cis.upe|
|00003f10| 6e 6e 2e 65 64 75 0a 45 | 4e 44 5f 4f 46 5f 46 49 |nn.edu.E|ND_OF_FI|
|00003f20| 4c 45 0a 69 66 20 74 65 | 73 74 20 31 35 31 34 20 |LE.if te|st 1514 |
|00003f30| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 52 45 41 |-ne `wc |-c <'REA|
|00003f40| 44 4d 45 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |DME'`; t|hen. |
|00003f50| 65 63 68 6f 20 73 68 61 | 72 3a 20 5c 22 27 52 45 |echo sha|r: \"'RE|
|00003f60| 41 44 4d 45 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |ADME'\" |unpacked|
|00003f70| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00003f80| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 52 |!.fi.# e|nd of 'R|
|00003f90| 45 41 44 4d 45 27 0a 66 | 69 0a 69 66 20 74 65 73 |EADME'.f|i.if tes|
|00003fa0| 74 20 2d 66 20 27 63 6c | 61 73 73 69 66 79 2e 31 |t -f 'cl|assify.1|
|00003fb0| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00003fc0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00003fd0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00003fe0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00003ff0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 63 6c 61 73 73 |ng file |\"'class|
|00004000| 69 66 79 2e 31 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |ify.1'\"|.else.ec|
|00004010| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00004020| 69 6e 67 20 5c 22 27 63 | 6c 61 73 73 69 66 79 2e |ing \"'c|lassify.|
|00004030| 31 27 5c 22 20 5c 28 33 | 35 31 39 20 63 68 61 72 |1'\" \(3|519 char|
|00004040| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00004050| 5e 58 2f 2f 22 20 3e 27 | 63 6c 61 73 73 69 66 79 |^X//" >'|classify|
|00004060| 2e 31 27 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 46 49 |.1' <<'E|ND_OF_FI|
|00004070| 4c 45 27 0a 58 2e 54 48 | 20 43 4c 41 53 53 49 46 |LE'.X.TH| CLASSIF|
|00004080| 59 20 31 20 22 32 35 20 | 4e 6f 76 20 31 39 39 31 |Y 1 "25 |Nov 1991|
|00004090| 22 0a 58 2e 53 48 20 4e | 41 4d 45 20 0a 63 6c 61 |".X.SH N|AME .cla|
|000040a0| 73 73 69 66 79 20 5c 2d | 20 67 72 6f 75 70 20 66 |ssify \-| group f|
|000040b0| 69 6c 65 73 20 74 68 61 | 74 20 61 72 65 20 69 64 |iles tha|t are id|
|000040c0| 65 6e 74 69 63 61 6c 20 | 28 6d 6f 64 75 6c 6f 20 |entical |(modulo |
|000040d0| 77 68 69 74 65 73 70 61 | 63 65 29 0a 58 2e 53 48 |whitespa|ce).X.SH|
|000040e0| 20 53 59 4e 4f 50 53 49 | 53 0a 58 2e 42 20 63 6c | SYNOPSI|S.X.B cl|
|000040f0| 61 73 73 69 66 79 20 0a | 58 5b 0a 58 2e 42 20 5c |assify .|X[.X.B \|
|00004100| 2d 73 0a 58 7c 0a 58 2e | 42 20 5c 2d 6c 0a 58 7c |-s.X|.X.|B \-l.X||
|00004110| 0a 58 2e 42 20 5c 2d 31 | 0a 58 7c 0a 58 2e 42 20 |.X.B \-1|.X|.X.B |
|00004120| 5c 2d 6d 0a 58 7c 0a 58 | 2e 42 20 5c 2d 4d 0a 58 |\-m.X|.X|.B \-M.X|
|00004130| 5d 0a 58 5b 0a 58 2e 42 | 20 5c 2d 62 0a 58 7c 0a |].X[.X.B| \-b.X|.|
|00004140| 58 2e 42 20 5c 2d 77 0a | 58 5d 0a 58 5b 0a 58 2e |X.B \-w.|X].X[.X.|
|00004150| 42 20 5c 2d 66 0a 58 5d | 0a 58 2e 69 66 20 6e 20 |B \-f.X]|.X.if n |
|00004160| 2e 74 69 20 2b 35 20 0a | 58 5b 0a 58 2e 42 20 5c |.ti +5 .|X[.X.B \|
|00004170| 2d 5c 7c 5c 2d 0a 58 7c | 0a 58 2e 42 20 5c 2d 0a |-\|\-.X||.X.B \-.|
|00004180| 58 5d 0a 58 2e 49 20 66 | 69 6c 65 6e 61 6d 65 31 |X].X.I f|ilename1|
|00004190| 20 66 69 6c 65 6e 61 6d | 65 32 0a 58 5b 0a 58 2e | filenam|e2.X[.X.|
|000041a0| 49 52 20 66 69 6c 65 6e | 61 6d 65 33 20 2e 5c 7c |IR filen|ame3 .\||
|000041b0| 2e 5c 7c 2e 0a 58 5d 0a | 58 2e 53 48 20 44 45 53 |.\|..X].|X.SH DES|
|000041c0| 43 52 49 50 54 49 4f 4e | 0a 58 2e 42 20 43 6c 61 |CRIPTION|.X.B Cla|
|000041d0| 73 73 69 66 79 0a 69 73 | 20 61 20 70 72 6f 67 72 |ssify.is| a progr|
|000041e0| 61 6d 20 64 65 73 69 67 | 6e 65 64 20 74 6f 20 68 |am desig|ned to h|
|000041f0| 65 6c 70 20 6d 61 6e 61 | 67 65 20 61 20 73 65 74 |elp mana|ge a set|
|00004200| 20 6f 66 20 66 69 6c 65 | 73 20 73 75 63 68 20 61 | of file|s such a|
|00004210| 73 20 74 68 65 0a 58 2f | 65 74 63 2f 72 63 2e 6c |s the.X/|etc/rc.l|
|00004220| 6f 63 61 6c 20 6f 72 20 | 2f 65 74 63 2f 6d 6f 74 |ocal or |/etc/mot|
|00004230| 64 20 66 69 6c 65 73 20 | 66 6f 72 20 61 20 63 6f |d files |for a co|
|00004240| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 64 69 73 6b |llection| of disk|
|00004250| 6c 65 73 73 0a 77 6f 72 | 6b 73 74 61 74 69 6f 6e |less.wor|kstation|
|00004260| 73 2e 20 20 0a 58 2e 42 | 20 43 6c 61 73 73 69 66 |s. .X.B| Classif|
|00004270| 79 0a 65 78 61 6d 69 6e | 65 73 20 65 61 63 68 20 |y.examin|es each |
|00004280| 6f 66 20 74 68 65 20 66 | 69 6c 65 73 20 6e 61 6d |of the f|iles nam|
|00004290| 65 64 20 69 6e 20 69 74 | 73 20 61 72 67 75 6d 65 |ed in it|s argume|
|000042a0| 6e 74 73 2c 20 67 72 6f | 75 70 73 0a 74 68 65 6d |nts, gro|ups.them|
|000042b0| 20 69 6e 74 6f 20 0a 58 | 2e 49 52 20 63 6c 61 73 | into .X|.IR clas|
|000042c0| 73 65 73 20 2c 0a 77 69 | 74 68 20 66 69 6c 65 73 |ses ,.wi|th files|
|000042d0| 20 74 68 61 74 20 61 72 | 65 20 61 6c 6d 6f 73 74 | that ar|e almost|
|000042e0| 20 69 64 65 6e 74 69 63 | 61 6c 20 69 6e 0a 74 68 | identic|al in.th|
|000042f0| 65 20 73 61 6d 65 20 63 | 6c 61 73 73 2c 20 61 6e |e same c|lass, an|
|00004300| 64 20 66 69 6c 65 73 20 | 74 68 61 74 20 61 72 65 |d files |that are|
|00004310| 20 6e 6f 74 20 76 65 72 | 79 20 6d 75 63 68 20 61 | not ver|y much a|
|00004320| 6c 69 6b 65 20 69 6e 0a | 64 69 66 66 65 72 65 6e |like in.|differen|
|00004330| 74 20 63 6c 61 73 73 65 | 73 2c 20 61 6e 64 20 6f |t classe|s, and o|
|00004340| 75 74 70 75 74 73 20 61 | 20 62 72 69 65 66 20 72 |utputs a| brief r|
|00004350| 65 70 6f 72 74 2e 20 20 | 46 6f 72 20 65 78 61 6d |eport. |For exam|
|00004360| 70 6c 65 3a 0a 58 2e 50 | 50 0a 58 2e 42 20 73 74 |ple:.X.P|P.X.B st|
|00004370| 65 72 6e 6f 20 6e 61 70 | 61 6c 6d 0a 58 2e 62 72 |erno nap|alm.X.br|
|00004380| 0a 58 2e 42 20 6d 6f 65 | 20 6c 61 72 72 79 20 63 |.X.B moe| larry c|
|00004390| 75 72 6c 79 0a 58 2e 62 | 72 0a 58 2e 42 20 68 6f |urly.X.b|r.X.B ho|
|000043a0| 6c 79 5f 67 72 61 69 6c | 0a 58 2e 50 50 0a 54 68 |ly_grail|.X.PP.Th|
|000043b0| 69 73 20 6f 75 74 70 75 | 74 20 69 6e 64 69 63 61 |is outpu|t indica|
|000043c0| 74 65 73 20 74 68 61 74 | 20 66 69 6c 65 73 20 0a |tes that| files .|
|000043d0| 58 2e 42 52 20 73 74 65 | 72 6e 6f 20 22 20 61 6e |X.BR ste|rno " an|
|000043e0| 64 20 22 20 6e 61 70 61 | 6c 6d 20 0a 61 72 65 20 |d " napa|lm .are |
|000043f0| 69 64 65 6e 74 69 63 61 | 6c 20 69 6e 20 63 6f 6e |identica|l in con|
|00004400| 74 65 6e 74 2c 20 74 68 | 61 74 20 0a 58 2e 42 52 |tent, th|at .X.BR|
|00004410| 20 6d 6f 65 20 22 2c 20 | 22 20 6c 61 72 72 79 20 | moe ", |" larry |
|00004420| 22 2c 20 61 6e 64 20 22 | 20 63 75 72 6c 79 0a 61 |", and "| curly.a|
|00004430| 72 65 20 61 6c 6c 20 74 | 68 72 65 65 20 74 68 65 |re all t|hree the|
|00004440| 20 73 61 6d 65 20 61 73 | 20 65 61 63 68 20 6f 74 | same as| each ot|
|00004450| 68 65 72 20 62 75 74 20 | 64 69 66 66 65 72 65 6e |her but |differen|
|00004460| 74 20 66 72 6f 6d 20 0a | 58 2e 42 52 20 73 74 65 |t from .|X.BR ste|
|00004470| 72 6e 6f 20 22 20 61 6e | 64 20 22 20 6e 61 70 61 |rno " an|d " napa|
|00004480| 6c 6d 20 22 2c 20 22 0a | 61 6e 64 20 74 68 61 74 |lm ", ".|and that|
|00004490| 20 0a 58 2e 42 20 68 6f | 6c 79 5f 67 72 61 69 6c | .X.B ho|ly_grail|
|000044a0| 0a 69 73 20 64 69 66 66 | 65 72 65 6e 74 20 66 72 |.is diff|erent fr|
|000044b0| 6f 6d 20 61 6c 6c 20 74 | 68 65 20 6f 74 68 65 72 |om all t|he other|
|000044c0| 73 2e 0a 58 2e 50 50 0a | 54 68 65 20 6f 74 68 65 |s..X.PP.|The othe|
|000044d0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 6f 66 0a 58 2e |r functi|on of.X.|
|000044e0| 42 20 63 6c 61 73 73 69 | 66 79 0a 69 73 20 74 6f |B classi|fy.is to|
|000044f0| 20 70 72 6f 64 75 63 65 | 20 61 20 6c 69 73 74 20 | produce| a list |
|00004500| 6f 66 20 66 69 6c 65 73 | 20 77 68 69 63 68 20 61 |of files| which a|
|00004510| 72 65 20 61 6c 6d 6f 73 | 74 20 74 68 65 20 73 61 |re almos|t the sa|
|00004520| 6d 65 20 61 73 20 61 0a | 73 69 6e 67 6c 65 20 6f |me as a.|single o|
|00004530| 74 68 65 72 20 66 69 6c | 65 2e 0a 58 2e 42 20 43 |ther fil|e..X.B C|
|00004540| 6c 61 73 73 69 66 79 0a | 69 67 6e 6f 72 65 73 20 |lassify.|ignores |
|00004550| 66 69 6c 65 73 20 77 68 | 69 63 68 20 69 74 20 63 |files wh|ich it c|
|00004560| 61 6e 6e 6f 74 20 6f 70 | 65 6e 20 66 6f 72 20 77 |annot op|en for w|
|00004570| 68 61 74 65 76 65 72 20 | 72 65 61 73 6f 6e 2c 0a |hatever |reason,.|
|00004580| 63 6f 6e 74 69 6e 75 69 | 6e 67 20 6f 6e 20 69 74 |continui|ng on it|
|00004590| 73 20 77 61 79 2e 20 0a | 58 2e 50 50 0a 58 2e 53 |s way. .|X.PP.X.S|
|000045a0| 48 20 4f 50 54 49 4f 4e | 53 0a 58 2e 62 72 0a 58 |H OPTION|S.X.br.X|
|000045b0| 2e 54 50 0a 58 2e 42 20 | 5c 2d 6c 0a 53 65 6c 65 |.TP.X.B |\-l.Sele|
|000045c0| 63 74 20 6c 6f 6e 67 20 | 6f 75 74 70 75 74 20 66 |ct long |output f|
|000045d0| 6f 72 6d 2e 20 20 54 68 | 69 73 20 66 6f 72 6d 61 |orm. Th|is forma|
|000045e0| 74 20 69 73 20 75 6e 6e | 65 63 65 73 73 61 72 79 |t is unn|ecessary|
|000045f0| 2c 20 62 75 74 20 69 73 | 20 73 74 69 6c 6c 20 61 |, but is| still a|
|00004600| 72 6f 75 6e 64 0a 66 6f | 72 20 63 6f 6e 76 65 6e |round.fo|r conven|
|00004610| 69 65 6e 63 65 20 61 6e | 64 20 68 79 73 74 6f 72 |ience an|d hystor|
|00004620| 69 63 61 6c 20 72 65 61 | 73 6f 6e 73 2e 20 20 54 |ical rea|sons. T|
|00004630| 68 65 20 60 6c 6f 6e 67 | 27 20 66 6f 72 6d 20 6f |he `long|' form o|
|00004640| 66 20 74 68 65 20 65 78 | 61 6d 70 6c 65 0a 6f 75 |f the ex|ample.ou|
|00004650| 74 70 75 74 20 61 62 6f | 76 65 20 69 73 3a 0a 58 |tput abo|ve is:.X|
|00004660| 2e 50 50 0a 58 2e 44 53 | 0a 43 6c 61 73 73 20 31 |.PP.X.DS|.Class 1|
|00004670| 3a 0a 58 2e 62 72 0a 58 | 09 73 74 65 72 6e 6f 0a |:.X.br.X|.sterno.|
|00004680| 58 2e 62 72 0a 58 09 6e | 61 70 61 6c 6d 0a 58 2e |X.br.X.n|apalm.X.|
|00004690| 50 50 0a 43 6c 61 73 73 | 20 32 3a 0a 58 2e 62 72 |PP.Class| 2:.X.br|
|000046a0| 0a 58 09 6d 6f 65 0a 58 | 2e 62 72 0a 58 09 6c 61 |.X.moe.X|.br.X.la|
|000046b0| 72 72 79 0a 58 2e 62 72 | 0a 58 09 63 75 72 6c 79 |rry.X.br|.X.curly|
|000046c0| 0a 58 2e 50 50 0a 43 6c | 61 73 73 20 33 3a 0a 58 |.X.PP.Cl|ass 3:.X|
|000046d0| 2e 62 72 0a 58 09 68 6f | 6c 79 5f 67 72 61 69 6c |.br.X.ho|ly_grail|
|000046e0| 0a 58 2e 44 45 0a 58 2e | 54 50 0a 58 2e 42 20 5c |.X.DE.X.|TP.X.B \|
|000046f0| 2d 73 0a 53 65 6c 65 63 | 74 20 73 68 6f 72 74 20 |-s.Selec|t short |
|00004700| 6f 75 74 70 75 74 20 66 | 6f 72 6d 3a 20 20 50 72 |output f|orm: Pr|
|00004710| 69 6e 74 20 74 68 65 20 | 6e 61 6d 65 73 20 6f 66 |int the |names of|
|00004720| 20 74 68 65 20 66 69 6c | 65 73 20 69 6e 0a 65 61 | the fil|es in.ea|
|00004730| 63 68 20 63 6c 61 73 73 | 20 74 6f 67 65 74 68 65 |ch class| togethe|
|00004740| 72 20 6f 6e 20 61 20 73 | 69 6e 67 6c 65 20 6c 69 |r on a s|ingle li|
|00004750| 6e 65 2e 20 20 54 68 69 | 73 20 69 73 20 74 68 65 |ne. Thi|s is the|
|00004760| 20 64 65 66 61 75 6c 74 | 2e 20 20 53 65 65 20 74 | default|. See t|
|00004770| 68 65 0a 65 78 61 6d 70 | 6c 65 20 61 62 6f 76 65 |he.examp|le above|
|00004780| 2e 0a 58 2e 54 50 0a 58 | 2e 42 20 5c 2d 31 0a 53 |..X.TP.X|.B \-1.S|
|00004790| 65 6c 65 63 74 20 76 65 | 72 79 20 73 68 6f 72 74 |elect ve|ry short|
|000047a0| 20 6f 75 74 70 75 74 20 | 66 6f 72 6d 3a 20 20 50 | output |form: P|
|000047b0| 72 69 6e 74 20 6f 6e 20 | 74 68 65 20 73 74 61 6e |rint on |the stan|
|000047c0| 64 61 72 64 0a 6f 75 74 | 70 75 74 20 74 68 65 20 |dard.out|put the |
|000047d0| 6e 61 6d 65 20 6f 66 20 | 6f 6e 6c 79 20 6f 6e 65 |name of |only one|
|000047e0| 20 66 69 6c 65 20 0a 66 | 72 6f 6d 20 65 61 63 68 | file .f|rom each|
|000047f0| 20 63 6c 61 73 73 2e 20 | 0a 58 2e 54 50 0a 58 2e | class. |.X.TP.X.|
|00004800| 42 20 5c 2d 4d 0a 50 72 | 6f 64 75 63 65 20 6f 6e |B \-M.Pr|oduce on|
|00004810| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 6f 75 | the sta|ndard ou|
|00004820| 74 70 75 74 20 61 20 6c | 69 73 74 20 6f 66 20 61 |tput a l|ist of a|
|00004830| 6c 6c 20 74 68 65 20 0a | 58 2e 49 52 20 66 69 6c |ll the .|X.IR fil|
|00004840| 65 6e 61 6d 65 20 73 0a | 77 68 69 63 68 20 61 72 |ename s.|which ar|
|00004850| 65 20 69 64 65 6e 74 69 | 63 61 6c 20 69 6e 20 63 |e identi|cal in c|
|00004860| 6f 6e 74 65 6e 74 20 74 | 6f 20 0a 58 2e 49 52 20 |ontent t|o .X.IR |
|00004870| 66 69 6c 65 6e 61 6d 65 | 31 20 2e 0a 58 2e 54 50 |filename|1 ..X.TP|
|00004880| 0a 58 2e 42 20 5c 2d 6d | 0a 4c 69 6b 65 20 0a 58 |.X.B \-m|.Like .X|
|00004890| 2e 42 52 20 5c 2d 4d 2c | 0a 62 75 74 20 6f 6d 69 |.BR \-M,|.but omi|
|000048a0| 74 0a 58 2e 49 20 66 69 | 6c 65 6e 61 6d 65 31 0a |t.X.I fi|lename1.|
|000048b0| 69 74 73 65 6c 66 20 66 | 72 6f 6d 20 74 68 65 20 |itself f|rom the |
|000048c0| 6f 75 74 70 75 74 2e 0a | 58 2e 54 50 0a 58 2e 42 |output..|X.TP.X.B|
|000048d0| 20 5c 2d 62 0a 49 67 6e | 6f 72 65 20 62 6c 61 6e | \-b.Ign|ore blan|
|000048e0| 6b 73 20 61 6e 64 20 74 | 61 62 73 20 77 68 65 6e |ks and t|abs when|
|000048f0| 20 63 6f 6d 70 61 72 69 | 6e 67 20 74 68 65 20 6e | compari|ng the n|
|00004900| 61 6d 65 64 20 66 69 6c | 65 73 2e 0a 58 2e 54 50 |amed fil|es..X.TP|
|00004910| 0a 58 2e 42 20 5c 2d 77 | 0a 49 67 6e 6f 72 65 20 |.X.B \-w|.Ignore |
|00004920| 62 6c 61 6e 6b 73 2c 20 | 74 61 62 73 2c 20 61 6e |blanks, |tabs, an|
|00004930| 64 20 6e 65 77 6c 69 6e | 65 20 63 68 61 72 61 63 |d newlin|e charac|
|00004940| 74 65 72 73 20 77 68 65 | 6e 20 63 6f 6d 70 61 72 |ters whe|n compar|
|00004950| 69 6e 67 0a 66 69 6c 65 | 73 2e 0a 58 2e 54 50 0a |ing.file|s..X.TP.|
|00004960| 58 2e 42 20 5c 2d 66 20 | 0a 58 46 6f 6c 64 20 69 |X.B \-f |.XFold i|
|00004970| 6e 20 6c 6f 77 65 72 20 | 63 61 73 65 2e 20 20 54 |n lower |case. T|
|00004980| 72 65 61 74 20 75 70 70 | 65 72 2d 20 61 6e 64 20 |reat upp|er- and |
|00004990| 6c 6f 77 65 72 2d 20 63 | 61 73 65 20 6c 65 74 74 |lower- c|ase lett|
|000049a0| 65 72 73 0a 65 71 75 61 | 6c 6c 79 20 77 68 65 6e |ers.equa|lly when|
|000049b0| 20 63 6f 6d 70 61 72 69 | 6e 67 20 66 69 6c 65 73 | compari|ng files|
|000049c0| 2e 0a 58 2e 54 50 0a 58 | 2e 42 20 5c 2d 0a 58 2e |..X.TP.X|.B \-.X.|
|000049d0| 54 50 0a 58 2e 42 20 20 | 5c 2d 5c 7c 5c 2d 0a 54 |TP.X.B |\-\|\-.T|
|000049e0| 72 65 61 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |reat the| followi|
|000049f0| 6e 67 20 61 72 67 75 6d | 65 6e 74 73 20 61 73 20 |ng argum|ents as |
|00004a00| 66 69 6c 65 6e 61 6d 65 | 73 20 73 6f 20 74 68 61 |filename|s so tha|
|00004a10| 74 20 79 6f 75 20 63 61 | 6e 0a 73 70 65 63 69 66 |t you ca|n.specif|
|00004a20| 79 20 66 69 6c 65 6e 61 | 6d 65 73 20 73 74 61 72 |y filena|mes star|
|00004a30| 74 69 6e 67 20 77 69 74 | 68 20 61 20 60 2d 27 20 |ting wit|h a `-' |
|00004a40| 63 68 61 72 61 63 74 65 | 72 2e 0a 58 2e 54 50 0a |characte|r..X.TP.|
|00004a50| 58 2e 42 20 5c 2d 68 0a | 50 72 69 6e 74 20 73 75 |X.B \-h.|Print su|
|00004a60| 6d 6d 61 72 79 20 6f 66 | 20 63 6f 72 72 65 63 74 |mmary of| correct|
|00004a70| 20 75 73 61 67 65 2e 0a | 58 2e 4c 50 0a 49 66 20 | usage..|X.LP.If |
|00004a80| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 6f 66 |more tha|n one of|
|00004a90| 0a 58 2e 42 52 20 5c 2d | 6c 20 22 2c 20 22 20 5c |.X.BR \-|l ", " \|
|00004aa0| 2d 73 20 22 2c 20 22 20 | 5c 2d 31 20 2c 0a 58 2e |-s ", " |\-1 ,.X.|
|00004ab0| 42 52 20 5c 2d 4d 20 22 | 2c 20 22 0a 6f 72 20 0a |BR \-M "|, ".or .|
|00004ac0| 58 2e 42 20 5c 2d 6d 0a | 69 73 20 73 65 6c 65 63 |X.B \-m.|is selec|
|00004ad0| 74 65 64 2c 20 61 6c 6c | 20 62 75 74 20 74 68 65 |ted, all| but the|
|00004ae0| 20 6c 61 73 74 20 6f 6e | 65 20 6f 6e 20 74 68 65 | last on|e on the|
|00004af0| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 77 69 | command| line wi|
|00004b00| 6c 6c 0a 62 65 20 69 67 | 6e 6f 72 65 64 2e 0a 58 |ll.be ig|nored..X|
|00004b10| 2e 53 48 20 45 58 41 4d | 50 4c 45 53 0a 54 6f 20 |.SH EXAM|PLES.To |
|00004b20| 65 64 69 74 20 6f 6e 65 | 20 2f 65 74 63 2f 6d 6f |edit one| /etc/mo|
|00004b30| 74 64 20 66 72 6f 6d 20 | 65 61 63 68 20 63 6c 61 |td from |each cla|
|00004b40| 73 73 20 61 6e 64 20 74 | 68 65 6e 20 75 70 64 61 |ss and t|hen upda|
|00004b50| 74 65 20 74 68 65 0a 6f | 74 68 65 72 73 2e 0a 58 |te the.o|thers..X|
|00004b60| 2e 62 72 0a 58 2e 44 53 | 20 4c 0a 58 09 66 6f 72 |.br.X.DS| L.X.for|
|00004b70| 65 61 63 68 5c 20 69 5c | 20 28 60 63 6c 61 73 73 |each\ i\| (`class|
|00004b80| 69 66 79 5c 20 2d 31 5c | 20 2f 65 78 70 6f 72 74 |ify\ -1\| /export|
|00004b90| 2f 72 6f 6f 74 2f 2a 2f | 65 74 63 2f 6d 6f 74 64 |/root/*/|etc/motd|
|00004ba0| 60 29 0a 58 2e 62 72 0a | 58 09 09 73 65 74 5c 20 |`).X.br.|X..set\ |
|00004bb0| 69 66 61 6d 69 6c 79 3d | 60 63 6c 61 73 73 69 66 |ifamily=|`classif|
|00004bc0| 79 5c 20 5c 2d 6d 5c 20 | 24 69 5c 20 2f 65 78 70 |y\ \-m\ |$i\ /exp|
|00004bd0| 6f 72 74 2f 72 6f 6f 74 | 2f 2a 2f 65 74 63 2f 6d |ort/root|/*/etc/m|
|00004be0| 6f 74 64 60 0a 58 2e 62 | 72 0a 58 09 09 76 69 5c |otd`.X.b|r.X..vi\|
|00004bf0| 20 24 69 0a 58 2e 62 72 | 0a 58 09 09 66 6f 72 65 | $i.X.br|.X..fore|
|00004c00| 61 63 68 5c 20 6a 5c 20 | 28 24 69 66 61 6d 69 6c |ach\ j\ |($ifamil|
|00004c10| 79 29 0a 58 2e 62 72 0a | 58 09 09 09 63 70 5c 20 |y).X.br.|X...cp\ |
|00004c20| 24 69 5c 20 24 6a 0a 58 | 2e 62 72 0a 58 09 09 65 |$i\ $j.X|.br.X..e|
|00004c30| 6e 64 0a 58 2e 62 72 0a | 58 09 65 6e 64 0a 58 2e |nd.X.br.|X.end.X.|
|00004c40| 44 45 0a 58 2e 53 48 20 | 53 45 45 20 41 4c 53 4f |DE.X.SH |SEE ALSO|
|00004c50| 0a 58 2e 42 52 20 63 6d | 70 20 28 31 29 2c 0a 58 |.X.BR cm|p (1),.X|
|00004c60| 2e 42 52 20 64 69 66 66 | 20 28 31 29 0a 58 2e 53 |.BR diff| (1).X.S|
|00004c70| 48 20 44 49 41 47 4e 4f | 53 54 49 43 53 0a 58 2e |H DIAGNO|STICS.X.|
|00004c80| 54 50 20 35 0a 58 2e 42 | 49 20 22 43 6f 75 6c 64 |TP 5.X.B|I "Could|
|00004c90| 6e 27 74 20 6f 70 65 6e | 20 66 69 6c 65 20 22 20 |n't open| file " |
|00004ca0| 66 69 6c 65 6e 61 6d 65 | 0a 49 6e 64 69 63 61 74 |filename|.Indicat|
|00004cb0| 65 73 20 74 68 61 74 20 | 66 69 6c 65 0a 58 2e 49 |es that |file.X.I|
|00004cc0| 20 66 69 6c 65 6e 61 6d | 65 0a 64 6f 65 73 20 6e | filenam|e.does n|
|00004cd0| 6f 74 20 65 78 69 73 74 | 2c 20 6f 72 20 74 68 61 |ot exist|, or tha|
|00004ce0| 74 20 72 65 61 64 20 70 | 72 69 76 69 6c 65 64 67 |t read p|riviledg|
|00004cf0| 65 73 20 61 72 65 20 6c | 61 63 6b 69 6e 67 2e 0a |es are l|acking..|
|00004d00| 58 2e 54 50 20 35 0a 58 | 2e 42 49 20 22 55 6e 6b |X.TP 5.X|.BI "Unk|
|00004d10| 6e 6f 77 6e 20 6f 70 74 | 69 6f 6e 3a 20 2d 22 20 |nown opt|ion: -" |
|00004d20| 6f 70 74 69 6f 6e 0a 58 | 2e 53 48 20 41 55 54 48 |option.X|.SH AUTH|
|00004d30| 4f 52 0a 4d 61 72 6b 2d | 4a 61 73 6f 6e 20 44 6f |OR.Mark-|Jason Do|
|00004d40| 6d 69 6e 75 73 2c 20 55 | 6e 69 76 65 72 73 69 74 |minus, U|niversit|
|00004d50| 79 20 6f 66 20 50 65 6e | 6e 73 79 6c 76 61 6e 69 |y of Pen|nsylvani|
|00004d60| 61 0a 58 2e 53 48 20 42 | 55 47 53 0a 58 2e 42 20 |a.X.SH B|UGS.X.B |
|00004d70| 43 6c 61 73 73 69 66 79 | 0a 73 68 6f 75 6c 64 20 |Classify|.should |
|00004d80| 62 65 20 61 62 6c 65 20 | 74 6f 20 72 65 61 64 20 |be able |to read |
|00004d90| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 |the stan|dard inp|
|00004da0| 75 74 20 61 73 20 6f 6e | 65 20 6f 66 20 74 68 65 |ut as on|e of the|
|00004db0| 0a 66 69 6c 65 73 2e 0a | 58 2e 50 50 0a 53 65 76 |.files..|X.PP.Sev|
|00004dc0| 65 72 61 6c 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 |eral per|formance|
|00004dd0| 20 69 6d 70 72 6f 76 65 | 6d 65 6e 74 73 20 6d 69 | improve|ments mi|
|00004de0| 67 68 74 20 62 65 20 70 | 6f 73 73 69 62 6c 65 2e |ght be p|ossible.|
|00004df0| 0a 58 2e 50 50 0a 58 2e | 42 20 43 6c 61 73 73 69 |.X.PP.X.|B Classi|
|00004e00| 66 79 0a 62 65 63 6f 6d | 65 73 20 63 6f 6e 66 75 |fy.becom|es confu|
|00004e10| 73 65 64 20 69 66 20 6f | 6e 65 20 6f 66 20 74 68 |sed if o|ne of th|
|00004e20| 65 20 66 69 6c 65 73 20 | 69 74 20 69 73 20 63 6c |e files |it is cl|
|00004e30| 61 73 73 69 66 67 79 69 | 6e 67 20 69 73 20 72 65 |assifgyi|ng is re|
|00004e40| 6d 6f 76 65 64 0a 62 65 | 66 6f 72 65 20 69 74 20 |moved.be|fore it |
|00004e50| 69 73 20 66 69 6e 69 73 | 68 65 64 2e 0a 58 2e 50 |is finis|hed..X.P|
|00004e60| 50 0a 54 68 65 20 0a 58 | 2e 42 20 5c 2d 6c 0a 6f |P.The .X|.B \-l.o|
|00004e70| 70 74 69 6f 6e 20 69 73 | 20 73 69 6c 6c 79 20 73 |ption is| silly s|
|00004e80| 69 6e 63 65 20 69 74 73 | 20 66 75 6e 63 74 69 6f |ince its| functio|
|00004e90| 6e 20 63 61 6e 20 62 65 | 20 64 75 70 6c 69 63 61 |n can be| duplica|
|00004ea0| 74 65 64 20 77 69 74 68 | 20 61 6e 0a 58 2e 42 20 |ted with| an.X.B |
|00004eb0| 61 77 6b 0a 73 63 72 69 | 70 74 2e 0a 58 0a 45 4e |awk.scri|pt..X.EN|
|00004ec0| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00004ed0| 74 20 33 35 31 39 20 2d | 6e 65 20 60 77 63 20 2d |t 3519 -|ne `wc -|
|00004ee0| 63 20 3c 27 63 6c 61 73 | 73 69 66 79 2e 31 27 60 |c <'clas|sify.1'`|
|00004ef0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00004f00| 73 68 61 72 3a 20 5c 22 | 27 63 6c 61 73 73 69 66 |shar: \"|'classif|
|00004f10| 79 2e 31 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |y.1'\" u|npacked |
|00004f20| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00004f30| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 63 6c |.fi.# en|d of 'cl|
|00004f40| 61 73 73 69 66 79 2e 31 | 27 0a 66 69 0a 69 66 20 |assify.1|'.fi.if |
|00004f50| 74 65 73 74 20 2d 66 20 | 27 63 6c 61 73 73 69 66 |test -f |'classif|
|00004f60| 79 2e 63 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |y.c' -a |"${1}" !|
|00004f70| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00004f80| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00004f90| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00004fa0| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 63 6c |sting fi|le \"'cl|
|00004fb0| 61 73 73 69 66 79 2e 63 | 27 5c 22 0a 65 6c 73 65 |assify.c|'\".else|
|00004fc0| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00004fd0| 61 63 74 69 6e 67 20 5c | 22 27 63 6c 61 73 73 69 |acting \|"'classi|
|00004fe0| 66 79 2e 63 27 5c 22 20 | 5c 28 31 37 34 33 37 20 |fy.c'\" |\(17437 |
|00004ff0| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00005000| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 63 6c 61 73 | "s/^X//|" >'clas|
|00005010| 73 69 66 79 2e 63 27 20 | 3c 3c 27 45 4e 44 5f 4f |sify.c' |<<'END_O|
|00005020| 46 5f 46 49 4c 45 27 0a | 58 0a 58 2f 2a 0a 58 20 |F_FILE'.|X.X/*.X |
|00005030| 2a 20 60 63 6c 61 73 73 | 69 66 79 27 3a 20 20 53 |* `class|ify': S|
|00005040| 6f 72 74 20 66 69 6c 65 | 73 20 69 6e 74 6f 20 67 |ort file|s into g|
|00005050| 72 6f 75 70 73 20 62 79 | 20 63 6f 6e 74 65 6e 74 |roups by| content|
|00005060| 0a 58 20 2a 20 43 6f 70 | 79 72 69 67 68 74 20 28 |.X * Cop|yright (|
|00005070| 43 29 20 31 39 39 31 20 | 20 4d 61 72 6b 2d 4a 61 |C) 1991 | Mark-Ja|
|00005080| 73 6f 6e 20 44 6f 6d 69 | 6e 75 73 2e 20 20 41 6c |son Domi|nus. Al|
|00005090| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|000050a0| 64 2e 0a 58 20 2a 0a 58 | 20 2a 20 54 68 69 73 20 |d..X *.X| * This |
|000050b0| 70 72 6f 67 72 61 6d 20 | 69 73 20 66 72 65 65 20 |program |is free |
|000050c0| 73 6f 66 74 77 61 72 65 | 3b 20 79 6f 75 20 63 61 |software|; you ca|
|000050d0| 6e 20 72 65 64 69 73 74 | 72 69 62 75 74 65 20 69 |n redist|ribute i|
|000050e0| 74 20 61 6e 64 2f 6f 72 | 20 6d 6f 64 69 66 79 0a |t and/or| modify.|
|000050f0| 58 20 2a 20 69 74 20 75 | 6e 64 65 72 20 74 68 65 |X * it u|nder the|
|00005100| 20 74 65 72 6d 73 20 6f | 66 20 74 68 65 20 47 4e | terms o|f the GN|
|00005110| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|00005120| 20 4c 69 63 65 6e 73 65 | 20 61 73 20 70 75 62 6c | License| as publ|
|00005130| 69 73 68 65 64 20 62 79 | 0a 58 20 2a 20 74 68 65 |ished by|.X * the|
|00005140| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|00005150| 6f 75 6e 64 61 74 69 6f | 6e 3b 20 65 69 74 68 65 |oundatio|n; eithe|
|00005160| 72 20 76 65 72 73 69 6f | 6e 20 31 2c 20 6f 72 20 |r versio|n 1, or |
|00005170| 28 61 74 20 79 6f 75 72 | 20 6f 70 74 69 6f 6e 29 |(at your| option)|
|00005180| 0a 58 20 2a 20 61 6e 79 | 20 6c 61 74 65 72 20 76 |.X * any| later v|
|00005190| 65 72 73 69 6f 6e 2e 0a | 58 20 2a 0a 58 20 2a 20 |ersion..|X *.X * |
|000051a0| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 69 73 20 |This pro|gram is |
|000051b0| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|000051c0| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|000051d0| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 0a |will be |useful,.|
|000051e0| 58 20 2a 20 62 75 74 20 | 57 49 54 48 4f 55 54 20 |X * but |WITHOUT |
|000051f0| 41 4e 59 20 57 41 52 52 | 41 4e 54 59 3b 20 77 69 |ANY WARR|ANTY; wi|
|00005200| 74 68 6f 75 74 20 65 76 | 65 6e 20 74 68 65 20 69 |thout ev|en the i|
|00005210| 6d 70 6c 69 65 64 20 77 | 61 72 72 61 6e 74 79 20 |mplied w|arranty |
|00005220| 6f 66 0a 58 20 2a 20 4d | 45 52 43 48 41 4e 54 41 |of.X * M|ERCHANTA|
|00005230| 42 49 4c 49 54 59 20 6f | 72 20 46 49 54 4e 45 53 |BILITY o|r FITNES|
|00005240| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00005250| 41 52 20 50 55 52 50 4f | 53 45 2e 20 20 53 65 65 |AR PURPO|SE. See|
|00005260| 20 74 68 65 0a 58 20 2a | 20 47 4e 55 20 47 65 6e | the.X *| GNU Gen|
|00005270| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00005280| 6e 73 65 20 66 6f 72 20 | 6d 6f 72 65 20 64 65 74 |nse for |more det|
|00005290| 61 69 6c 73 2e 0a 58 20 | 2a 20 0a 58 20 2a 20 59 |ails..X |* .X * Y|
|000052a0| 6f 75 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 72 |ou shoul|d have r|
|000052b0| 65 63 65 69 76 65 64 20 | 61 20 63 6f 70 79 20 6f |eceived |a copy o|
|000052c0| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|000052d0| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|000052e0| 0a 58 20 2a 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |.X * alo|ng with |
|000052f0| 74 68 69 73 20 70 72 6f | 67 72 61 6d 3b 20 69 66 |this pro|gram; if|
|00005300| 20 6e 6f 74 2c 20 77 72 | 69 74 65 20 74 6f 20 74 | not, wr|ite to t|
|00005310| 68 65 20 46 72 65 65 20 | 53 6f 66 74 77 61 72 65 |he Free |Software|
|00005320| 0a 58 20 2a 20 46 6f 75 | 6e 64 61 74 69 6f 6e 2c |.X * Fou|ndation,|
|00005330| 20 49 6e 63 2e 2c 20 36 | 37 35 20 4d 61 73 73 20 | Inc., 6|75 Mass |
|00005340| 41 76 65 2c 20 43 61 6d | 62 72 69 64 67 65 2c 20 |Ave, Cam|bridge, |
|00005350| 4d 41 20 30 32 31 33 39 | 2c 20 55 53 41 2e 0a 58 |MA 02139|, USA..X|
|00005360| 20 2a 2f 0a 58 0a 58 23 | 69 6e 63 6c 75 64 65 20 | */.X.X#|include |
|00005370| 3c 73 74 64 69 6f 2e 68 | 3e 0a 58 23 69 6e 63 6c |<stdio.h|>.X#incl|
|00005380| 75 64 65 20 3c 63 74 79 | 70 65 2e 68 3e 0a 58 23 |ude <cty|pe.h>.X#|
|00005390| 69 6e 63 6c 75 64 65 20 | 3c 73 74 72 69 6e 67 2e |include |<string.|
|000053a0| 68 3e 0a 58 0a 58 20 20 | 2f 2a 20 52 65 74 75 72 |h>.X.X |/* Retur|
|000053b0| 6e 20 63 6f 64 65 73 20 | 66 72 6f 6d 20 60 63 6f |n codes |from `co|
|000053c0| 6d 70 61 72 65 28 29 27 | 20 61 6e 64 20 6d 61 63 |mpare()'| and mac|
|000053d0| 72 6f 73 20 66 6f 72 20 | 68 61 6e 64 6c 69 6e 67 |ros for |handling|
|000053e0| 20 74 68 65 6d 2e 20 2a | 2f 0a 58 23 64 65 66 69 | them. *|/.X#defi|
|000053f0| 6e 65 20 53 41 4d 45 20 | 31 0a 58 23 64 65 66 69 |ne SAME |1.X#defi|
|00005400| 6e 65 20 44 49 46 46 45 | 52 45 4e 54 20 30 0a 58 |ne DIFFE|RENT 0.X|
|00005410| 23 64 65 66 69 6e 65 20 | 42 41 44 46 49 4c 45 31 |#define |BADFILE1|
|00005420| 20 34 0a 58 23 64 65 66 | 69 6e 65 20 42 41 44 46 | 4.X#def|ine BADF|
|00005430| 49 4c 45 32 20 38 0a 58 | 23 64 65 66 69 6e 65 20 |ILE2 8.X|#define |
|00005440| 42 41 44 46 49 4c 45 42 | 4f 54 48 20 28 42 41 44 |BADFILEB|OTH (BAD|
|00005450| 46 49 4c 45 31 20 7c 20 | 42 41 44 46 49 4c 45 32 |FILE1 | |BADFILE2|
|00005460| 29 0a 58 23 64 65 66 69 | 6e 65 20 45 52 52 4f 52 |).X#defi|ne ERROR|
|00005470| 28 52 43 29 20 28 28 52 | 43 20 21 3d 20 53 41 4d |(RC) ((R|C != SAM|
|00005480| 45 29 20 26 26 20 28 52 | 43 20 21 3d 20 44 49 46 |E) && (R|C != DIF|
|00005490| 46 45 52 45 4e 54 29 29 | 0a 58 0a 58 2f 2a 20 41 |FERENT))|.X.X/* A|
|000054a0| 6c 6c 6f 63 61 74 65 20 | 61 20 6e 65 77 20 6f 62 |llocate |a new ob|
|000054b0| 6a 65 63 74 20 61 6e 64 | 20 72 65 74 75 72 6e 20 |ject and| return |
|000054c0| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 69 74 2e |a pointe|r to it.|
|000054d0| 20 2a 2f 0a 58 23 64 65 | 66 69 6e 65 20 4e 45 57 | */.X#de|fine NEW|
|000054e0| 28 74 79 70 65 29 20 28 | 28 74 79 70 65 20 2a 29 |(type) (|(type *)|
|000054f0| 20 6d 61 6c 6c 6f 63 28 | 73 69 7a 65 6f 66 28 74 | malloc(|sizeof(t|
|00005500| 79 70 65 29 29 29 0a 58 | 0a 58 2f 2a 20 41 72 65 |ype))).X|.X/* Are|
|00005510| 20 73 74 72 69 6e 67 73 | 20 61 20 61 6e 64 20 62 | strings| a and b|
|00005520| 20 65 71 75 61 6c 3f 20 | 20 28 27 65 71 75 61 6c | equal? | ('equal|
|00005530| 27 2c 20 6e 6f 74 20 27 | 65 71 27 29 20 2a 2f 0a |', not '|eq') */.|
|00005540| 58 23 64 65 66 69 6e 65 | 20 53 54 52 45 51 28 61 |X#define| STREQ(a|
|00005550| 2c 62 29 20 28 73 74 72 | 63 6d 70 28 28 61 29 2c |,b) (str|cmp((a),|
|00005560| 28 62 29 29 20 3d 3d 20 | 30 29 0a 58 0a 58 2f 2a |(b)) == |0).X.X/*|
|00005570| 20 46 6c 61 67 73 20 73 | 65 74 20 62 79 20 63 6f | Flags s|et by co|
|00005580| 6d 6d 61 6e 64 2d 6c 69 | 6e 65 20 6f 70 74 69 6f |mmand-li|ne optio|
|00005590| 6e 73 2e 20 2a 2f 0a 69 | 6e 74 20 66 6f 6c 64 66 |ns. */.i|nt foldf|
|000055a0| 6c 61 67 20 3d 20 30 2c | 20 62 6c 61 6e 6b 66 6c |lag = 0,| blankfl|
|000055b0| 61 67 20 3d 20 30 2c 20 | 77 68 69 74 65 66 6c 61 |ag = 0, |whitefla|
|000055c0| 67 20 3d 20 30 3b 0a 58 | 0a 58 2f 2a 20 46 6f 72 |g = 0;.X|.X/* For|
|000055d0| 6d 61 74 20 6f 70 74 69 | 6f 6e 20 61 6e 64 20 63 |mat opti|on and c|
|000055e0| 6f 64 65 73 2e 20 2a 2f | 0a 63 68 61 72 20 66 6f |odes. */|.char fo|
|000055f0| 72 6d 6f 70 74 20 3d 20 | 27 73 27 3b 0a 58 0a 58 |rmopt = |'s';.X.X|
|00005600| 2f 2a 20 45 78 70 6c 61 | 6e 61 74 69 6f 6e 20 6f |/* Expla|nation o|
|00005610| 66 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |f data s|tructure|
|00005620| 20 75 73 65 64 20 69 6e | 20 74 68 69 73 20 70 72 | used in| this pr|
|00005630| 6f 67 72 61 6d 3a 0a 58 | 0a 58 20 20 20 45 61 63 |ogram:.X|.X Eac|
|00005640| 68 20 27 6d 61 73 74 65 | 72 6e 6f 64 65 27 69 73 |h 'maste|rnode'is|
|00005650| 20 61 20 6c 69 6e 6b 65 | 64 20 6c 69 73 74 20 6f | a linke|d list o|
|00005660| 66 20 66 69 6c 65 6e 61 | 6d 65 73 2e 20 20 54 68 |f filena|mes. Th|
|00005670| 65 20 66 69 6c 65 6e 61 | 6d 65 73 20 69 6e 20 65 |e filena|mes in e|
|00005680| 61 63 68 0a 58 20 20 20 | 6d 61 73 74 65 72 6e 6f |ach.X |masterno|
|00005690| 64 65 20 61 72 65 20 74 | 68 65 20 6e 61 6d 65 73 |de are t|he names|
|000056a0| 20 6f 66 20 66 69 6c 65 | 73 20 74 68 61 74 20 61 | of file|s that a|
|000056b0| 72 65 20 69 64 65 6e 74 | 69 63 61 6c 2c 20 6d 6f |re ident|ical, mo|
|000056c0| 64 75 6c 6f 20 73 6f 6d | 65 0a 58 20 20 20 77 68 |dulo som|e.X wh|
|000056d0| 69 74 65 73 70 61 63 65 | 20 61 6e 64 20 75 70 70 |itespace| and upp|
|000056e0| 65 72 2f 6c 6f 77 65 72 | 2d 63 61 73 65 20 64 69 |er/lower|-case di|
|000056f0| 73 74 69 6e 63 74 69 6f | 6e 73 2e 0a 58 0a 58 20 |stinctio|ns..X.X |
|00005700| 20 20 54 68 65 20 6d 61 | 73 74 65 72 6e 6f 64 65 | The ma|sternode|
|00005710| 73 20 61 72 65 20 6c 69 | 6e 6b 65 64 20 74 6f 67 |s are li|nked tog|
|00005720| 65 74 68 65 72 20 69 6e | 20 61 20 6c 69 6e 6b 65 |ether in| a linke|
|00005730| 64 20 6c 69 73 74 20 63 | 61 6c 6c 65 64 20 60 6c |d list c|alled `l|
|00005740| 69 73 74 27 2e 0a 58 0a | 58 20 20 20 45 78 61 6d |ist'..X.|X Exam|
|00005750| 70 6c 65 3a 0a 58 20 20 | 20 0a 58 20 20 20 6c 69 |ple:.X | .X li|
|00005760| 73 74 0a 58 20 20 20 7c | 0a 58 20 20 20 56 20 20 |st.X ||.X V |
|00005770| 20 20 20 20 20 20 20 20 | 64 61 74 61 20 20 20 20 | |data |
|00005780| 20 20 20 20 20 20 20 20 | 6e 65 78 74 20 20 20 20 | |next |
|00005790| 20 20 20 20 20 20 20 6e | 65 78 74 20 0a 58 20 20 | n|ext .X |
|000057a0| 20 6d 61 73 74 65 72 6e | 6f 64 65 2d 2d 2d 2d 2d | mastern|ode-----|
|000057b0| 2d 3e 66 69 6c 65 6e 6f | 64 65 2d 2d 2d 2d 2d 2d |->fileno|de------|
|000057c0| 2d 3e 66 69 6c 65 6e 6f | 64 65 2d 2d 2d 2d 2d 2d |->fileno|de------|
|000057d0| 3e 4e 55 4c 4c 0a 58 20 | 20 20 7c 20 20 20 20 20 |>NULL.X | | |
|000057e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | |
|000057f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 58 | | |.X|
|00005800| 20 20 20 7c 20 6e 65 78 | 74 20 20 20 20 20 20 20 | | nex|t |
|00005810| 20 20 20 20 20 20 7c 20 | 64 61 74 61 20 20 20 20 | | |data |
|00005820| 20 20 20 20 20 20 7c 20 | 64 61 74 61 0a 58 20 20 | | |data.X |
|00005830| 20 7c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|00005840| 20 20 20 20 56 20 20 20 | 20 20 20 20 20 20 20 20 | V | |
|00005850| 20 20 20 20 56 0a 58 20 | 20 20 7c 20 20 20 20 20 | V.X | | |
|00005860| 20 20 20 20 20 20 20 20 | 20 20 66 69 6c 65 6e 61 | | filena|
|00005870| 6d 65 31 20 20 20 20 20 | 20 20 20 20 66 69 6c 65 |me1 | file|
|00005880| 6e 61 6d 65 32 0a 58 20 | 20 20 7c 0a 58 20 20 20 |name2.X | |.X |
|00005890| 56 20 20 20 20 20 20 20 | 20 20 20 64 61 74 61 20 |V | data |
|000058a0| 20 20 20 20 20 20 20 20 | 20 20 6e 65 78 74 20 0a | | next .|
|000058b0| 58 20 20 20 6d 61 73 74 | 65 72 6e 6f 64 65 2d 2d |X mast|ernode--|
|000058c0| 2d 2d 2d 2d 3e 66 69 6c | 65 6e 6f 64 65 2d 2d 2d |---->fil|enode---|
|000058d0| 2d 2d 2d 3e 4e 55 4c 4c | 0a 58 20 20 20 7c 20 20 |--->NULL|.X | |
|000058e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000058f0| 7c 0a 58 20 20 20 7c 20 | 6e 65 78 74 20 20 20 20 ||.X | |next |
|00005900| 20 20 20 20 20 20 20 20 | 20 7c 20 64 61 74 61 0a | | | data.|
|00005910| 58 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 20 |X | | |
|00005920| 20 20 20 20 20 20 20 56 | 0a 58 20 20 20 56 20 20 | V|.X V |
|00005930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 66 69 6c | | fil|
|00005940| 65 6e 61 6d 65 33 0a 58 | 20 20 20 4e 55 4c 4c 0a |ename3.X| NULL.|
|00005950| 58 0a 58 20 20 20 54 68 | 69 73 20 77 6f 75 6c 64 |X.X Th|is would|
|00005960| 20 72 65 70 72 65 73 65 | 6e 74 20 74 68 72 65 65 | represe|nt three|
|00005970| 20 66 69 6c 65 73 3a 20 | 66 69 6c 65 6e 61 6d 65 | files: |filename|
|00005980| 31 2c 20 66 69 6c 65 6e | 61 6d 65 32 2c 20 61 6e |1, filen|ame2, an|
|00005990| 64 20 66 69 6c 65 6e 61 | 6d 65 33 2c 0a 58 20 20 |d filena|me3,.X |
|000059a0| 20 6f 66 20 77 68 69 63 | 68 20 66 69 6c 65 6e 61 | of whic|h filena|
|000059b0| 6d 65 31 20 61 6e 64 20 | 66 69 6c 65 6e 61 6d 65 |me1 and |filename|
|000059c0| 32 20 68 61 64 20 74 68 | 65 20 73 61 6d 65 20 63 |2 had th|e same c|
|000059d0| 6f 6e 74 65 6e 74 73 2c | 20 61 6e 64 20 66 69 6c |ontents,| and fil|
|000059e0| 65 6e 61 6d 65 33 0a 58 | 20 20 20 77 61 73 20 64 |ename3.X| was d|
|000059f0| 69 66 66 65 72 65 6e 74 | 20 66 72 6f 6d 20 62 6f |ifferent| from bo|
|00005a00| 74 68 2e 0a 58 0a 58 20 | 20 20 4e 6f 74 65 3a 20 |th..X.X | Note: |
|00005a10| 20 69 66 20 6a 20 69 73 | 20 61 20 70 6f 69 6e 74 | if j is| a point|
|00005a20| 65 72 20 74 6f 20 61 20 | 6d 61 73 74 65 72 6e 6f |er to a |masterno|
|00005a30| 64 65 2c 20 74 68 65 6e | 20 6a 2d 3e 64 61 74 61 |de, then| j->data|
|00005a40| 2d 3e 64 61 74 61 20 69 | 73 20 74 68 65 0a 58 20 |->data i|s the.X |
|00005a50| 20 20 66 69 72 73 74 20 | 66 69 6c 65 6e 61 6d 65 | first |filename|
|00005a60| 20 69 6e 20 6a 27 73 20 | 6d 61 73 74 65 72 6e 6f | in j's |masterno|
|00005a70| 64 65 2e 0a 58 20 20 20 | 2a 2f 0a 58 20 20 20 0a |de..X |*/.X .|
|00005a80| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 73 |typedef |struct s|
|00005a90| 5f 66 6e 6f 64 65 20 7b | 0a 58 20 20 63 68 61 72 |_fnode {|.X char|
|00005aa0| 20 2a 64 61 74 61 3b 0a | 58 20 20 73 74 72 75 63 | *data;.|X struc|
|00005ab0| 74 20 73 5f 66 6e 6f 64 | 65 20 2a 6e 65 78 74 3b |t s_fnod|e *next;|
|00005ac0| 0a 58 7d 20 66 69 6c 65 | 6e 6f 64 65 3b 0a 58 0a |.X} file|node;.X.|
|00005ad0| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 73 |typedef |struct s|
|00005ae0| 5f 6d 6e 6f 64 65 20 7b | 0a 58 20 20 66 69 6c 65 |_mnode {|.X file|
|00005af0| 6e 6f 64 65 20 2a 64 61 | 74 61 3b 0a 58 20 20 73 |node *da|ta;.X s|
|00005b00| 74 72 75 63 74 20 73 5f | 6d 6e 6f 64 65 20 2a 6e |truct s_|mnode *n|
|00005b10| 65 78 74 3b 0a 58 7d 20 | 6d 61 73 74 65 72 6e 6f |ext;.X} |masterno|
|00005b20| 64 65 3b 0a 58 0a 6d 61 | 69 6e 28 61 72 67 63 2c |de;.X.ma|in(argc,|
|00005b30| 61 72 67 76 29 0a 58 20 | 20 20 20 20 69 6e 74 20 |argv).X | int |
|00005b40| 61 72 67 63 3b 0a 58 20 | 20 20 20 20 63 68 61 72 |argc;.X | char|
|00005b50| 20 2a 61 72 67 76 5b 5d | 3b 0a 58 7b 0a 58 20 20 | *argv[]|;.X{.X |
|00005b60| 2f 2a 20 4c 6f 6f 6b 20 | 61 74 20 74 68 65 73 65 |/* Look |at these|
|00005b70| 20 61 62 73 75 72 64 20 | 64 65 63 6c 61 72 61 74 | absurd |declarat|
|00005b80| 69 6f 6e 73 21 20 2a 2f | 0a 58 20 20 69 6e 74 20 |ions! */|.X int |
|00005b90| 69 2c 20 63 6f 6d 70 61 | 72 65 28 29 2c 20 6d 61 |i, compa|re(), ma|
|00005ba0| 74 63 68 2c 20 6e 75 6d | 66 69 6c 65 61 72 67 73 |tch, num|fileargs|
|00005bb0| 2c 20 70 61 72 73 65 61 | 72 67 73 28 29 3b 0a 58 |, parsea|rgs();.X|
|00005bc0| 20 20 76 6f 69 64 20 75 | 73 61 67 65 28 29 2c 20 | void u|sage(), |
|00005bd0| 6d 61 70 70 65 6e 64 28 | 29 2c 20 66 61 70 70 65 |mappend(|), fappe|
|00005be0| 6e 64 28 29 3b 0a 58 20 | 20 6d 61 73 74 65 72 6e |nd();.X | mastern|
|00005bf0| 6f 64 65 20 2a 6c 69 73 | 74 2c 20 2a 6a 2c 20 2a |ode *lis|t, *j, *|
|00005c00| 6d 6e 65 77 2c 20 2a 6e | 65 77 6d 61 73 74 65 72 |mnew, *n|ewmaster|
|00005c10| 6e 6f 64 65 28 29 3b 0a | 58 20 20 66 69 6c 65 6e |node();.|X filen|
|00005c20| 6f 64 65 20 2a 66 6e 65 | 77 2c 20 2a 6b 2c 20 2a |ode *fne|w, *k, *|
|00005c30| 6e 65 77 66 69 6c 65 6e | 6f 64 65 28 29 3b 0a 58 |newfilen|ode();.X|
|00005c40| 20 20 46 49 4c 45 20 2a | 63 68 65 63 6b 69 74 3b | FILE *|checkit;|
|00005c50| 0a 58 20 20 2f 2a 20 44 | 69 64 6e 27 74 20 61 6e |.X /* D|idn't an|
|00005c60| 79 6f 6e 65 20 65 76 65 | 72 20 74 65 6c 6c 20 79 |yone eve|r tell y|
|00005c70| 6f 75 20 69 74 20 77 61 | 73 6e 27 74 20 70 6f 6c |ou it wa|sn't pol|
|00005c80| 69 74 65 20 74 6f 20 70 | 6f 69 6e 74 3f 20 2a 2f |ite to p|oint? */|
|00005c90| 0a 58 0a 58 20 20 2f 2a | 20 50 61 72 73 65 20 74 |.X.X /*| Parse t|
|00005ca0| 68 65 20 61 72 67 75 6d | 65 6e 74 73 20 61 6e 64 |he argum|ents and|
|00005cb0| 20 6f 62 6c 69 74 65 72 | 61 74 65 20 73 77 69 74 | obliter|ate swit|
|00005cc0| 63 68 20 6f 70 74 69 6f | 6e 73 20 6c 69 6b 65 20 |ch optio|ns like |
|00005cd0| 60 2d 66 27 2e 20 2a 2f | 0a 58 20 20 6e 75 6d 66 |`-f'. */|.X numf|
|00005ce0| 69 6c 65 61 72 67 73 20 | 3d 20 70 61 72 73 65 61 |ileargs |= parsea|
|00005cf0| 72 67 73 28 61 72 67 63 | 2c 61 72 67 76 29 3b 0a |rgs(argc|,argv);.|
|00005d00| 58 20 20 2f 2a 20 41 6e | 79 74 68 69 6e 67 20 74 |X /* An|ything t|
|00005d10| 68 61 74 20 73 75 72 76 | 69 76 65 73 20 6f 62 6c |hat surv|ives obl|
|00005d20| 69 74 65 72 61 74 69 6f | 6e 20 69 73 20 61 73 73 |iteratio|n is ass|
|00005d30| 75 6d 65 64 20 74 6f 20 | 62 65 20 61 20 66 69 6c |umed to |be a fil|
|00005d40| 65 6e 61 6d 65 2e 20 2a | 2f 0a 58 0a 58 20 20 2f |ename. *|/.X.X /|
|00005d50| 2a 20 4e 6f 2c 20 6e 6f | 2d 2d 77 68 61 74 20 69 |* No, no|--what i|
|00005d60| 73 20 74 68 65 20 67 6f | 6f 64 20 6f 66 20 63 6f |s the go|od of co|
|00005d70| 6d 70 61 72 69 6e 67 20 | 6f 6e 6c 79 20 6f 6e 65 |mparing |only one|
|00005d80| 20 66 69 6c 65 3f 20 2a | 2f 0a 58 20 20 69 66 20 | file? *|/.X if |
|00005d90| 28 6e 75 6d 66 69 6c 65 | 61 72 67 73 20 3c 20 32 |(numfile|args < 2|
|00005da0| 29 20 75 73 61 67 65 28 | 61 72 67 76 5b 30 5d 29 |) usage(|argv[0])|
|00005db0| 3b 0a 58 0a 58 20 20 2f | 2a 20 46 69 6e 64 20 74 |;.X.X /|* Find t|
|00005dc0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |he name |of the f|
|00005dd0| 69 72 73 74 20 66 69 6c | 65 20 6f 6e 20 74 68 65 |irst fil|e on the|
|00005de0| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 2e 20 2a | command| line. *|
|00005df0| 2f 0a 58 20 20 66 6f 72 | 20 28 69 3d 31 3b 20 61 |/.X for| (i=1; a|
|00005e00| 72 67 76 5b 69 5d 20 3d | 3d 20 4e 55 4c 4c 3b 20 |rgv[i] =|= NULL; |
|00005e10| 69 2b 2b 29 20 3b 0a 58 | 0a 58 20 20 2f 2a 20 54 |i++) ;.X|.X /* T|
|00005e20| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 68 61 73 20 |his prog|ram has |
|00005e30| 74 77 6f 20 65 73 73 65 | 6e 74 69 61 6c 6c 79 20 |two esse|ntially |
|00005e40| 73 65 70 61 72 61 74 65 | 20 66 75 6e 63 74 69 6f |separate| functio|
|00005e50| 6e 73 2e 0a 58 20 20 20 | 2a 20 4f 6e 65 20 69 73 |ns..X |* One is|
|00005e60| 20 74 6f 20 74 61 6b 65 | 20 61 20 6c 69 73 74 20 | to take| a list |
|00005e70| 6f 66 20 66 69 6c 65 73 | 20 61 6e 64 20 67 72 6f |of files| and gro|
|00005e80| 75 70 20 69 64 65 6e 74 | 69 63 61 6c 20 6f 6e 65 |up ident|ical one|
|00005e90| 73 2e 0a 58 20 20 20 2a | 20 54 68 65 20 6f 74 68 |s..X *| The oth|
|00005ea0| 65 72 20 69 73 20 74 6f | 20 73 65 65 20 77 68 69 |er is to| see whi|
|00005eb0| 63 68 20 6f 66 20 66 69 | 6c 65 73 20 32 2e 2e 2e |ch of fi|les 2...|
|00005ec0| 6e 20 61 72 65 20 69 64 | 65 6e 74 69 63 61 6c 20 |n are id|entical |
|00005ed0| 74 6f 0a 58 20 20 20 2a | 20 66 69 6c 65 20 31 2e |to.X *| file 1.|
|00005ee0| 0a 58 20 20 20 2a 0a 58 | 20 20 20 2a 20 49 66 20 |.X *.X| * If |
|00005ef0| 79 6f 75 20 73 70 65 63 | 69 66 79 20 2d 6d 20 6f |you spec|ify -m o|
|00005f00| 72 20 2d 4d 2c 20 79 6f | 75 20 67 65 74 20 74 68 |r -M, yo|u get th|
|00005f10| 65 20 73 65 63 6f 6e 64 | 0a 58 20 20 20 2a 20 66 |e second|.X * f|
|00005f20| 75 6e 63 74 69 6f 6e 61 | 6c 69 74 79 2e 20 4f 74 |unctiona|lity. Ot|
|00005f30| 68 65 72 77 69 73 65 2c | 20 79 6f 75 20 67 65 74 |herwise,| you get|
|00005f40| 20 74 68 65 20 66 69 72 | 73 74 2e 0a 58 20 20 20 | the fir|st..X |
|00005f50| 2a 0a 58 20 20 20 2a 20 | 57 68 61 74 20 66 6f 6c |*.X * |What fol|
|00005f60| 6c 6f 77 73 20 72 69 67 | 68 74 20 68 65 72 65 20 |lows rig|ht here |
|00005f70| 69 73 20 74 68 65 20 73 | 65 63 6f 6e 64 20 66 75 |is the s|econd fu|
|00005f80| 6e 63 74 69 6f 6e 61 6c | 69 74 79 2e 0a 58 20 20 |nctional|ity..X |
|00005f90| 20 2a 2f 0a 58 0a 58 20 | 20 69 66 20 28 66 6f 72 | */.X.X | if (for|
|00005fa0| 6d 6f 70 74 20 3d 3d 20 | 27 6d 27 20 7c 7c 20 66 |mopt == |'m' || f|
|00005fb0| 6f 72 6d 6f 70 74 20 3d | 3d 20 27 4d 27 29 20 7b |ormopt =|= 'M') {|
|00005fc0| 0a 58 0a 58 20 20 20 20 | 2f 2a 20 54 68 65 20 66 |.X.X |/* The f|
|00005fd0| 69 72 73 74 20 66 69 6c | 65 20 74 68 65 20 75 73 |irst fil|e the us|
|00005fe0| 65 72 20 6e 61 6d 65 64 | 20 69 73 20 74 68 65 20 |er named| is the |
|00005ff0| 6f 6e 65 20 74 6f 20 63 | 68 65 63 6b 20 74 68 65 |one to c|heck the|
|00006000| 20 6f 74 68 65 72 73 20 | 61 67 61 69 6e 73 74 2e | others |against.|
|00006010| 0a 58 20 20 20 20 20 2a | 2f 0a 58 20 20 20 20 63 |.X *|/.X c|
|00006020| 68 61 72 20 2a 6d 61 73 | 74 65 72 20 3d 20 61 72 |har *mas|ter = ar|
|00006030| 67 76 5b 69 5d 3b 20 20 | 20 20 0a 58 20 20 20 20 |gv[i]; | .X |
|00006040| 0a 58 20 20 20 20 2f 2a | 20 49 66 20 74 68 65 20 |.X /*| If the |
|00006050| 75 73 65 72 20 73 61 69 | 64 20 27 2d 4d 27 2c 20 |user sai|d '-M', |
|00006060| 65 63 68 6f 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |echo the| name of|
|00006070| 20 74 68 65 20 6d 61 73 | 74 65 72 20 0a 58 20 20 | the mas|ter .X |
|00006080| 20 20 20 2a 20 66 69 6c | 65 3b 20 69 66 20 6e 6f | * fil|e; if no|
|00006090| 74 2c 20 73 75 70 70 72 | 65 73 73 20 69 74 2e 20 |t, suppr|ess it. |
|000060a0| 2a 2f 0a 58 20 20 20 20 | 69 66 20 28 66 6f 72 6d |*/.X |if (form|
|000060b0| 6f 70 74 20 3d 3d 20 27 | 4d 27 29 0a 58 20 20 20 |opt == '|M').X |
|000060c0| 20 20 20 70 72 69 6e 74 | 66 28 22 25 73 5c 6e 22 | print|f("%s\n"|
|000060d0| 2c 6d 61 73 74 65 72 29 | 3b 0a 58 20 20 20 20 0a |,master)|;.X .|
|000060e0| 58 20 20 20 20 66 6f 72 | 20 28 69 20 2b 3d 20 31 |X for| (i += 1|
|000060f0| 3b 20 69 3c 61 72 67 63 | 3b 20 69 2b 2b 29 20 7b |; i<argc|; i++) {|
|00006100| 0a 58 20 20 20 20 20 20 | 69 66 20 28 61 72 67 76 |.X |if (argv|
|00006110| 5b 69 5d 20 3d 3d 20 4e | 55 4c 4c 29 20 63 6f 6e |[i] == N|ULL) con|
|00006120| 74 69 6e 75 65 3b 0a 58 | 0a 58 20 20 20 20 20 20 |tinue;.X|.X |
|00006130| 2f 2a 20 49 66 20 66 6f | 72 20 73 6f 6d 65 20 72 |/* If fo|r some r|
|00006140| 65 61 73 6f 6e 20 74 68 | 65 20 6e 61 6d 65 20 6f |eason th|e name o|
|00006150| 66 20 74 68 65 20 6d 61 | 73 74 65 72 20 66 69 6c |f the ma|ster fil|
|00006160| 65 20 61 70 70 65 61 72 | 73 20 6d 6f 72 65 20 74 |e appear|s more t|
|00006170| 68 61 6e 0a 58 09 20 6f | 6e 63 65 20 6f 6e 20 74 |han.X. o|nce on t|
|00006180| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 2c |he comma|nd line,|
|00006190| 20 73 75 70 70 72 65 73 | 73 20 69 74 2e 20 28 54 | suppres|s it. (T|
|000061a0| 68 69 73 20 68 61 70 70 | 65 6e 73 20 61 6c 6c 20 |his happ|ens all |
|000061b0| 74 68 65 20 74 69 6d 65 | 0a 58 09 20 69 6e 20 73 |the time|.X. in s|
|000061c0| 68 65 6c 6c 20 73 63 72 | 69 70 74 73 2e 29 0a 58 |hell scr|ipts.).X|
|000061d0| 09 20 2a 2f 0a 58 20 20 | 20 20 20 20 69 66 20 28 |. */.X | if (|
|000061e0| 53 54 52 45 51 28 61 72 | 67 76 5b 69 5d 2c 20 6d |STREQ(ar|gv[i], m|
|000061f0| 61 73 74 65 72 29 29 20 | 63 6f 6e 74 69 6e 75 65 |aster)) |continue|
|00006200| 3b 0a 58 09 09 20 20 20 | 20 20 20 0a 58 20 20 20 |;.X.. | .X |
|00006210| 20 20 20 6d 61 74 63 68 | 20 3d 20 63 6f 6d 70 61 | match| = compa|
|00006220| 72 65 28 6d 61 73 74 65 | 72 2c 20 61 72 67 76 5b |re(maste|r, argv[|
|00006230| 69 5d 29 3b 0a 58 20 20 | 20 20 20 20 69 66 20 28 |i]);.X | if (|
|00006240| 6d 61 74 63 68 20 3d 3d | 20 53 41 4d 45 29 0a 58 |match ==| SAME).X|
|00006250| 09 70 72 69 6e 74 66 28 | 22 25 73 5c 6e 22 2c 20 |.printf(|"%s\n", |
|00006260| 61 72 67 76 5b 69 5d 29 | 3b 0a 58 20 20 20 20 20 |argv[i])|;.X |
|00006270| 20 2f 2a 20 49 66 20 60 | 6d 61 74 63 68 27 20 77 | /* If `|match' w|
|00006280| 61 73 20 61 6e 20 65 72 | 72 6f 72 20 72 65 74 75 |as an er|ror retu|
|00006290| 72 6e 2c 20 60 63 6f 6d | 70 61 72 65 28 29 27 20 |rn, `com|pare()' |
|000062a0| 70 72 69 6e 74 65 64 20 | 61 6e 20 65 72 72 6f 72 |printed |an error|
|000062b0| 20 2a 2f 0a 58 20 20 20 | 20 20 20 2f 2a 20 6d 65 | */.X | /* me|
|000062c0| 73 73 61 67 65 20 66 6f | 72 20 75 73 20 61 6e 64 |ssage fo|r us and|
|000062d0| 20 77 65 20 6e 65 65 64 | 20 64 6f 20 6e 6f 74 68 | we need| do noth|
|000062e0| 69 6e 67 20 73 70 65 63 | 69 61 6c 2e 20 2a 2f 0a |ing spec|ial. */.|
|000062f0| 58 20 20 20 20 7d 0a 58 | 0a 58 20 20 20 20 65 78 |X }.X|.X ex|
|00006300| 69 74 28 30 29 3b 20 2f | 2a 20 54 68 69 73 20 70 |it(0); /|* This p|
|00006310| 61 72 74 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |art of t|he progr|
|00006320| 61 6d 20 63 61 6e 27 74 | 20 66 61 69 6c 2e 20 2a |am can't| fail. *|
|00006330| 2f 0a 58 20 20 7d 0a 58 | 0a 58 20 20 2f 2a 20 49 |/.X }.X|.X /* I|
|00006340| 66 20 77 65 27 72 65 20 | 68 65 72 65 2c 20 74 68 |f we're |here, th|
|00006350| 65 6e 20 74 68 65 20 75 | 73 65 72 20 64 69 64 6e |en the u|ser didn|
|00006360| 27 74 20 73 65 6c 65 63 | 74 20 2d 6d 20 6f 72 20 |'t selec|t -m or |
|00006370| 2d 4d 2c 20 61 6e 64 20 | 77 65 0a 58 20 20 20 20 |-M, and |we.X |
|00006380| 20 64 6f 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 74 | do the |normal t|
|00006390| 68 69 6e 67 2c 20 77 68 | 69 63 68 20 69 73 20 74 |hing, wh|ich is t|
|000063a0| 6f 20 6c 6f 6f 6b 20 61 | 74 20 61 6c 6c 20 74 68 |o look a|t all th|
|000063b0| 65 20 66 69 6c 65 73 20 | 61 6e 64 20 73 6f 72 74 |e files |and sort|
|000063c0| 20 74 68 65 6d 0a 58 20 | 20 20 20 20 69 6e 74 6f | them.X | into|
|000063d0| 20 67 72 6f 75 70 73 2e | 0a 58 20 20 20 20 20 2a | groups.|.X *|
|000063e0| 2f 0a 58 0a 58 20 20 2f | 2a 20 54 68 69 73 20 6e |/.X.X /|* This n|
|000063f0| 65 78 74 20 62 69 74 20 | 6f 66 20 63 6f 64 65 20 |ext bit |of code |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.