home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3171 < prev    next >
SHell self-extracting ARchive  |  1991-04-08  |  15.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: 3171

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail text default
99% file Lisp/Scheme program text default
98% file Lisp/Scheme program, ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 6a 76 | 40 6d 68 2e 6e 6c 20 28 |From: jv|@mh.nl (|
|00000010| 4a 6f 68 61 6e 20 56 72 | 6f 6d 61 6e 73 29 0a 4e |Johan Vr|omans).N|
|00000020| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000030| 6c 61 6e 67 2e 70 65 72 | 6c 2c 61 6c 74 2e 73 6f |lang.per|l,alt.so|
|00000040| 75 72 63 65 73 2c 67 6e | 75 2e 65 6d 61 63 73 2e |urces,gn|u.emacs.|
|00000050| 73 6f 75 72 63 65 73 0a | 53 75 62 6a 65 63 74 3a |sources.|Subject:|
|00000060| 20 64 65 73 63 72 69 62 | 65 2d 70 65 72 6c 2d 73 | describ|e-perl-s|
|00000070| 79 6d 62 6f 6c 20 66 6f | 72 20 70 65 72 6c 20 34 |ymbol fo|r perl 4|
|00000080| 2e 30 30 30 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |.000.Mes|sage-ID:|
|00000090| 20 3c 31 39 39 31 41 70 | 72 35 2e 31 31 33 39 33 | <1991Ap|r5.11393|
|000000a0| 37 2e 33 36 35 32 40 70 | 72 6f 6e 74 6f 2e 6d 68 |7.3652@p|ronto.mh|
|000000b0| 2e 6e 6c 3e 0a 44 61 74 | 65 3a 20 35 20 41 70 72 |.nl>.Dat|e: 5 Apr|
|000000c0| 20 39 31 20 31 31 3a 33 | 39 3a 33 37 20 47 4d 54 | 91 11:3|9:37 GMT|
|000000d0| 0a 58 2d 43 68 65 63 6b | 73 75 6d 2d 53 6e 65 66 |.X-Check|sum-Snef|
|000000e0| 72 75 3a 20 32 63 33 36 | 64 63 32 31 20 35 32 61 |ru: 2c36|dc21 52a|
|000000f0| 30 38 31 63 61 20 38 36 | 66 39 30 65 37 38 20 30 |081ca 86|f90e78 0|
|00000100| 32 30 39 64 65 30 61 0a | 0a 54 68 69 73 20 69 73 |209de0a.|.This is|
|00000110| 20 61 20 47 4e 55 20 45 | 6d 61 63 73 20 66 75 6e | a GNU E|macs fun|
|00000120| 63 74 69 6f 6e 20 74 68 | 61 74 20 70 72 6f 76 69 |ction th|at provi|
|00000130| 64 65 73 20 61 20 63 6f | 6e 74 65 78 74 2d 73 65 |des a co|ntext-se|
|00000140| 6e 73 69 74 69 76 65 0a | 6f 6e 65 2d 6c 69 6e 65 |nsitive.|one-line|
|00000150| 20 68 65 6c 70 20 6d 65 | 73 73 61 67 65 20 77 68 | help me|ssage wh|
|00000160| 69 6c 65 20 65 64 69 74 | 69 6e 67 20 70 65 72 6c |ile edit|ing perl|
|00000170| 20 70 72 6f 67 72 61 6d | 73 2e 0a 0a 49 74 20 74 | program|s...It t|
|00000180| 72 69 65 73 20 74 6f 20 | 64 6f 20 69 74 73 20 62 |ries to |do its b|
|00000190| 65 73 74 20 74 6f 20 67 | 75 65 73 73 20 77 68 61 |est to g|uess wha|
|000001a0| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 65 |t the cu|rrent pe|
|000001b0| 72 6c 20 73 79 6d 62 6f | 6c 20 75 6e 64 65 72 0a |rl symbo|l under.|
|000001c0| 70 6f 69 6e 74 20 69 73 | 2c 20 68 6f 77 65 76 65 |point is|, howeve|
|000001d0| 72 20 73 6f 6d 65 20 6f | 66 20 74 68 65 20 6d 6f |r some o|f the mo|
|000001e0| 72 65 20 6f 62 73 63 75 | 72 65 20 70 65 72 6c 20 |re obscu|re perl |
|000001f0| 73 79 6d 62 6f 6c 73 20 | 61 72 65 20 6e 6f 74 20 |symbols |are not |
|00000200| 61 6c 77 61 79 73 0a 72 | 65 63 6f 67 6e 69 7a 65 |always.r|ecognize|
|00000210| 64 20 63 6f 72 72 65 63 | 74 6c 79 2e 0a 0a 42 61 |d correc|tly...Ba|
|00000220| 73 65 64 20 6f 6e 20 27 | 64 65 73 63 72 69 62 65 |sed on '|describe|
|00000230| 2d 6c 69 73 70 2d 73 79 | 6d 62 6f 6c 27 20 61 6e |-lisp-sy|mbol' an|
|00000240| 64 20 6f 74 68 65 72 73 | 2e 0a 48 61 63 6b 65 64 |d others|..Hacked|
|00000250| 20 66 6f 72 20 50 65 72 | 6c 20 62 79 20 4a 6f 68 | for Per|l by Joh|
|00000260| 61 6e 20 56 72 6f 6d 61 | 6e 73 20 3c 6a 76 40 6d |an Vroma|ns <jv@m|
|00000270| 68 2e 6e 6c 3e 0a 0a 54 | 68 69 73 20 76 65 72 73 |h.nl>..T|his vers|
|00000280| 69 6f 6e 20 68 61 73 20 | 62 65 65 6e 20 75 70 64 |ion has |been upd|
|00000290| 61 74 65 64 20 66 6f 72 | 20 50 65 72 6c 20 34 2e |ated for| Perl 4.|
|000002a0| 30 30 30 20 28 55 53 45 | 6e 65 74 20 72 65 6c 65 |000 (USE|net rele|
|000002b0| 61 73 65 29 2e 20 49 74 | 0a 63 6f 6e 74 61 69 6e |ase). It|.contain|
|000002c0| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing |
|000002d0| 66 69 6c 65 73 3a 0a 0a | 09 70 65 72 6c 2d 64 65 |files:..|.perl-de|
|000002e0| 73 63 72 2e 65 6c 09 76 | 65 72 73 69 6f 6e 20 31 |scr.el.v|ersion 1|
|000002f0| 2e 36 0a 09 70 65 72 6c | 2d 64 65 73 63 72 2e 74 |.6..perl|-descr.t|
|00000300| 78 74 09 76 65 72 73 69 | 6f 6e 20 31 2e 37 0a 0a |xt.versi|on 1.7..|
|00000310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000320| 2d 20 43 75 74 20 48 65 | 72 65 20 2d 2d 2d 2d 2d |- Cut He|re -----|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 23 21 2f 62 69 |--------|--.#!/bi|
|00000340| 6e 2f 73 68 0a 23 20 54 | 68 69 73 20 69 73 20 61 |n/sh.# T|his is a|
|00000350| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 20 28 | shell a|rchive (|
|00000360| 70 72 6f 64 75 63 65 64 | 20 62 79 20 73 68 61 72 |produced| by shar|
|00000370| 20 33 2e 34 39 29 0a 23 | 20 54 6f 20 65 78 74 72 | 3.49).#| To extr|
|00000380| 61 63 74 20 74 68 65 20 | 66 69 6c 65 73 20 66 72 |act the |files fr|
|00000390| 6f 6d 20 74 68 69 73 20 | 61 72 63 68 69 76 65 2c |om this |archive,|
|000003a0| 20 73 61 76 65 20 69 74 | 20 74 6f 20 61 20 66 69 | save it| to a fi|
|000003b0| 6c 65 2c 20 72 65 6d 6f | 76 65 0a 23 20 65 76 65 |le, remo|ve.# eve|
|000003c0| 72 79 74 68 69 6e 67 20 | 61 62 6f 76 65 20 74 68 |rything |above th|
|000003d0| 65 20 22 21 2f 62 69 6e | 2f 73 68 22 20 6c 69 6e |e "!/bin|/sh" lin|
|000003e0| 65 20 61 62 6f 76 65 2c | 20 61 6e 64 20 74 79 70 |e above,| and typ|
|000003f0| 65 20 22 73 68 20 66 69 | 6c 65 5f 6e 61 6d 65 22 |e "sh fi|le_name"|
|00000400| 2e 0a 23 0a 23 20 6d 61 | 64 65 20 30 34 2f 30 35 |..#.# ma|de 04/05|
|00000410| 2f 31 39 39 31 20 31 31 | 3a 33 37 20 55 54 43 20 |/1991 11|:37 UTC |
|00000420| 62 79 20 6a 76 40 6c 61 | 72 67 6f 0a 23 20 53 6f |by jv@la|rgo.# So|
|00000430| 75 72 63 65 20 64 69 72 | 65 63 74 6f 72 79 20 2f |urce dir|ectory /|
|00000440| 75 31 2f 75 73 65 72 73 | 2f 6a 76 2f 65 6c 69 73 |u1/users|/jv/elis|
|00000450| 70 2f 73 72 63 2f 70 65 | 72 6c 64 65 73 63 72 0a |p/src/pe|rldescr.|
|00000460| 23 0a 23 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |#.# exis|ting fil|
|00000470| 65 73 20 77 69 6c 6c 20 | 4e 4f 54 20 62 65 20 6f |es will |NOT be o|
|00000480| 76 65 72 77 72 69 74 74 | 65 6e 20 75 6e 6c 65 73 |verwritt|en unles|
|00000490| 73 20 2d 63 20 69 73 20 | 73 70 65 63 69 66 69 65 |s -c is |specifie|
|000004a0| 64 0a 23 0a 23 20 54 68 | 69 73 20 73 68 61 72 20 |d.#.# Th|is shar |
|000004b0| 63 6f 6e 74 61 69 6e 73 | 3a 0a 23 20 6c 65 6e 67 |contains|:.# leng|
|000004c0| 74 68 20 20 6d 6f 64 65 | 20 20 20 20 20 20 20 6e |th mode| n|
|000004d0| 61 6d 65 0a 23 20 2d 2d | 2d 2d 2d 2d 20 2d 2d 2d |ame.# --|---- ---|
|000004e0| 2d 2d 2d 2d 2d 2d 2d 20 | 2d 2d 2d 2d 2d 2d 2d 2d |------- |--------|
|000004f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000510| 2d 2d 0a 23 20 20 20 20 | 35 31 38 20 2d 72 77 2d |--.# |518 -rw-|
|00000520| 72 2d 2d 72 2d 2d 20 52 | 45 41 44 4d 45 0a 23 20 |r--r-- R|EADME.# |
|00000530| 20 20 32 37 30 30 20 2d | 72 2d 2d 72 2d 2d 72 2d | 2700 -|r--r--r-|
|00000540| 2d 20 70 65 72 6c 2d 64 | 65 73 63 72 2e 65 6c 0a |- perl-d|escr.el.|
|00000550| 23 20 20 20 39 37 31 38 | 20 2d 72 2d 2d 72 2d 2d |# 9718| -r--r--|
|00000560| 72 2d 2d 20 70 65 72 6c | 2d 64 65 73 63 72 2e 74 |r-- perl|-descr.t|
|00000570| 78 74 0a 23 0a 23 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |xt.#.# =|========|
|00000580| 3d 3d 3d 3d 20 52 45 41 | 44 4d 45 20 3d 3d 3d 3d |==== REA|DME ====|
|00000590| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0a 69 66 20 74 65 |========|==.if te|
|000005a0| 73 74 20 2d 66 20 27 52 | 45 41 44 4d 45 27 20 2d |st -f 'R|EADME' -|
|000005b0| 61 20 58 22 24 31 22 20 | 21 3d 20 58 22 2d 63 22 |a X"$1" |!= X"-c"|
|000005c0| 3b 20 74 68 65 6e 0a 09 | 65 63 68 6f 20 27 78 20 |; then..|echo 'x |
|000005d0| 2d 20 73 6b 69 70 70 69 | 6e 67 20 52 45 41 44 4d |- skippi|ng READM|
|000005e0| 45 20 28 46 69 6c 65 20 | 61 6c 72 65 61 64 79 20 |E (File |already |
|000005f0| 65 78 69 73 74 73 29 27 | 0a 65 6c 73 65 0a 65 63 |exists)'|.else.ec|
|00000600| 68 6f 20 27 78 20 2d 20 | 65 78 74 72 61 63 74 69 |ho 'x - |extracti|
|00000610| 6e 67 20 52 45 41 44 4d | 45 20 28 54 65 78 74 29 |ng READM|E (Text)|
|00000620| 27 0a 73 65 64 20 27 73 | 2f 5e 58 2f 2f 27 20 3c |'.sed 's|/^X//' <|
|00000630| 3c 20 27 53 48 41 52 5f | 45 4f 46 27 20 3e 20 27 |< 'SHAR_|EOF' > '|
|00000640| 52 45 41 44 4d 45 27 20 | 26 26 0a 54 68 69 73 20 |README' |&&.This |
|00000650| 69 73 20 61 20 47 4e 55 | 20 45 6d 61 63 73 20 66 |is a GNU| Emacs f|
|00000660| 75 6e 63 74 69 6f 6e 20 | 74 68 61 74 20 70 72 6f |unction |that pro|
|00000670| 76 69 64 65 73 20 61 20 | 63 6f 6e 74 65 78 74 2d |vides a |context-|
|00000680| 73 65 6e 73 69 74 69 76 | 65 0a 6f 6e 65 2d 6c 69 |sensitiv|e.one-li|
|00000690| 6e 65 20 68 65 6c 70 20 | 6d 65 73 73 61 67 65 20 |ne help |message |
|000006a0| 77 68 69 6c 65 20 65 64 | 69 74 69 6e 67 20 70 65 |while ed|iting pe|
|000006b0| 72 6c 20 70 72 6f 67 72 | 61 6d 73 2e 0a 58 0a 49 |rl progr|ams..X.I|
|000006c0| 74 20 74 72 69 65 73 20 | 74 6f 20 64 6f 20 69 74 |t tries |to do it|
|000006d0| 73 20 62 65 73 74 20 74 | 6f 20 67 75 65 73 73 20 |s best t|o guess |
|000006e0| 77 68 61 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |what the| current|
|000006f0| 20 70 65 72 6c 20 73 79 | 6d 62 6f 6c 20 75 6e 64 | perl sy|mbol und|
|00000700| 65 72 0a 70 6f 69 6e 74 | 20 69 73 2c 20 68 6f 77 |er.point| is, how|
|00000710| 65 76 65 72 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |ever som|e of the|
|00000720| 20 6d 6f 72 65 20 6f 62 | 73 63 75 72 65 20 70 65 | more ob|scure pe|
|00000730| 72 6c 20 73 79 6d 62 6f | 6c 73 20 61 72 65 20 6e |rl symbo|ls are n|
|00000740| 6f 74 20 61 6c 77 61 79 | 73 0a 72 65 63 6f 67 6e |ot alway|s.recogn|
|00000750| 69 7a 65 64 20 63 6f 72 | 72 65 63 74 6c 79 2e 0a |ized cor|rectly..|
|00000760| 58 0a 42 61 73 65 64 20 | 6f 6e 20 27 64 65 73 63 |X.Based |on 'desc|
|00000770| 72 69 62 65 2d 6c 69 73 | 70 2d 73 79 6d 62 6f 6c |ribe-lis|p-symbol|
|00000780| 27 20 61 6e 64 20 6f 74 | 68 65 72 73 2e 0a 48 61 |' and ot|hers..Ha|
|00000790| 63 6b 65 64 20 66 6f 72 | 20 50 65 72 6c 20 62 79 |cked for| Perl by|
|000007a0| 20 4a 6f 68 61 6e 20 56 | 72 6f 6d 61 6e 73 20 3c | Johan V|romans <|
|000007b0| 6a 76 40 6d 68 2e 6e 6c | 3e 0a 58 0a 54 68 69 73 |jv@mh.nl|>.X.This|
|000007c0| 20 76 65 72 73 69 6f 6e | 20 68 61 73 20 62 65 65 | version| has bee|
|000007d0| 6e 20 75 70 64 61 74 65 | 64 20 66 6f 72 20 50 65 |n update|d for Pe|
|000007e0| 72 6c 20 34 2e 30 30 30 | 20 28 55 53 45 6e 65 74 |rl 4.000| (USEnet|
|000007f0| 20 72 65 6c 65 61 73 65 | 29 2e 20 49 74 0a 63 6f | release|). It.co|
|00000800| 6e 74 61 69 6e 73 20 74 | 68 65 20 66 6f 6c 6c 6f |ntains t|he follo|
|00000810| 77 69 6e 67 20 66 69 6c | 65 73 3a 0a 58 0a 58 09 |wing fil|es:.X.X.|
|00000820| 70 65 72 6c 2d 64 65 73 | 63 72 2e 65 6c 09 76 65 |perl-des|cr.el.ve|
|00000830| 72 73 69 6f 6e 20 31 2e | 36 0a 58 09 70 65 72 6c |rsion 1.|6.X.perl|
|00000840| 2d 64 65 73 63 72 2e 74 | 78 74 09 76 65 72 73 69 |-descr.t|xt.versi|
|00000850| 6f 6e 20 31 2e 37 0a 53 | 48 41 52 5f 45 4f 46 0a |on 1.7.S|HAR_EOF.|
|00000860| 63 68 6d 6f 64 20 30 36 | 34 34 20 52 45 41 44 4d |chmod 06|44 READM|
|00000870| 45 20 7c 7c 0a 65 63 68 | 6f 20 27 72 65 73 74 6f |E ||.ech|o 'resto|
|00000880| 72 65 20 6f 66 20 52 45 | 41 44 4d 45 20 66 61 69 |re of RE|ADME fai|
|00000890| 6c 65 64 27 0a 57 63 5f | 63 3d 22 60 77 63 20 2d |led'.Wc_|c="`wc -|
|000008a0| 63 20 3c 20 27 52 45 41 | 44 4d 45 27 60 22 0a 74 |c < 'REA|DME'`".t|
|000008b0| 65 73 74 20 35 31 38 20 | 2d 65 71 20 22 24 57 63 |est 518 |-eq "$Wc|
|000008c0| 5f 63 22 20 7c 7c 0a 09 | 65 63 68 6f 20 27 52 45 |_c" ||..|echo 'RE|
|000008d0| 41 44 4d 45 3a 20 6f 72 | 69 67 69 6e 61 6c 20 73 |ADME: or|iginal s|
|000008e0| 69 7a 65 20 35 31 38 2c | 20 63 75 72 72 65 6e 74 |ize 518,| current|
|000008f0| 20 73 69 7a 65 27 20 22 | 24 57 63 5f 63 22 0a 66 | size' "|$Wc_c".f|
|00000900| 69 0a 23 20 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |i.# ====|========|
|00000910| 3d 20 70 65 72 6c 2d 64 | 65 73 63 72 2e 65 6c 20 |= perl-d|escr.el |
|00000920| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0a 69 |========|======.i|
|00000930| 66 20 74 65 73 74 20 2d | 66 20 27 70 65 72 6c 2d |f test -|f 'perl-|
|00000940| 64 65 73 63 72 2e 65 6c | 27 20 2d 61 20 58 22 24 |descr.el|' -a X"$|
|00000950| 31 22 20 21 3d 20 58 22 | 2d 63 22 3b 20 74 68 65 |1" != X"|-c"; the|
|00000960| 6e 0a 09 65 63 68 6f 20 | 27 78 20 2d 20 73 6b 69 |n..echo |'x - ski|
|00000970| 70 70 69 6e 67 20 70 65 | 72 6c 2d 64 65 73 63 72 |pping pe|rl-descr|
|00000980| 2e 65 6c 20 28 46 69 6c | 65 20 61 6c 72 65 61 64 |.el (Fil|e alread|
|00000990| 79 20 65 78 69 73 74 73 | 29 27 0a 65 6c 73 65 0a |y exists|)'.else.|
|000009a0| 65 63 68 6f 20 27 78 20 | 2d 20 65 78 74 72 61 63 |echo 'x |- extrac|
|000009b0| 74 69 6e 67 20 70 65 72 | 6c 2d 64 65 73 63 72 2e |ting per|l-descr.|
|000009c0| 65 6c 20 28 54 65 78 74 | 29 27 0a 73 65 64 20 27 |el (Text|)'.sed '|
|000009d0| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 27 53 48 41 52 |s/^X//' |<< 'SHAR|
|000009e0| 5f 45 4f 46 27 20 3e 20 | 27 70 65 72 6c 2d 64 65 |_EOF' > |'perl-de|
|000009f0| 73 63 72 2e 65 6c 27 20 | 26 26 0a 3b 3b 20 40 28 |scr.el' |&&.;; @(|
|00000a00| 23 29 40 20 70 65 72 6c | 2d 64 65 73 63 72 2e 65 |#)@ perl|-descr.e|
|00000a10| 6c 09 31 2e 36 20 2d 20 | 64 65 73 63 72 69 62 65 |l.1.6 - |describe|
|00000a20| 2d 70 65 72 6c 2d 73 79 | 6d 62 6f 6c 0a 58 0a 3b |-perl-sy|mbol.X.;|
|00000a30| 3b 20 54 68 69 73 20 66 | 69 6c 65 20 64 65 66 69 |; This f|ile defi|
|00000a40| 6e 65 73 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |nes the |function|
|00000a50| 20 27 64 65 73 63 72 69 | 62 65 2d 70 65 72 6c 2d | 'descri|be-perl-|
|00000a60| 73 79 6d 62 6f 6c 2c 20 | 77 68 69 63 68 0a 3b 3b |symbol, |which.;;|
|00000a70| 20 64 69 73 70 6c 61 79 | 73 20 61 20 6f 6e 65 2d | display|s a one-|
|00000a80| 6c 69 6e 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |line inf|ormation|
|00000a90| 20 6f 6e 20 61 20 70 65 | 72 6c 20 73 79 6d 62 6f | on a pe|rl symbo|
|00000aa0| 6c 2e 0a 58 0a 3b 3b 20 | 42 61 73 65 64 20 6f 6e |l..X.;; |Based on|
|00000ab0| 20 27 64 65 73 63 72 69 | 62 65 2d 6c 69 73 70 2d | 'descri|be-lisp-|
|00000ac0| 73 79 6d 62 6f 6c 27 20 | 61 6e 64 20 6f 74 68 65 |symbol' |and othe|
|00000ad0| 72 73 2e 0a 3b 3b 20 48 | 61 63 6b 65 64 20 66 6f |rs..;; H|acked fo|
|00000ae0| 72 20 50 65 72 6c 20 62 | 79 20 4a 6f 68 61 6e 20 |r Perl b|y Johan |
|00000af0| 56 72 6f 6d 61 6e 73 20 | 3c 6a 76 40 6d 68 2e 6e |Vromans |<jv@mh.n|
|00000b00| 6c 3e 0a 58 0a 28 64 65 | 66 76 61 72 20 70 65 72 |l>.X.(de|fvar per|
|00000b10| 6c 2d 64 6f 63 2d 66 69 | 6c 65 20 22 7e 2f 65 6c |l-doc-fi|le "~/el|
|00000b20| 69 73 70 2f 70 65 72 6c | 2d 64 65 73 63 72 2e 74 |isp/perl|-descr.t|
|00000b30| 78 74 22 0a 58 20 20 22 | 2a 57 68 65 72 65 20 74 |xt".X "|*Where t|
|00000b40| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00000b50| 20 66 69 6c 65 20 63 61 | 6e 20 62 65 20 66 6f 75 | file ca|n be fou|
|00000b60| 6e 64 2e 22 29 0a 58 0a | 28 64 65 66 75 6e 20 70 |nd.").X.|(defun p|
|00000b70| 65 72 6c 2d 73 79 6d 62 | 6f 6c 2d 61 74 2d 70 6f |erl-symb|ol-at-po|
|00000b80| 69 6e 74 20 28 29 0a 58 | 20 20 22 47 65 74 20 74 |int ().X| "Get t|
|00000b90| 68 65 20 63 6c 6f 73 65 | 73 74 20 50 65 72 6c 20 |he close|st Perl |
|00000ba0| 73 79 6d 62 6f 6c 20 74 | 6f 20 70 6f 69 6e 74 2c |symbol t|o point,|
|00000bb0| 20 62 75 74 20 64 6f 6e | 27 74 20 63 68 61 6e 67 | but don|'t chang|
|00000bc0| 65 20 79 6f 75 72 0a 70 | 6f 73 69 74 69 6f 6e 2e |e your.p|osition.|
|00000bd0| 20 48 61 73 20 61 20 70 | 72 65 66 65 72 65 6e 63 | Has a p|referenc|
|00000be0| 65 20 66 6f 72 20 6c 6f | 6f 6b 69 6e 67 20 62 61 |e for lo|oking ba|
|00000bf0| 63 6b 77 61 72 64 20 77 | 68 65 6e 20 6e 6f 74 0a |ckward w|hen not.|
|00000c00| 64 69 72 65 63 74 6c 79 | 20 6f 6e 20 61 20 73 79 |directly| on a sy|
|00000c10| 6d 62 6f 6c 2e 22 0a 58 | 0a 58 20 20 28 6c 65 74 |mbol.".X|.X (let|
|00000c20| 20 28 28 70 65 72 6c 2d | 77 6f 72 64 63 68 61 72 | ((perl-|wordchar|
|00000c30| 73 20 22 61 2d 7a 41 2d | 5a 30 2d 39 5f 22 29 20 |s "a-zA-|Z0-9_") |
|00000c40| 73 74 61 72 74 20 65 6e | 64 20 73 79 6d 62 6f 6c |start en|d symbol|
|00000c50| 29 0a 58 09 20 20 20 20 | 20 20 0a 58 20 20 20 20 |).X. | .X |
|00000c60| 28 73 61 76 65 2d 65 78 | 63 75 72 73 69 6f 6e 0a |(save-ex|cursion.|
|00000c70| 58 0a 58 20 20 20 20 20 | 20 3b 3b 20 66 69 72 73 |X.X | ;; firs|
|00000c80| 74 20 73 65 65 20 69 66 | 20 79 6f 75 27 72 65 20 |t see if| you're |
|00000c90| 6a 75 73 74 20 70 61 73 | 74 20 61 20 73 79 6d 62 |just pas|t a symb|
|00000ca0| 6f 6c 0a 58 20 20 20 20 | 20 20 28 69 66 20 28 65 |ol.X | (if (e|
|00000cb0| 6f 62 70 29 0a 58 09 20 | 20 28 69 66 20 28 6e 6f |obp).X. | (if (no|
|00000cc0| 74 20 28 62 6f 62 70 29 | 29 0a 58 09 20 20 20 20 |t (bobp)|).X. |
|00000cd0| 20 20 28 62 61 63 6b 77 | 61 72 64 2d 63 68 61 72 | (backw|ard-char|
|00000ce0| 20 31 29 29 0a 58 09 28 | 69 66 20 28 6c 6f 6f 6b | 1)).X.(|if (look|
|00000cf0| 69 6e 67 2d 61 74 20 22 | 5b 5d 20 5c 74 5c 6e 5b |ing-at "|[] \t\n[|
|00000d00| 7b 7d 28 29 5d 22 29 0a | 58 09 20 20 20 20 28 70 |{}()]").|X. (p|
|00000d10| 72 6f 67 6e 0a 58 09 20 | 20 20 20 20 20 28 73 6b |rogn.X. | (sk|
|00000d20| 69 70 2d 63 68 61 72 73 | 2d 62 61 63 6b 77 61 72 |ip-chars|-backwar|
|00000d30| 64 20 22 20 5c 6e 5c 74 | 5c 72 28 7b 5b 5d 7d 29 |d " \n\t|\r({[]})|
|00000d40| 22 29 0a 58 09 20 20 20 | 20 20 20 28 69 66 20 28 |").X. | (if (|
|00000d50| 6e 6f 74 20 28 62 6f 62 | 70 29 29 0a 58 09 09 20 |not (bob|p)).X.. |
|00000d60| 20 28 62 61 63 6b 77 61 | 72 64 2d 63 68 61 72 20 | (backwa|rd-char |
|00000d70| 31 29 29 29 29 29 0a 58 | 0a 58 20 20 20 20 20 20 |1))))).X|.X |
|00000d80| 28 69 66 20 28 6c 6f 6f | 6b 69 6e 67 2d 61 74 20 |(if (loo|king-at |
|00000d90| 28 63 6f 6e 63 61 74 20 | 22 5b 24 25 40 5d 3f 5b |(concat |"[$%@]?[|
|00000da0| 22 20 70 65 72 6c 2d 77 | 6f 72 64 63 68 61 72 73 |" perl-w|ordchars|
|00000db0| 20 22 5d 22 29 29 0a 58 | 09 20 20 28 70 72 6f 67 | "]")).X|. (prog|
|00000dc0| 6e 0a 58 09 20 20 20 20 | 28 73 6b 69 70 2d 63 68 |n.X. |(skip-ch|
|00000dd0| 61 72 73 2d 62 61 63 6b | 77 61 72 64 20 70 65 72 |ars-back|ward per|
|00000de0| 6c 2d 77 6f 72 64 63 68 | 61 72 73 29 0a 58 09 20 |l-wordch|ars).X. |
|00000df0| 20 20 20 28 73 65 74 71 | 20 73 74 61 72 74 20 28 | (setq| start (|
|00000e00| 70 6f 69 6e 74 29 29 0a | 58 09 20 20 20 20 3b 20 |point)).|X. ; |
|00000e10| 47 65 74 20 69 64 65 6e | 74 69 66 69 65 72 2e 20 |Get iden|tifier. |
|00000e20| 49 6e 63 6c 75 64 65 20 | 6c 65 61 64 69 6e 67 20 |Include |leading |
|00000e30| 24 20 25 20 40 20 74 6f | 20 66 69 6e 64 20 74 68 |$ % @ to| find th|
|00000e40| 69 6e 67 73 20 6c 69 6b | 65 0a 58 09 20 20 20 20 |ings lik|e.X. |
|00000e50| 3b 20 40 41 52 47 56 20 | 61 6e 64 20 25 45 4e 56 |; @ARGV |and %ENV|
|00000e60| 20 2e 0a 58 09 20 20 20 | 20 28 69 66 20 28 73 74 | ..X. | (if (st|
|00000e70| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 5b 24 25 40 |ring-mat|ch "[$%@|
|00000e80| 5d 22 20 28 63 68 61 72 | 2d 74 6f 2d 73 74 72 69 |]" (char|-to-stri|
|00000e90| 6e 67 20 28 70 72 65 63 | 65 64 69 6e 67 2d 63 68 |ng (prec|eding-ch|
|00000ea0| 61 72 29 29 29 0a 58 09 | 09 28 73 65 74 71 20 73 |ar))).X.|.(setq s|
|00000eb0| 74 61 72 74 20 28 31 2d | 20 73 74 61 72 74 29 29 |tart (1-| start))|
|00000ec0| 0a 58 09 20 20 20 20 20 | 20 28 66 6f 72 77 61 72 |.X. | (forwar|
|00000ed0| 64 2d 63 68 61 72 20 31 | 29 29 0a 58 09 20 20 20 |d-char 1|)).X. |
|00000ee0| 20 28 73 6b 69 70 2d 63 | 68 61 72 73 2d 66 6f 72 | (skip-c|hars-for|
|00000ef0| 77 61 72 64 20 70 65 72 | 6c 2d 77 6f 72 64 63 68 |ward per|l-wordch|
|00000f00| 61 72 73 29 29 0a 58 0a | 58 09 3b 3b 20 65 6c 73 |ars)).X.|X.;; els|
|00000f10| 65 20 61 20 73 79 6d 62 | 6f 6c 3f 0a 58 09 20 20 |e a symb|ol?.X. |
|00000f20| 28 70 72 6f 67 6e 0a 58 | 09 20 20 20 20 28 73 65 |(progn.X|. (se|
|00000f30| 74 71 20 73 74 61 72 74 | 20 28 70 6f 69 6e 74 29 |tq start| (point)|
|00000f40| 29 0a 58 09 20 20 20 20 | 28 69 66 20 28 6c 6f 6f |).X. |(if (loo|
|00000f50| 6b 69 6e 67 2d 61 74 20 | 22 5b 24 40 5d 5b 5e 20 |king-at |"[$@][^ |
|00000f60| 5c 6e 5c 74 5d 22 29 20 | 3b 20 73 70 65 63 69 61 |\n\t]") |; specia|
|00000f70| 6c 20 76 61 72 69 61 62 | 6c 65 0a 58 09 09 28 66 |l variab|le.X..(f|
|00000f80| 6f 72 77 61 72 64 2d 63 | 68 61 72 20 31 29 0a 58 |orward-c|har 1).X|
|00000f90| 09 20 20 20 20 20 20 28 | 69 66 20 28 73 74 72 69 |. (|if (stri|
|00000fa0| 6e 67 2d 6d 61 74 63 68 | 20 22 5b 24 40 5d 22 20 |ng-match| "[$@]" |
|00000fb0| 28 63 68 61 72 2d 74 6f | 2d 73 74 72 69 6e 67 20 |(char-to|-string |
|00000fc0| 28 70 72 65 63 65 64 69 | 6e 67 2d 63 68 61 72 29 |(precedi|ng-char)|
|00000fd0| 29 29 0a 58 09 09 20 20 | 28 73 65 74 71 20 73 74 |)).X.. |(setq st|
|00000fe0| 61 72 74 20 28 31 2d 20 | 73 74 61 72 74 29 29 29 |art (1- |start)))|
|00000ff0| 29 0a 58 09 20 20 20 20 | 28 66 6f 72 77 61 72 64 |).X. |(forward|
|00001000| 2d 63 68 61 72 20 31 29 | 29 29 0a 58 20 20 20 20 |-char 1)|)).X |
|00001010| 20 20 28 62 75 66 66 65 | 72 2d 73 75 62 73 74 72 | (buffe|r-substr|
|00001020| 69 6e 67 20 73 74 61 72 | 74 20 28 70 6f 69 6e 74 |ing star|t (point|
|00001030| 29 29 29 29 29 0a 58 0a | 28 64 65 66 75 6e 20 64 |))))).X.|(defun d|
|00001040| 65 73 63 72 69 62 65 2d | 70 65 72 6c 2d 73 79 6d |escribe-|perl-sym|
|00001050| 62 6f 6c 20 28 73 79 6d | 62 6f 6c 29 0a 58 20 20 |bol (sym|bol).X |
|00001060| 22 44 69 73 70 6c 61 79 | 20 74 68 65 20 64 6f 63 |"Display| the doc|
|00001070| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 53 59 |umentati|on of SY|
|00001080| 4d 42 4f 4c 2c 20 61 20 | 50 65 72 6c 20 6f 70 65 |MBOL, a |Perl ope|
|00001090| 72 61 74 6f 72 2e 22 0a | 58 20 20 28 69 6e 74 65 |rator.".|X (inte|
|000010a0| 72 61 63 74 69 76 65 0a | 58 20 20 20 20 28 6c 65 |ractive.|X (le|
|000010b0| 74 20 28 28 66 6e 20 28 | 70 65 72 6c 2d 73 79 6d |t ((fn (|perl-sym|
|000010c0| 62 6f 6c 2d 61 74 2d 70 | 6f 69 6e 74 29 29 0a 58 |bol-at-p|oint)).X|
|000010d0| 09 20 20 28 65 6e 61 62 | 6c 65 2d 72 65 63 75 72 |. (enab|le-recur|
|000010e0| 73 69 76 65 2d 6d 69 6e | 69 62 75 66 66 65 72 73 |sive-min|ibuffers|
|000010f0| 20 74 29 0a 58 09 20 20 | 28 63 61 73 65 2d 66 6f | t).X. |(case-fo|
|00001100| 6c 64 2d 73 65 61 72 63 | 68 20 6e 69 6c 29 09 3b |ld-searc|h nil).;|
|00001110| 72 65 71 75 69 72 65 20 | 74 68 61 74 20 63 61 73 |require |that cas|
|00001120| 65 20 6d 61 74 63 68 20 | 66 6f 72 20 73 65 61 72 |e match |for sear|
|00001130| 63 68 0a 58 09 20 20 76 | 61 6c 20 61 72 67 73 2d |ch.X. v|al args-|
|00001140| 66 69 6c 65 20 72 65 67 | 65 78 70 29 0a 58 20 20 |file reg|exp).X |
|00001150| 20 20 20 20 28 73 65 74 | 71 20 76 61 6c 20 28 72 | (set|q val (r|
|00001160| 65 61 64 2d 66 72 6f 6d | 2d 6d 69 6e 69 62 75 66 |ead-from|-minibuf|
|00001170| 66 65 72 0a 58 09 09 20 | 20 28 69 66 20 66 6e 0a |fer.X.. | (if fn.|
|00001180| 58 09 09 20 20 20 20 20 | 20 28 66 6f 72 6d 61 74 |X.. | (format|
|00001190| 20 22 53 79 6d 62 6f 6c | 20 28 64 65 66 61 75 6c | "Symbol| (defaul|
|000011a0| 74 20 25 73 29 3a 20 22 | 20 66 6e 29 0a 58 09 09 |t %s): "| fn).X..|
|000011b0| 20 20 20 20 22 53 79 6d | 62 6f 6c 3a 20 22 29 29 | "Sym|bol: "))|
|000011c0| 29 0a 58 20 20 20 20 20 | 20 28 69 66 20 28 73 74 |).X | (if (st|
|000011d0| 72 69 6e 67 3d 20 76 61 | 6c 20 22 22 29 0a 58 09 |ring= va|l "").X.|
|000011e0| 20 20 28 73 65 74 71 20 | 76 61 6c 20 66 6e 29 29 | (setq |val fn))|
|000011f0| 0a 58 20 20 20 20 20 20 | 28 73 65 74 71 20 72 65 |.X |(setq re|
|00001200| 67 65 78 70 20 28 63 6f | 6e 63 61 74 20 22 5e 22 |gexp (co|ncat "^"|
|00001210| 20 28 72 65 67 65 78 70 | 2d 71 75 6f 74 65 20 76 | (regexp|-quote v|
|00001220| 61 6c 29 20 22 5c 5c 28 | 5b 20 5c 74 28 5b 2f 5d |al) "\\(|[ \t([/]|
|00001230| 5c 5c 7c 24 5c 5c 29 22 | 29 29 0a 58 0a 58 20 20 |\\|$\\)"|)).X.X |
|00001240| 20 20 20 20 3b 3b 20 67 | 65 74 20 74 68 65 20 62 | ;; g|et the b|
|00001250| 75 66 66 65 72 20 77 69 | 74 68 20 74 68 65 20 64 |uffer wi|th the d|
|00001260| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 74 65 78 |ocumenta|tion tex|
|00001270| 74 0a 58 20 20 20 20 20 | 20 28 69 66 20 28 6e 6f |t.X | (if (no|
|00001280| 74 20 28 67 65 74 2d 66 | 69 6c 65 2d 62 75 66 66 |t (get-f|ile-buff|
|00001290| 65 72 20 70 65 72 6c 2d | 64 6f 63 2d 66 69 6c 65 |er perl-|doc-file|
|000012a0| 29 29 0a 58 09 20 20 28 | 70 72 6f 67 6e 0a 58 09 |)).X. (|progn.X.|
|000012b0| 20 20 20 20 28 73 65 74 | 71 20 61 72 67 73 2d 66 | (set|q args-f|
|000012c0| 69 6c 65 0a 58 09 20 20 | 20 20 20 20 28 66 69 6e |ile.X. | (fin|
|000012d0| 64 2d 66 69 6c 65 2d 6e | 6f 73 65 6c 65 63 74 20 |d-file-n|oselect |
|000012e0| 70 65 72 6c 2d 64 6f 63 | 2d 66 69 6c 65 29 29 0a |perl-doc|-file)).|
|000012f0| 58 09 20 20 20 20 28 73 | 65 74 2d 62 75 66 66 65 |X. (s|et-buffe|
|00001300| 72 20 61 72 67 73 2d 66 | 69 6c 65 29 0a 58 09 20 |r args-f|ile).X. |
|00001310| 20 20 20 28 72 65 6e 61 | 6d 65 2d 62 75 66 66 65 | (rena|me-buffe|
|00001320| 72 20 22 2a 50 45 52 4c | 2d 44 4f 43 2a 22 29 0a |r "*PERL|-DOC*").|
|00001330| 58 09 20 20 20 20 28 73 | 65 74 71 20 62 75 66 66 |X. (s|etq buff|
|00001340| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 74 29 29 |er-read-|only t))|
|00001350| 29 0a 58 20 20 20 20 20 | 20 28 73 65 74 2d 62 75 |).X | (set-bu|
|00001360| 66 66 65 72 20 28 67 65 | 74 2d 66 69 6c 65 2d 62 |ffer (ge|t-file-b|
|00001370| 75 66 66 65 72 20 70 65 | 72 6c 2d 64 6f 63 2d 66 |uffer pe|rl-doc-f|
|00001380| 69 6c 65 29 29 0a 58 0a | 58 20 20 20 20 20 20 3b |ile)).X.|X ;|
|00001390| 3b 20 6c 6f 6f 6b 75 70 | 20 69 6e 20 74 68 65 20 |; lookup| in the |
|000013a0| 64 6f 63 0a 58 20 20 20 | 20 20 20 28 67 6f 74 6f |doc.X | (goto|
|000013b0| 2d 63 68 61 72 20 28 70 | 6f 69 6e 74 2d 6d 69 6e |-char (p|oint-min|
|000013c0| 29 29 0a 58 20 20 20 20 | 20 20 28 6c 69 73 74 20 |)).X | (list |
|000013d0| 28 69 66 20 28 72 65 2d | 73 65 61 72 63 68 2d 66 |(if (re-|search-f|
|000013e0| 6f 72 77 61 72 64 20 72 | 65 67 65 78 70 20 28 70 |orward r|egexp (p|
|000013f0| 6f 69 6e 74 2d 6d 61 78 | 29 20 74 29 0a 58 09 09 |oint-max|) t).X..|
|00001400| 28 73 61 76 65 2d 65 78 | 63 75 72 73 69 6f 6e 0a |(save-ex|cursion.|
|00001410| 58 09 09 20 20 28 62 65 | 67 69 6e 6e 69 6e 67 2d |X.. (be|ginning-|
|00001420| 6f 66 2d 6c 69 6e 65 20 | 31 29 0a 58 09 09 20 20 |of-line |1).X.. |
|00001430| 28 6c 65 74 20 28 28 6c | 6e 73 74 61 72 74 20 28 |(let ((l|nstart (|
|00001440| 70 6f 69 6e 74 29 29 29 | 0a 58 09 09 20 20 20 20 |point)))|.X.. |
|00001450| 28 65 6e 64 2d 6f 66 2d | 6c 69 6e 65 29 0a 58 09 |(end-of-|line).X.|
|00001460| 09 20 20 20 20 28 6d 65 | 73 73 61 67 65 20 22 25 |. (me|ssage "%|
|00001470| 73 22 20 28 62 75 66 66 | 65 72 2d 73 75 62 73 74 |s" (buff|er-subst|
|00001480| 72 69 6e 67 20 6c 6e 73 | 74 61 72 74 20 28 70 6f |ring lns|tart (po|
|00001490| 69 6e 74 29 29 29 29 29 | 0a 58 09 20 20 20 20 20 |int)))))|.X. |
|000014a0| 20 28 65 72 72 6f 72 20 | 28 66 6f 72 6d 61 74 20 | (error |(format |
|000014b0| 22 4e 6f 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 66 |"No defi|nition f|
|000014c0| 6f 72 20 25 73 22 20 76 | 61 6c 29 29 29 29 29 29 |or %s" v|al))))))|
|000014d0| 29 0a 53 48 41 52 5f 45 | 4f 46 0a 63 68 6d 6f 64 |).SHAR_E|OF.chmod|
|000014e0| 20 30 34 34 34 20 70 65 | 72 6c 2d 64 65 73 63 72 | 0444 pe|rl-descr|
|000014f0| 2e 65 6c 20 7c 7c 0a 65 | 63 68 6f 20 27 72 65 73 |.el ||.e|cho 'res|
|00001500| 74 6f 72 65 20 6f 66 20 | 70 65 72 6c 2d 64 65 73 |tore of |perl-des|
|00001510| 63 72 2e 65 6c 20 66 61 | 69 6c 65 64 27 0a 57 63 |cr.el fa|iled'.Wc|
|00001520| 5f 63 3d 22 60 77 63 20 | 2d 63 20 3c 20 27 70 65 |_c="`wc |-c < 'pe|
|00001530| 72 6c 2d 64 65 73 63 72 | 2e 65 6c 27 60 22 0a 74 |rl-descr|.el'`".t|
|00001540| 65 73 74 20 32 37 30 30 | 20 2d 65 71 20 22 24 57 |est 2700| -eq "$W|
|00001550| 63 5f 63 22 20 7c 7c 0a | 09 65 63 68 6f 20 27 70 |c_c" ||.|.echo 'p|
|00001560| 65 72 6c 2d 64 65 73 63 | 72 2e 65 6c 3a 20 6f 72 |erl-desc|r.el: or|
|00001570| 69 67 69 6e 61 6c 20 73 | 69 7a 65 20 32 37 30 30 |iginal s|ize 2700|
|00001580| 2c 20 63 75 72 72 65 6e | 74 20 73 69 7a 65 27 20 |, curren|t size' |
|00001590| 22 24 57 63 5f 63 22 0a | 66 69 0a 23 20 3d 3d 3d |"$Wc_c".|fi.# ===|
|000015a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 20 70 65 72 6c 2d |========|== perl-|
|000015b0| 64 65 73 63 72 2e 74 78 | 74 20 3d 3d 3d 3d 3d 3d |descr.tx|t ======|
|000015c0| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 69 66 20 74 65 73 74 |========|.if test|
|000015d0| 20 2d 66 20 27 70 65 72 | 6c 2d 64 65 73 63 72 2e | -f 'per|l-descr.|
|000015e0| 74 78 74 27 20 2d 61 20 | 58 22 24 31 22 20 21 3d |txt' -a |X"$1" !=|
|000015f0| 20 58 22 2d 63 22 3b 20 | 74 68 65 6e 0a 09 65 63 | X"-c"; |then..ec|
|00001600| 68 6f 20 27 78 20 2d 20 | 73 6b 69 70 70 69 6e 67 |ho 'x - |skipping|
|00001610| 20 70 65 72 6c 2d 64 65 | 73 63 72 2e 74 78 74 20 | perl-de|scr.txt |
|00001620| 28 46 69 6c 65 20 61 6c | 72 65 61 64 79 20 65 78 |(File al|ready ex|
|00001630| 69 73 74 73 29 27 0a 65 | 6c 73 65 0a 65 63 68 6f |ists)'.e|lse.echo|
|00001640| 20 27 78 20 2d 20 65 78 | 74 72 61 63 74 69 6e 67 | 'x - ex|tracting|
|00001650| 20 70 65 72 6c 2d 64 65 | 73 63 72 2e 74 78 74 20 | perl-de|scr.txt |
|00001660| 28 54 65 78 74 29 27 0a | 73 65 64 20 27 73 2f 5e |(Text)'.|sed 's/^|
|00001670| 58 2f 2f 27 20 3c 3c 20 | 27 53 48 41 52 5f 45 4f |X//' << |'SHAR_EO|
|00001680| 46 27 20 3e 20 27 70 65 | 72 6c 2d 64 65 73 63 72 |F' > 'pe|rl-descr|
|00001690| 2e 74 78 74 27 20 26 26 | 0a 23 20 40 28 23 29 40 |.txt' &&|.# @(#)@|
|000016a0| 20 70 65 72 6c 2d 64 65 | 73 63 72 2e 74 78 74 20 | perl-de|scr.txt |
|000016b0| 31 2e 37 20 2d 20 64 65 | 73 63 72 69 62 65 2d 70 |1.7 - de|scribe-p|
|000016c0| 65 72 6c 2d 73 79 6d 62 | 6f 6c 20 5b 74 65 78 74 |erl-symb|ol [text|
|000016d0| 5d 20 50 65 72 6c 20 34 | 2e 30 30 30 0a 21 3d 09 |] Perl 4|.000.!=.|
|000016e0| 4e 75 6d 65 72 69 63 20 | 69 6e 65 71 75 61 6c 69 |Numeric |inequali|
|000016f0| 74 79 2e 0a 21 7e 09 53 | 65 61 72 63 68 20 70 61 |ty..!~.S|earch pa|
|00001700| 74 74 65 72 6e 2c 20 73 | 75 62 73 74 69 74 75 74 |ttern, s|ubstitut|
|00001710| 69 6f 6e 2c 20 6f 72 20 | 74 72 61 6e 73 6c 61 74 |ion, or |translat|
|00001720| 69 6f 6e 20 28 6e 65 67 | 61 74 65 64 29 2e 0a 24 |ion (neg|ated)..$|
|00001730| 21 09 49 66 20 75 73 65 | 64 20 69 6e 20 61 20 6e |!.If use|d in a n|
|00001740| 75 6d 65 72 69 63 20 63 | 6f 6e 74 65 78 74 2c 20 |umeric c|ontext, |
|00001750| 79 69 65 6c 64 73 20 74 | 68 65 20 63 75 72 72 65 |yields t|he curre|
|00001760| 6e 74 20 76 61 6c 75 65 | 20 6f 66 20 65 72 72 6e |nt value| of errn|
|00001770| 6f 2e 20 49 66 20 75 73 | 65 64 20 69 6e 20 61 20 |o. If us|ed in a |
|00001780| 73 74 72 69 6e 67 20 63 | 6f 6e 74 65 78 74 2c 20 |string c|ontext, |
|00001790| 79 69 65 6c 64 73 20 74 | 68 65 20 63 6f 72 72 65 |yields t|he corre|
|000017a0| 73 70 6f 6e 64 69 6e 67 | 20 65 72 72 6f 72 20 73 |sponding| error s|
|000017b0| 74 72 69 6e 67 2e 0a 24 | 22 09 54 68 65 20 73 65 |tring..$|".The se|
|000017c0| 70 61 72 61 74 6f 72 20 | 77 68 69 63 68 20 6a 6f |parator |which jo|
|000017d0| 69 6e 73 20 65 6c 65 6d | 65 6e 74 73 20 6f 66 20 |ins elem|ents of |
|000017e0| 61 72 72 61 79 73 20 69 | 6e 74 65 72 70 6f 6c 61 |arrays i|nterpola|
|000017f0| 74 65 64 20 69 6e 20 73 | 74 72 69 6e 67 73 2e 0a |ted in s|trings..|
|00001800| 24 23 09 54 68 65 20 6f | 75 74 70 75 74 20 66 6f |$#.The o|utput fo|
|00001810| 72 6d 61 74 20 66 6f 72 | 20 70 72 69 6e 74 65 64 |rmat for| printed|
|00001820| 20 6e 75 6d 62 65 72 73 | 2e 20 49 6e 69 74 69 61 | numbers|. Initia|
|00001830| 6c 20 76 61 6c 75 65 20 | 69 73 20 25 2e 32 30 67 |l value |is %.20g|
|00001840| 2e 0a 24 24 09 54 68 65 | 20 70 72 6f 63 65 73 73 |..$$.The| process|
|00001850| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 70 | number |of the p|
|00001860| 65 72 6c 20 72 75 6e 6e | 69 6e 67 20 74 68 69 73 |erl runn|ing this|
|00001870| 20 73 63 72 69 70 74 2e | 20 41 6c 74 65 72 65 64 | script.| Altered|
|00001880| 20 28 69 6e 20 74 68 65 | 20 63 68 69 6c 64 20 70 | (in the| child p|
|00001890| 72 6f 63 65 73 73 29 20 | 62 79 20 66 6f 72 6b 28 |rocess) |by fork(|
|000018a0| 29 2e 0a 24 25 09 54 68 | 65 20 63 75 72 72 65 6e |)..$%.Th|e curren|
|000018b0| 74 20 70 61 67 65 20 6e | 75 6d 62 65 72 20 6f 66 |t page n|umber of|
|000018c0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 73 | the cur|rently s|
|000018d0| 65 6c 65 63 74 65 64 20 | 6f 75 74 70 75 74 20 63 |elected |output c|
|000018e0| 68 61 6e 6e 65 6c 2e 0a | 24 26 09 54 68 65 20 73 |hannel..|$&.The s|
|000018f0| 74 72 69 6e 67 20 6d 61 | 74 63 68 65 64 20 62 79 |tring ma|tched by|
|00001900| 20 74 68 65 20 6c 61 73 | 74 20 70 61 74 74 65 72 | the las|t patter|
|00001910| 6e 20 6d 61 74 63 68 2e | 0a 24 27 09 54 68 65 20 |n match.|.$'.The |
|00001920| 73 74 72 69 6e 67 20 66 | 6f 6c 6c 6f 77 69 6e 67 |string f|ollowing|
|00001930| 20 77 68 61 74 20 77 61 | 73 20 6d 61 74 63 68 65 | what wa|s matche|
|00001940| 64 20 62 79 20 74 68 65 | 20 6c 61 73 74 20 70 61 |d by the| last pa|
|00001950| 74 74 65 72 6e 20 6d 61 | 74 63 68 2e 0a 24 28 09 |ttern ma|tch..$(.|
|00001960| 54 68 65 20 72 65 61 6c | 20 67 69 64 20 6f 66 20 |The real| gid of |
|00001970| 74 68 69 73 20 70 72 6f | 63 65 73 73 2e 0a 24 29 |this pro|cess..$)|
|00001980| 09 54 68 65 20 65 66 66 | 65 63 74 69 76 65 20 67 |.The eff|ective g|
|00001990| 69 64 20 6f 66 20 74 68 | 69 73 20 70 72 6f 63 65 |id of th|is proce|
|000019a0| 73 73 2e 0a 24 2a 09 53 | 65 74 20 74 6f 20 31 20 |ss..$*.S|et to 1 |
|000019b0| 74 6f 20 64 6f 20 6d 75 | 6c 74 69 6c 69 6e 65 20 |to do mu|ltiline |
|000019c0| 6d 61 74 63 68 69 6e 67 | 20 77 69 74 68 69 6e 20 |matching| within |
|000019d0| 61 20 73 74 72 69 6e 67 | 2c 20 30 20 74 6f 20 61 |a string|, 0 to a|
|000019e0| 73 73 75 6d 65 20 73 74 | 72 69 6e 67 73 20 63 6f |ssume st|rings co|
|000019f0| 6e 74 61 69 6e 20 61 20 | 73 69 6e 67 6c 65 20 6c |ntain a |single l|
|00001a00| 69 6e 65 2e 20 44 65 66 | 61 75 6c 74 20 69 73 20 |ine. Def|ault is |
|00001a10| 30 2e 0a 24 2b 09 54 68 | 65 20 6c 61 73 74 20 62 |0..$+.Th|e last b|
|00001a20| 72 61 63 6b 65 74 20 6d | 61 74 63 68 65 64 20 62 |racket m|atched b|
|00001a30| 79 20 74 68 65 20 6c 61 | 73 74 20 73 65 61 72 63 |y the la|st searc|
|00001a40| 68 20 70 61 74 74 65 72 | 6e 2e 0a 24 2c 09 54 68 |h patter|n..$,.Th|
|00001a50| 65 20 6f 75 74 70 75 74 | 20 66 69 65 6c 64 20 73 |e output| field s|
|00001a60| 65 70 61 72 61 74 6f 72 | 20 66 6f 72 20 74 68 65 |eparator| for the|
|00001a70| 20 70 72 69 6e 74 20 6f | 70 65 72 61 74 6f 72 2e | print o|perator.|
|00001a80| 0a 24 2d 09 54 68 65 20 | 6e 75 6d 62 65 72 20 6f |.$-.The |number o|
|00001a90| 66 20 6c 69 6e 65 73 20 | 6c 65 66 74 20 6f 6e 20 |f lines |left on |
|00001aa0| 74 68 65 20 70 61 67 65 | 2e 0a 24 2e 09 54 68 65 |the page|..$..The|
|00001ab0| 20 63 75 72 72 65 6e 74 | 20 69 6e 70 75 74 20 6c | current| input l|
|00001ac0| 69 6e 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |ine numb|er of th|
|00001ad0| 65 20 6c 61 73 74 20 66 | 69 6c 65 68 61 6e 64 6c |e last f|ilehandl|
|00001ae0| 65 20 74 68 61 74 20 77 | 61 73 20 72 65 61 64 2e |e that w|as read.|
|00001af0| 0a 24 2f 09 54 68 65 20 | 69 6e 70 75 74 20 72 65 |.$/.The |input re|
|00001b00| 63 6f 72 64 20 73 65 70 | 61 72 61 74 6f 72 2c 20 |cord sep|arator, |
|00001b10| 6e 65 77 6c 69 6e 65 20 | 62 79 20 64 65 66 61 75 |newline |by defau|
|00001b20| 6c 74 2e 0a 24 30 09 54 | 68 65 20 6e 61 6d 65 20 |lt..$0.T|he name |
|00001b30| 6f 66 20 74 68 65 20 66 | 69 6c 65 20 63 6f 6e 74 |of the f|ile cont|
|00001b40| 61 69 6e 69 6e 67 20 74 | 68 65 20 70 65 72 6c 20 |aining t|he perl |
|00001b50| 73 63 72 69 70 74 20 62 | 65 69 6e 67 20 65 78 65 |script b|eing exe|
|00001b60| 63 75 74 65 64 2e 20 4d | 61 79 20 62 65 20 73 65 |cuted. M|ay be se|
|00001b70| 74 0a 24 31 2e 2e 09 43 | 6f 6e 74 61 69 6e 73 20 |t.$1...C|ontains |
|00001b80| 74 68 65 20 73 75 62 70 | 61 74 74 65 72 6e 20 66 |the subp|attern f|
|00001b90| 72 6f 6d 20 74 68 65 20 | 63 6f 72 72 65 73 70 6f |rom the |correspo|
|00001ba0| 6e 64 69 6e 67 20 73 65 | 74 20 6f 66 20 70 61 72 |nding se|t of par|
|00001bb0| 65 6e 74 68 65 73 65 73 | 20 69 6e 20 74 68 65 20 |entheses| in the |
|00001bc0| 6c 61 73 74 20 70 61 74 | 74 65 72 6e 20 6d 61 74 |last pat|tern mat|
|00001bd0| 63 68 65 64 2e 0a 24 3a | 09 54 68 65 20 73 65 74 |ched..$:|.The set|
|00001be0| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 61 | of char|acters a|
|00001bf0| 66 74 65 72 20 77 68 69 | 63 68 20 61 20 73 74 72 |fter whi|ch a str|
|00001c00| 69 6e 67 20 6d 61 79 20 | 62 65 20 62 72 6f 6b 65 |ing may |be broke|
|00001c10| 6e 20 74 6f 20 66 69 6c | 6c 20 63 6f 6e 74 69 6e |n to fil|l contin|
|00001c20| 75 61 74 69 6f 6e 20 66 | 69 65 6c 64 73 20 28 73 |uation f|ields (s|
|00001c30| 74 61 72 74 69 6e 67 20 | 77 69 74 68 20 5e 29 20 |tarting |with ^) |
|00001c40| 69 6e 20 61 20 66 6f 72 | 6d 61 74 2e 0a 24 3b 09 |in a for|mat..$;.|
|00001c50| 54 68 65 20 73 75 62 73 | 63 72 69 70 74 20 73 65 |The subs|cript se|
|00001c60| 70 61 72 61 74 6f 72 20 | 66 6f 72 20 6d 75 6c 74 |parator |for mult|
|00001c70| 69 2d 64 69 6d 65 6e 73 | 69 6f 6e 61 6c 20 61 72 |i-dimens|ional ar|
|00001c80| 72 61 79 20 65 6d 75 6c | 61 74 69 6f 6e 2e 20 44 |ray emul|ation. D|
|00001c90| 65 66 61 75 6c 74 20 69 | 73 20 22 5c 30 33 34 22 |efault i|s "\034"|
|00001ca0| 2e 0a 24 3c 09 54 68 65 | 20 72 65 61 6c 20 75 69 |..$<.The| real ui|
|00001cb0| 64 20 6f 66 20 74 68 69 | 73 20 70 72 6f 63 65 73 |d of thi|s proces|
|00001cc0| 73 2e 0a 24 3d 09 54 68 | 65 20 70 61 67 65 20 6c |s..$=.Th|e page l|
|00001cd0| 65 6e 67 74 68 20 6f 66 | 20 74 68 65 20 63 75 72 |ength of| the cur|
|00001ce0| 72 65 6e 74 20 6f 75 74 | 70 75 74 20 63 68 61 6e |rent out|put chan|
|00001cf0| 6e 65 6c 2e 20 44 65 66 | 61 75 6c 74 20 69 73 20 |nel. Def|ault is |
|00001d00| 36 30 20 6c 69 6e 65 73 | 2e 0a 24 3e 09 54 68 65 |60 lines|..$>.The|
|00001d10| 20 65 66 66 65 63 74 69 | 76 65 20 75 69 64 20 6f | effecti|ve uid o|
|00001d20| 66 20 74 68 69 73 20 70 | 72 6f 63 65 73 73 2e 0a |f this p|rocess..|
|00001d30| 24 3f 09 54 68 65 20 73 | 74 61 74 75 73 20 72 65 |$?.The s|tatus re|
|00001d40| 74 75 72 6e 65 64 20 62 | 79 20 74 68 65 20 6c 61 |turned b|y the la|
|00001d50| 73 74 20 62 61 63 6b 74 | 69 63 6b 20 28 60 60 29 |st backt|ick (``)|
|00001d60| 20 63 6f 6d 6d 61 6e 64 | 2c 20 70 69 70 65 20 63 | command|, pipe c|
|00001d70| 6c 6f 73 65 20 6f 72 20 | 73 79 73 74 65 6d 20 6f |lose or |system o|
|00001d80| 70 65 72 61 74 6f 72 2e | 0a 24 40 09 54 68 65 20 |perator.|.$@.The |
|00001d90| 70 65 72 6c 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |perl err|or messa|
|00001da0| 67 65 20 66 72 6f 6d 20 | 74 68 65 20 6c 61 73 74 |ge from |the last|
|00001db0| 20 65 76 61 6c 20 6f 72 | 20 64 6f 20 40 76 61 72 | eval or| do @var|
|00001dc0| 7b 45 58 50 52 7d 20 63 | 6f 6d 6d 61 6e 64 2e 0a |{EXPR} c|ommand..|
|00001dd0| 24 41 52 47 56 09 54 68 | 65 20 6e 61 6d 65 20 6f |$ARGV.Th|e name o|
|00001de0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 69 |f the cu|rrent fi|
|00001df0| 6c 65 20 75 73 65 64 20 | 77 69 74 68 20 3c 3e 20 |le used |with <> |
|00001e00| 2e 0a 24 5b 09 54 68 65 | 20 69 6e 64 65 78 20 6f |..$[.The| index o|
|00001e10| 66 20 74 68 65 20 66 69 | 72 73 74 20 65 6c 65 6d |f the fi|rst elem|
|00001e20| 65 6e 74 20 69 6e 20 61 | 6e 20 61 72 72 61 79 2c |ent in a|n array,|
|00001e30| 20 61 6e 64 20 6f 66 20 | 74 68 65 20 66 69 72 73 | and of |the firs|
|00001e40| 74 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 20 61 |t charac|ter in a|
|00001e50| 20 73 75 62 73 74 72 69 | 6e 67 2e 20 44 65 66 61 | substri|ng. Defa|
|00001e60| 75 6c 74 20 69 73 20 30 | 2e 0a 24 5c 09 54 68 65 |ult is 0|..$\.The|
|00001e70| 20 6f 75 74 70 75 74 20 | 72 65 63 6f 72 64 20 73 | output |record s|
|00001e80| 65 70 61 72 61 74 6f 72 | 20 66 6f 72 20 74 68 65 |eparator| for the|
|00001e90| 20 70 72 69 6e 74 20 6f | 70 65 72 61 74 6f 72 2e | print o|perator.|
|00001ea0| 0a 24 5d 09 54 68 65 20 | 70 65 72 6c 20 76 65 72 |.$].The |perl ver|
|00001eb0| 73 69 6f 6e 20 73 74 72 | 69 6e 67 20 61 73 20 64 |sion str|ing as d|
|00001ec0| 69 73 70 6c 61 79 65 64 | 20 77 69 74 68 20 70 65 |isplayed| with pe|
|00001ed0| 72 6c 20 2d 76 2e 0a 24 | 5e 09 54 68 65 20 6e 61 |rl -v..$|^.The na|
|00001ee0| 6d 65 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |me of th|e curren|
|00001ef0| 74 20 74 6f 70 2d 6f 66 | 2d 70 61 67 65 20 66 6f |t top-of|-page fo|
|00001f00| 72 6d 61 74 2e 20 53 65 | 65 20 61 6c 73 6f 20 24 |rmat. Se|e also $|
|00001f10| 5e 44 2c 20 24 5e 49 2c | 20 24 5e 50 2c 20 24 5e |^D, $^I,| $^P, $^|
|00001f20| 54 2c 20 24 5e 57 0a 24 | 5e 44 09 54 68 65 20 76 |T, $^W.$|^D.The v|
|00001f30| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 70 65 72 6c |alue of |the perl|
|00001f40| 20 64 65 62 75 67 20 28 | 2d 44 29 20 66 6c 61 67 | debug (|-D) flag|
|00001f50| 73 2e 0a 24 5e 49 09 54 | 68 65 20 76 61 6c 75 65 |s..$^I.T|he value|
|00001f60| 20 6f 66 20 74 68 65 20 | 69 6e 2d 70 6c 61 63 65 | of the |in-place|
|00001f70| 20 65 64 69 74 20 65 78 | 74 65 6e 73 69 6f 6e 20 | edit ex|tension |
|00001f80| 28 70 65 72 6c 20 2d 69 | 20 6f 70 74 69 6f 6e 29 |(perl -i| option)|
|00001f90| 2e 0a 24 5e 50 09 54 68 | 65 20 6e 61 6d 65 20 75 |..$^P.Th|e name u|
|00001fa0| 6e 64 65 72 20 77 68 69 | 63 68 20 70 65 72 6c 20 |nder whi|ch perl |
|00001fb0| 77 61 73 20 69 6e 76 6f | 6b 65 64 20 28 61 72 67 |was invo|ked (arg|
|00001fc0| 76 5b 30 5d 29 2e 0a 24 | 5e 54 09 54 68 65 20 74 |v[0])..$|^T.The t|
|00001fd0| 69 6d 65 20 74 68 65 20 | 73 63 72 69 70 74 20 77 |ime the |script w|
|00001fe0| 61 73 20 73 74 61 72 74 | 65 64 2e 20 55 73 65 64 |as start|ed. Used|
|00001ff0| 20 62 79 20 2d 41 2f 2d | 4d 2f 2d 43 20 66 69 6c | by -A/-|M/-C fil|
|00002000| 65 20 74 65 73 74 73 2e | 0a 24 5e 57 09 54 72 75 |e tests.|.$^W.Tru|
|00002010| 65 20 69 73 20 77 61 72 | 6e 69 6e 67 73 20 61 72 |e is war|nings ar|
|00002020| 65 20 72 65 71 75 65 73 | 74 65 64 20 28 70 65 72 |e reques|ted (per|
|00002030| 6c 20 2d 77 20 66 6c 61 | 67 29 2e 0a 24 5f 09 54 |l -w fla|g)..$_.T|
|00002040| 68 65 20 64 65 66 61 75 | 6c 74 20 69 6e 70 75 74 |he defau|lt input|
|00002050| 20 61 6e 64 20 70 61 74 | 74 65 72 6e 2d 73 65 61 | and pat|tern-sea|
|00002060| 72 63 68 69 6e 67 20 73 | 70 61 63 65 2e 0a 24 60 |rching s|pace..$`|
|00002070| 09 54 68 65 20 73 74 72 | 69 6e 67 20 70 72 65 63 |.The str|ing prec|
|00002080| 65 64 69 6e 67 20 77 68 | 61 74 20 77 61 73 20 6d |eding wh|at was m|
|00002090| 61 74 63 68 65 64 20 62 | 79 20 74 68 65 20 6c 61 |atched b|y the la|
|000020a0| 73 74 20 70 61 74 74 65 | 72 6e 20 6d 61 74 63 68 |st patte|rn match|
|000020b0| 2e 0a 24 7c 09 49 66 20 | 73 65 74 20 74 6f 20 6e |..$|.If |set to n|
|000020c0| 6f 6e 7a 65 72 6f 2c 20 | 66 6f 72 63 65 73 20 61 |onzero, |forces a|
|000020d0| 20 66 6c 75 73 68 20 61 | 66 74 65 72 20 65 76 65 | flush a|fter eve|
|000020e0| 72 79 20 77 72 69 74 65 | 20 6f 72 20 70 72 69 6e |ry write| or prin|
|000020f0| 74 20 6f 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |t on the| current|
|00002100| 6c 79 20 73 65 6c 65 63 | 74 65 64 20 6f 75 74 70 |ly selec|ted outp|
|00002110| 75 74 20 63 68 61 6e 6e | 65 6c 2e 20 44 65 66 61 |ut chann|el. Defa|
|00002120| 75 6c 74 20 69 73 20 30 | 2e 20 54 68 65 20 66 6f |ult is 0|. The fo|
|00002130| 6c 6c 6f 77 69 6e 67 20 | 76 61 72 69 61 62 6c 65 |llowing |variable|
|00002140| 73 20 61 72 65 20 61 6c | 77 61 79 73 20 6c 6f 63 |s are al|ways loc|
|00002150| 61 6c 20 74 6f 20 74 68 | 65 20 63 75 72 72 65 6e |al to th|e curren|
|00002160| 74 20 62 6c 6f 63 6b 3a | 0a 24 7e 09 54 68 65 20 |t block:|.$~.The |
|00002170| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 63 75 72 72 |name of |the curr|
|00002180| 65 6e 74 20 72 65 70 6f | 72 74 20 66 6f 72 6d 61 |ent repo|rt forma|
|00002190| 74 2e 0a 25 09 4d 6f 64 | 75 6c 6f 20 64 69 76 69 |t..%.Mod|ulo divi|
|000021a0| 73 69 6f 6e 2e 0a 25 45 | 4e 56 09 43 6f 6e 74 61 |sion..%E|NV.Conta|
|000021b0| 69 6e 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ins the |current |
|000021c0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0a 25 49 4e |environm|ent..%IN|
|000021d0| 43 09 4c 69 73 74 20 6f | 66 20 66 69 6c 65 73 20 |C.List o|f files |
|000021e0| 74 68 61 74 20 68 61 76 | 65 20 62 65 65 6e 20 72 |that hav|e been r|
|000021f0| 65 71 75 69 72 65 2d 64 | 20 6f 72 20 64 6f 2d 6e |equire-d| or do-n|
|00002200| 65 2e 0a 25 53 49 47 09 | 55 73 65 64 20 74 6f 20 |e..%SIG.|Used to |
|00002210| 73 65 74 20 73 69 67 6e | 61 6c 20 68 61 6e 64 6c |set sign|al handl|
|00002220| 65 72 73 20 66 6f 72 20 | 76 61 72 69 6f 75 73 20 |ers for |various |
|00002230| 73 69 67 6e 61 6c 73 2e | 0a 26 09 42 69 74 77 69 |signals.|.&.Bitwi|
|00002240| 73 65 20 61 6e 64 2e 09 | 26 26 20 4c 6f 67 69 63 |se and..|&& Logic|
|00002250| 61 6c 20 61 6e 64 2e 0a | 26 26 09 4c 6f 67 69 63 |al and..|&&.Logic|
|00002260| 61 6c 20 61 6e 64 2e 0a | 2a 09 4d 75 6c 74 69 70 |al and..|*.Multip|
|00002270| 6c 69 63 61 74 69 6f 6e | 2e 09 2a 2a 20 45 78 70 |lication|..** Exp|
|00002280| 6f 6e 65 6e 74 69 61 74 | 69 6f 6e 2c 0a 2a 2a 09 |onentiat|ion,.**.|
|00002290| 45 78 70 6f 6e 65 6e 74 | 69 61 74 69 6f 6e 2e 0a |Exponent|iation..|
|000022a0| 2a 4e 41 4d 45 09 52 65 | 66 65 72 73 20 74 6f 20 |*NAME.Re|fers to |
|000022b0| 61 6c 6c 20 6f 62 6a 65 | 63 74 73 20 72 65 70 72 |all obje|cts repr|
|000022c0| 65 73 65 6e 74 65 64 20 | 62 79 20 4e 41 4d 45 2e |esented |by NAME.|
|000022d0| 20 2a 4e 41 4d 31 20 3d | 20 2a 4e 41 4d 32 20 6d | *NAM1 =| *NAM2 m|
|000022e0| 61 6b 65 73 20 4e 41 4d | 31 20 61 20 72 65 66 65 |akes NAM|1 a refe|
|000022f0| 72 65 6e 63 65 20 74 6f | 20 4e 41 4d 32 2e 0a 2b |rence to| NAM2..+|
|00002300| 09 41 64 64 69 74 69 6f | 6e 2e 09 2b 2b 20 41 75 |.Additio|n..++ Au|
|00002310| 74 6f 2d 69 6e 63 72 65 | 6d 65 6e 74 0a 2b 2b 09 |to-incre|ment.++.|
|00002320| 41 75 74 6f 2d 69 6e 63 | 72 65 6d 65 6e 74 20 28 |Auto-inc|rement (|
|00002330| 6d 61 67 69 63 61 6c 20 | 6f 6e 20 73 74 72 69 6e |magical |on strin|
|00002340| 67 73 29 2e 0a 2c 09 43 | 6f 6d 6d 61 20 6f 70 65 |gs)..,.C|omma ope|
|00002350| 72 61 74 6f 72 2e 0a 2d | 09 53 75 62 74 72 61 63 |rator..-|.Subtrac|
|00002360| 74 69 6f 6e 2e 09 2d 2d | 20 41 75 74 6f 2d 64 65 |tion..--| Auto-de|
|00002370| 63 72 65 6d 65 6e 74 2e | 0a 2d 2d 09 41 75 74 6f |crement.|.--.Auto|
|00002380| 2d 64 65 63 72 65 6d 65 | 6e 74 2e 0a 2d 41 09 41 |-decreme|nt..-A.A|
|00002390| 63 63 65 73 73 20 74 69 | 6d 65 20 69 6e 20 64 61 |ccess ti|me in da|
|000023a0| 79 73 20 73 69 6e 63 65 | 20 73 63 72 69 70 74 20 |ys since| script |
|000023b0| 73 74 61 72 74 65 64 2e | 0a 2d 42 09 46 69 6c 65 |started.|.-B.File|
|000023c0| 20 69 73 20 61 20 6e 6f | 6e 2d 74 65 78 74 20 28 | is a no|n-text (|
|000023d0| 62 69 6e 61 72 79 29 20 | 66 69 6c 65 2e 0a 2d 43 |binary) |file..-C|
|000023e0| 09 43 72 65 61 74 69 6f | 6e 20 74 69 6d 65 20 69 |.Creatio|n time i|
|000023f0| 6e 20 64 61 79 73 20 73 | 69 6e 63 65 20 73 63 72 |n days s|ince scr|
|00002400| 69 70 74 20 73 74 61 72 | 74 65 64 2e 0a 2d 4d 09 |ipt star|ted..-M.|
|00002410| 41 67 65 20 69 6e 20 64 | 61 79 73 20 73 69 6e 63 |Age in d|ays sinc|
|00002420| 65 20 73 63 72 69 70 74 | 20 73 74 61 72 74 65 64 |e script| started|
|00002430| 2e 0a 2d 4f 09 46 69 6c | 65 20 69 73 20 6f 77 6e |..-O.Fil|e is own|
|00002440| 65 64 20 62 79 20 72 65 | 61 6c 20 75 69 64 2e 0a |ed by re|al uid..|
|00002450| 2d 52 09 46 69 6c 65 20 | 69 73 20 72 65 61 64 61 |-R.File |is reada|
|00002460| 62 6c 65 20 62 79 20 72 | 65 61 6c 20 75 69 64 2e |ble by r|eal uid.|
|00002470| 0a 2d 53 09 46 69 6c 65 | 20 69 73 20 61 20 73 6f |.-S.File| is a so|
|00002480| 63 6b 65 74 20 2e 0a 2d | 54 09 46 69 6c 65 20 69 |cket ..-|T.File i|
|00002490| 73 20 61 20 74 65 78 74 | 20 66 69 6c 65 2e 0a 2d |s a text| file..-|
|000024a0| 57 09 46 69 6c 65 20 69 | 73 20 77 72 69 74 61 62 |W.File i|s writab|
|000024b0| 6c 65 20 62 79 20 72 65 | 61 6c 20 75 69 64 2e 0a |le by re|al uid..|
|000024c0| 2d 58 09 46 69 6c 65 20 | 69 73 20 65 78 65 63 75 |-X.File |is execu|
|000024d0| 74 61 62 6c 65 20 62 79 | 20 72 65 61 6c 20 75 69 |table by| real ui|
|000024e0| 64 2e 0a 2d 62 09 46 69 | 6c 65 20 69 73 20 61 20 |d..-b.Fi|le is a |
|000024f0| 62 6c 6f 63 6b 20 73 70 | 65 63 69 61 6c 20 66 69 |block sp|ecial fi|
|00002500| 6c 65 2e 0a 2d 63 09 46 | 69 6c 65 20 69 73 20 61 |le..-c.F|ile is a|
|00002510| 20 63 68 61 72 61 63 74 | 65 72 20 73 70 65 63 69 | charact|er speci|
|00002520| 61 6c 20 66 69 6c 65 2e | 0a 2d 64 09 46 69 6c 65 |al file.|.-d.File|
|00002530| 20 69 73 20 61 20 64 69 | 72 65 63 74 6f 72 79 2e | is a di|rectory.|
|00002540| 0a 2d 65 09 46 69 6c 65 | 20 65 78 69 73 74 73 20 |.-e.File| exists |
|00002550| 2e 0a 2d 66 09 46 69 6c | 65 20 69 73 20 61 20 70 |..-f.Fil|e is a p|
|00002560| 6c 61 69 6e 20 66 69 6c | 65 2e 0a 2d 67 09 46 69 |lain fil|e..-g.Fi|
|00002570| 6c 65 20 68 61 73 20 73 | 65 74 67 69 64 20 62 69 |le has s|etgid bi|
|00002580| 74 20 73 65 74 2e 0a 2d | 6b 09 46 69 6c 65 20 68 |t set..-|k.File h|
|00002590| 61 73 20 73 74 69 63 6b | 79 20 62 69 74 20 73 65 |as stick|y bit se|
|000025a0| 74 2e 0a 2d 6c 09 46 69 | 6c 65 20 69 73 20 61 20 |t..-l.Fi|le is a |
|000025b0| 73 79 6d 62 6f 6c 69 63 | 20 6c 69 6e 6b 2e 0a 2d |symbolic| link..-|
|000025c0| 6f 09 46 69 6c 65 20 69 | 73 20 6f 77 6e 65 64 20 |o.File i|s owned |
|000025d0| 62 79 20 65 66 66 65 63 | 74 69 76 65 20 75 69 64 |by effec|tive uid|
|000025e0| 2e 0a 2d 70 09 46 69 6c | 65 20 69 73 20 61 20 6e |..-p.Fil|e is a n|
|000025f0| 61 6d 65 64 20 70 69 70 | 65 20 28 46 49 46 4f 29 |amed pip|e (FIFO)|
|00002600| 2e 0a 2d 72 09 46 69 6c | 65 20 69 73 20 72 65 61 |..-r.Fil|e is rea|
|00002610| 64 61 62 6c 65 20 62 79 | 20 65 66 66 65 63 74 69 |dable by| effecti|
|00002620| 76 65 20 75 69 64 2e 0a | 2d 73 09 46 69 6c 65 20 |ve uid..|-s.File |
|00002630| 68 61 73 20 6e 6f 6e 2d | 7a 65 72 6f 20 73 69 7a |has non-|zero siz|
|00002640| 65 2e 0a 2d 74 09 54 65 | 73 74 73 20 69 66 20 66 |e..-t.Te|sts if f|
|00002650| 69 6c 65 68 61 6e 64 6c | 65 20 28 53 54 44 49 4e |ilehandl|e (STDIN|
|00002660| 20 62 79 20 64 65 66 61 | 75 6c 74 29 20 69 73 20 | by defa|ult) is |
|00002670| 6f 70 65 6e 65 64 20 74 | 6f 20 61 20 74 74 79 2e |opened t|o a tty.|
|00002680| 0a 2d 75 09 46 69 6c 65 | 20 68 61 73 20 73 65 74 |.-u.File| has set|
|00002690| 75 69 64 20 62 69 74 20 | 73 65 74 2e 0a 2d 77 09 |uid bit |set..-w.|
|000026a0| 46 69 6c 65 20 69 73 20 | 77 72 69 74 61 62 6c 65 |File is |writable|
|000026b0| 20 62 79 20 65 66 66 65 | 63 74 69 76 65 20 75 69 | by effe|ctive ui|
|000026c0| 64 2e 0a 2d 78 09 46 69 | 6c 65 20 69 73 20 65 78 |d..-x.Fi|le is ex|
|000026d0| 65 63 75 74 61 62 6c 65 | 20 62 79 20 65 66 66 65 |ecutable| by effe|
|000026e0| 63 74 69 76 65 20 75 69 | 64 2e 0a 2d 7a 09 46 69 |ctive ui|d..-z.Fi|
|000026f0| 6c 65 20 68 61 73 20 7a | 65 72 6f 20 73 69 7a 65 |le has z|ero size|
|00002700| 2e 0a 2e 09 43 6f 6e 63 | 61 74 65 6e 61 74 65 20 |....Conc|atenate |
|00002710| 73 74 72 69 6e 67 73 2e | 09 2e 2e 09 41 6c 74 65 |strings.|....Alte|
|00002720| 72 6e 61 74 69 6f 6e 2c | 20 61 6c 73 6f 20 72 61 |rnation,| also ra|
|00002730| 6e 67 65 20 6f 70 65 72 | 61 74 6f 72 2e 0a 2e 2e |nge oper|ator....|
|00002740| 09 41 6c 74 65 72 6e 61 | 74 69 6f 6e 2c 20 61 6c |.Alterna|tion, al|
|00002750| 73 6f 20 72 61 6e 67 65 | 20 6f 70 65 72 61 74 6f |so range| operato|
|00002760| 72 2e 0a 2f 09 44 69 76 | 69 73 69 6f 6e 2e 09 2f |r../.Div|ision../|
|00002770| 50 41 54 54 45 52 4e 2f | 69 6f 09 50 61 74 74 65 |PATTERN/|io.Patte|
|00002780| 72 6e 20 6d 61 74 63 68 | 0a 2f 50 41 54 54 45 52 |rn match|./PATTER|
|00002790| 4e 2f 69 6f 09 50 61 74 | 74 65 72 6e 20 6d 61 74 |N/io.Pat|tern mat|
|000027a0| 63 68 2e 0a 3c 09 4e 75 | 6d 65 72 69 63 20 6c 65 |ch..<.Nu|meric le|
|000027b0| 73 73 20 74 68 61 6e 2e | 09 3c 3c 09 42 69 74 77 |ss than.|.<<.Bitw|
|000027c0| 69 73 65 20 73 68 69 66 | 74 20 6c 65 66 74 2e 0a |ise shif|t left..|
|000027d0| 3c 3c 09 42 69 74 77 69 | 73 65 20 73 68 69 66 74 |<<.Bitwi|se shift|
|000027e0| 20 6c 65 66 74 2e 0a 3c | 3d 09 4e 75 6d 65 72 69 | left..<|=.Numeri|
|000027f0| 63 20 6c 65 73 73 20 74 | 68 61 6e 20 6f 72 20 65 |c less t|han or e|
|00002800| 71 75 61 6c 20 74 6f 2e | 09 3c 3d 3e 20 4e 75 6d |qual to.|.<=> Num|
|00002810| 65 72 69 63 20 63 6f 6d | 70 61 72 65 2e 0a 3c 3d |eric com|pare..<=|
|00002820| 3e 09 4e 75 6d 65 72 69 | 63 20 63 6f 6d 70 61 72 |>.Numeri|c compar|
|00002830| 65 2e 0a 3d 3d 09 4e 75 | 6d 65 72 69 63 20 65 71 |e..==.Nu|meric eq|
|00002840| 75 61 6c 69 74 79 2e 09 | 3d 7e 09 53 65 61 72 63 |uality..|=~.Searc|
|00002850| 68 20 70 61 74 74 65 72 | 6e 2c 20 73 75 62 73 74 |h patter|n, subst|
|00002860| 69 74 75 74 69 6f 6e 2c | 20 6f 72 20 74 72 61 6e |itution,| or tran|
|00002870| 73 6c 61 74 69 6f 6e 0a | 3e 09 4e 75 6d 65 72 69 |slation.|>.Numeri|
|00002880| 63 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 2e 09 |c greate|r than..|
|00002890| 3e 3d 09 4e 75 6d 65 72 | 69 63 20 67 72 65 61 74 |>=.Numer|ic great|
|000028a0| 65 72 20 74 68 61 6e 20 | 6f 72 20 65 71 75 61 6c |er than |or equal|
|000028b0| 20 74 6f 2e 0a 3e 3d 09 | 4e 75 6d 65 72 69 63 20 | to..>=.|Numeric |
|000028c0| 67 72 65 61 74 65 72 20 | 74 68 61 6e 20 6f 72 20 |greater |than or |
|000028d0| 65 71 75 61 6c 20 74 6f | 2e 09 3e 3e 09 42 69 74 |equal to|..>>.Bit|
|000028e0| 77 69 73 65 20 73 68 69 | 66 74 20 72 69 67 68 74 |wise shi|ft right|
|000028f0| 2e 0a 3e 3e 09 42 69 74 | 77 69 73 65 20 73 68 69 |..>>.Bit|wise shi|
|00002900| 66 74 20 72 69 67 68 74 | 2e 0a 3f 20 3a 09 41 6c |ft right|..? :.Al|
|00002910| 74 65 72 6e 61 74 69 6f | 6e 20 28 69 66 2d 74 68 |ternatio|n (if-th|
|00002920| 65 6e 2d 65 6c 73 65 29 | 20 6f 70 65 72 61 74 6f |en-else)| operato|
|00002930| 72 2e 09 3f 50 41 54 54 | 45 52 4e 3f 09 42 61 63 |r..?PATT|ERN?.Bac|
|00002940| 6b 77 61 72 64 73 20 70 | 61 74 74 65 72 6e 20 6d |kwards p|attern m|
|00002950| 61 74 63 68 0a 40 41 52 | 47 56 09 43 6f 6e 74 61 |atch.@AR|GV.Conta|
|00002960| 69 6e 73 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |ins the |command |
|00002970| 6c 69 6e 65 20 61 72 67 | 75 6d 65 6e 74 73 20 66 |line arg|uments f|
|00002980| 6f 72 20 74 68 65 20 73 | 63 72 69 70 74 20 28 6e |or the s|cript (n|
|00002990| 6f 74 20 69 6e 63 6c 75 | 64 69 6e 67 20 74 68 65 |ot inclu|ding the|
|000029a0| 20 63 6f 6d 6d 61 6e 64 | 20 6e 61 6d 65 29 2e 20 | command| name). |
|000029b0| 53 65 65 20 24 30 20 66 | 6f 72 20 74 68 65 20 63 |See $0 f|or the c|
|000029c0| 6f 6d 6d 61 6e 64 20 6e | 61 6d 65 2e 0a 40 49 4e |ommand n|ame..@IN|
|000029d0| 43 09 43 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 6c |C.Contai|ns the l|
|000029e0| 69 73 74 20 6f 66 20 70 | 6c 61 63 65 73 20 74 6f |ist of p|laces to|
|000029f0| 20 6c 6f 6f 6b 20 66 6f | 72 20 70 65 72 6c 20 73 | look fo|r perl s|
|00002a00| 63 72 69 70 74 73 20 74 | 6f 20 62 65 20 65 76 61 |cripts t|o be eva|
|00002a10| 6c 75 61 74 65 64 20 62 | 79 20 74 68 65 20 64 6f |luated b|y the do|
|00002a20| 20 45 58 50 52 20 63 6f | 6d 6d 61 6e 64 2e 0a 40 | EXPR co|mmand..@|
|00002a30| 5f 09 50 61 72 61 6d 65 | 74 65 72 20 61 72 72 61 |_.Parame|ter arra|
|00002a40| 79 20 66 6f 72 20 73 75 | 62 72 6f 75 74 69 6e 65 |y for su|broutine|
|00002a50| 73 2e 20 41 6c 73 6f 20 | 75 73 65 64 20 62 79 20 |s. Also |used by |
|00002a60| 73 70 6c 69 74 20 69 66 | 20 6e 6f 74 20 69 6e 20 |split if| not in |
|00002a70| 61 72 72 61 79 20 63 6f | 6e 74 65 78 74 2e 0a 5c |array co|ntext..\|
|00002a80| 30 09 4f 63 74 61 6c 20 | 63 68 61 72 2c 20 65 2e |0.Octal |char, e.|
|00002a90| 67 2e 20 5c 30 33 33 2e | 0a 5c 45 09 43 61 73 65 |g. \033.|.\E.Case|
|00002aa0| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 74 65 | modific|ation te|
|00002ab0| 72 6d 69 6e 61 74 6f 72 | 2e 20 53 65 65 20 5c 4c |rminator|. See \L|
|00002ac0| 20 61 6e 64 20 5c 55 20 | 2e 0a 5c 4c 09 4c 6f 77 | and \U |..\L.Low|
|00002ad0| 65 72 63 61 73 65 20 75 | 6e 74 69 6c 20 5c 45 20 |ercase u|ntil \E |
|00002ae0| 2e 0a 5c 55 09 55 70 63 | 61 73 65 20 75 6e 74 69 |..\U.Upc|ase unti|
|00002af0| 6c 20 5c 45 20 2e 0a 5c | 61 09 41 6c 61 72 6d 20 |l \E ..\|a.Alarm |
|00002b00| 63 68 61 72 61 63 74 65 | 72 20 28 6f 63 74 61 6c |characte|r (octal|
|00002b10| 20 30 30 37 29 2e 0a 5c | 62 09 42 61 63 6b 73 70 | 007)..\|b.Backsp|
|00002b20| 61 63 65 20 63 68 61 72 | 61 63 74 65 72 20 28 6f |ace char|acter (o|
|00002b30| 63 74 61 6c 20 30 31 30 | 29 2e 0a 5c 63 09 43 6f |ctal 010|)..\c.Co|
|00002b40| 6e 74 72 6f 6c 20 63 68 | 61 72 61 63 74 65 72 2c |ntrol ch|aracter,|
|00002b50| 20 65 2e 67 2e 20 5c 63 | 5b 20 2e 0a 5c 65 09 45 | e.g. \c|[ ..\e.E|
|00002b60| 73 63 61 70 65 20 63 68 | 61 72 61 63 74 65 72 20 |scape ch|aracter |
|00002b70| 28 6f 63 74 61 6c 20 30 | 33 33 29 2e 0a 5c 66 09 |(octal 0|33)..\f.|
|00002b80| 46 6f 72 6d 66 65 65 64 | 20 63 68 61 72 61 63 74 |Formfeed| charact|
|00002b90| 65 72 20 28 6f 63 74 61 | 6c 20 30 31 34 29 2e 0a |er (octa|l 014)..|
|00002ba0| 5c 6c 09 4c 6f 77 65 72 | 63 61 73 65 20 6f 66 20 |\l.Lower|case of |
|00002bb0| 6e 65 78 74 20 63 68 61 | 72 61 63 74 65 72 2e 20 |next cha|racter. |
|00002bc0| 53 65 65 20 61 6c 73 6f | 20 5c 4c 20 61 6e 64 20 |See also| \L and |
|00002bd0| 5c 75 2c 0a 5c 6e 09 4e | 65 77 6c 69 6e 65 20 63 |\u,.\n.N|ewline c|
|00002be0| 68 61 72 61 63 74 65 72 | 20 28 6f 63 74 61 6c 20 |haracter| (octal |
|00002bf0| 30 31 32 29 2e 0a 5c 72 | 09 52 65 74 75 72 6e 20 |012)..\r|.Return |
|00002c00| 63 68 61 72 61 63 74 65 | 72 20 28 6f 63 74 61 6c |characte|r (octal|
|00002c10| 20 30 31 35 29 2e 0a 5c | 74 09 54 61 62 20 63 68 | 015)..\|t.Tab ch|
|00002c20| 61 72 61 63 74 65 72 20 | 28 6f 63 74 61 6c 20 30 |aracter |(octal 0|
|00002c30| 31 31 29 2e 0a 5c 75 09 | 55 70 63 61 73 65 20 20 |11)..\u.|Upcase |
|00002c40| 6f 66 20 6e 65 78 74 20 | 63 68 61 72 61 63 74 65 |of next |characte|
|00002c50| 72 2e 20 53 65 65 20 61 | 6c 73 6f 20 5c 55 20 61 |r. See a|lso \U a|
|00002c60| 6e 64 20 5c 6c 2c 0a 5c | 78 09 48 65 78 20 63 68 |nd \l,.\|x.Hex ch|
|00002c70| 61 72 61 63 74 65 72 2c | 20 65 2e 67 2e 20 5c 78 |aracter,| e.g. \x|
|00002c80| 31 62 2e 0a 5e 09 42 69 | 74 77 69 73 65 20 65 78 |1b..^.Bi|twise ex|
|00002c90| 63 6c 75 73 69 76 65 20 | 6f 72 2e 0a 61 63 63 65 |clusive |or..acce|
|00002ca0| 70 74 28 4e 45 57 53 4f | 43 4b 45 54 2c 47 45 4e |pt(NEWSO|CKET,GEN|
|00002cb0| 45 52 49 43 53 4f 43 4b | 45 54 29 0a 61 6c 61 72 |ERICSOCK|ET).alar|
|00002cc0| 6d 28 53 45 43 4f 4e 44 | 53 29 0a 61 74 61 6e 32 |m(SECOND|S).atan2|
|00002cd0| 28 58 2c 59 29 0a 62 69 | 6e 64 28 53 4f 43 4b 45 |(X,Y).bi|nd(SOCKE|
|00002ce0| 54 2c 4e 41 4d 45 29 0a | 62 69 6e 6d 6f 64 65 28 |T,NAME).|binmode(|
|00002cf0| 46 49 4c 45 48 41 4e 44 | 4c 45 29 0a 63 61 6c 6c |FILEHAND|LE).call|
|00002d00| 65 72 5b 28 4c 45 56 45 | 4c 29 5d 0a 63 68 64 69 |er[(LEVE|L)].chdi|
|00002d10| 72 28 45 58 50 52 29 0a | 63 68 6d 6f 64 28 4c 49 |r(EXPR).|chmod(LI|
|00002d20| 53 54 29 0a 63 68 6f 70 | 5b 28 4c 49 53 54 7c 56 |ST).chop|[(LIST|V|
|00002d30| 41 52 29 5d 0a 63 68 6f | 77 6e 28 4c 49 53 54 29 |AR)].cho|wn(LIST)|
|00002d40| 0a 63 68 72 6f 6f 74 28 | 46 49 4c 45 4e 41 4d 45 |.chroot(|FILENAME|
|00002d50| 29 0a 63 6c 6f 73 65 28 | 46 49 4c 45 48 41 4e 44 |).close(|FILEHAND|
|00002d60| 4c 45 29 0a 63 6c 6f 73 | 65 64 69 72 28 44 49 52 |LE).clos|edir(DIR|
|00002d70| 48 41 4e 44 4c 45 29 0a | 63 6d 70 09 53 74 72 69 |HANDLE).|cmp.Stri|
|00002d80| 6e 67 20 63 6f 6d 70 61 | 72 65 2e 0a 63 6f 6e 6e |ng compa|re..conn|
|00002d90| 65 63 74 28 53 4f 43 4b | 45 54 2c 4e 41 4d 45 29 |ect(SOCK|ET,NAME)|
|00002da0| 0a 63 6f 73 28 45 58 50 | 52 29 0a 63 72 79 70 74 |.cos(EXP|R).crypt|
|00002db0| 28 50 4c 41 49 4e 54 45 | 58 54 2c 53 41 4c 54 29 |(PLAINTE|XT,SALT)|
|00002dc0| 0a 64 62 6d 63 6c 6f 73 | 65 28 41 53 53 4f 43 5f |.dbmclos|e(ASSOC_|
|00002dd0| 41 52 52 41 59 29 0a 64 | 62 6d 6f 70 65 6e 28 41 |ARRAY).d|bmopen(A|
|00002de0| 53 53 4f 43 2c 44 42 4e | 41 4d 45 2c 4d 4f 44 45 |SSOC,DBN|AME,MODE|
|00002df0| 29 0a 64 65 66 69 6e 65 | 64 28 45 58 50 52 29 0a |).define|d(EXPR).|
|00002e00| 64 65 6c 65 74 65 28 24 | 41 53 53 4f 43 7b 4b 45 |delete($|ASSOC{KE|
|00002e10| 59 7d 29 0a 64 69 65 28 | 4c 49 53 54 29 0a 64 6f |Y}).die(|LIST).do|
|00002e20| 20 7b 20 2e 2e 2e 20 7d | 7c 53 55 42 52 20 77 68 | { ... }||SUBR wh|
|00002e30| 69 6c 65 7c 75 6e 74 69 | 6c 20 45 58 50 52 09 65 |ile|unti|l EXPR.e|
|00002e40| 78 65 63 75 74 65 73 20 | 61 74 20 6c 65 61 73 74 |xecutes |at least|
|00002e50| 20 6f 6e 63 65 0a 64 6f | 28 45 58 50 52 7c 53 55 | once.do|(EXPR|SU|
|00002e60| 42 52 28 5b 4c 49 53 54 | 5d 29 29 0a 64 75 6d 70 |BR([LIST|])).dump|
|00002e70| 28 4c 41 42 45 4c 29 0a | 65 61 63 68 28 41 53 53 |(LABEL).|each(ASS|
|00002e80| 4f 43 5f 41 52 52 41 59 | 29 0a 65 6e 64 67 72 65 |OC_ARRAY|).endgre|
|00002e90| 6e 74 0a 65 6e 64 68 6f | 73 74 65 6e 74 0a 65 6e |nt.endho|stent.en|
|00002ea0| 64 6e 65 74 65 6e 74 0a | 65 6e 64 70 72 6f 74 6f |dnetent.|endproto|
|00002eb0| 65 6e 74 0a 65 6e 64 70 | 77 65 6e 74 0a 65 6e 64 |ent.endp|went.end|
|00002ec0| 73 65 72 76 65 6e 74 0a | 65 6f 66 5b 28 5b 46 49 |servent.|eof[([FI|
|00002ed0| 4c 45 48 41 4e 44 4c 45 | 5d 29 5d 0a 65 71 09 53 |LEHANDLE|])].eq.S|
|00002ee0| 74 72 69 6e 67 20 65 71 | 75 61 6c 69 74 79 2e 0a |tring eq|uality..|
|00002ef0| 65 76 61 6c 28 45 58 50 | 52 29 0a 65 78 65 63 28 |eval(EXP|R).exec(|
|00002f00| 4c 49 53 54 29 0a 65 78 | 69 74 28 45 58 50 52 29 |LIST).ex|it(EXPR)|
|00002f10| 0a 65 78 70 28 45 58 50 | 52 29 0a 66 63 6e 74 6c |.exp(EXP|R).fcntl|
|00002f20| 28 46 49 4c 45 48 41 4e | 44 4c 45 2c 46 55 4e 43 |(FILEHAN|DLE,FUNC|
|00002f30| 54 49 4f 4e 2c 53 43 41 | 4c 41 52 29 0a 66 69 6c |TION,SCA|LAR).fil|
|00002f40| 65 6e 6f 28 46 49 4c 45 | 48 41 4e 44 4c 45 29 0a |eno(FILE|HANDLE).|
|00002f50| 66 6c 6f 63 6b 28 46 49 | 4c 45 48 41 4e 44 4c 45 |flock(FI|LEHANDLE|
|00002f60| 2c 4f 50 45 52 41 54 49 | 4f 4e 29 0a 66 6f 72 20 |,OPERATI|ON).for |
|00002f70| 28 45 58 50 52 3b 45 58 | 50 52 3b 45 58 50 52 29 |(EXPR;EX|PR;EXPR)|
|00002f80| 20 7b 20 2e 2e 2e 20 7d | 0a 66 6f 72 65 61 63 68 | { ... }|.foreach|
|00002f90| 20 5b 56 41 52 5d 20 28 | 40 41 52 52 41 59 29 20 | [VAR] (|@ARRAY) |
|00002fa0| 7b 20 2e 2e 2e 20 7d 0a | 66 6f 72 6b 0a 67 65 09 |{ ... }.|fork.ge.|
|00002fb0| 53 74 72 69 6e 67 20 67 | 72 65 61 74 65 72 20 74 |String g|reater t|
|00002fc0| 68 61 6e 20 6f 72 20 65 | 71 75 61 6c 2e 0a 67 65 |han or e|qual..ge|
|00002fd0| 74 63 5b 28 46 49 4c 45 | 48 41 4e 44 4c 45 29 5d |tc[(FILE|HANDLE)]|
|00002fe0| 0a 67 65 74 67 72 65 6e | 74 0a 67 65 74 67 72 67 |.getgren|t.getgrg|
|00002ff0| 69 64 28 47 49 44 29 0a | 67 65 74 67 72 6e 61 6d |id(GID).|getgrnam|
|00003000| 28 4e 41 4d 45 29 0a 67 | 65 74 68 6f 73 74 62 79 |(NAME).g|ethostby|
|00003010| 61 64 64 72 28 41 44 44 | 52 2c 41 44 44 52 54 59 |addr(ADD|R,ADDRTY|
|00003020| 50 45 29 0a 67 65 74 68 | 6f 73 74 62 79 6e 61 6d |PE).geth|ostbynam|
|00003030| 65 28 4e 41 4d 45 29 0a | 67 65 74 68 6f 73 74 65 |e(NAME).|gethoste|
|00003040| 6e 74 0a 67 65 74 6c 6f | 67 69 6e 0a 67 65 74 6e |nt.getlo|gin.getn|
|00003050| 65 74 62 79 61 64 64 72 | 28 41 44 44 52 2c 41 44 |etbyaddr|(ADDR,AD|
|00003060| 44 52 54 59 50 45 29 0a | 67 65 74 6e 65 74 62 79 |DRTYPE).|getnetby|
|00003070| 6e 61 6d 65 28 4e 41 4d | 45 29 0a 67 65 74 6e 65 |name(NAM|E).getne|
|00003080| 74 65 6e 74 0a 67 65 74 | 70 65 65 72 6e 61 6d 65 |tent.get|peername|
|00003090| 28 53 4f 43 4b 45 54 29 | 0a 67 65 74 70 67 72 70 |(SOCKET)|.getpgrp|
|000030a0| 28 50 49 44 29 0a 67 65 | 74 70 70 69 64 0a 67 65 |(PID).ge|tppid.ge|
|000030b0| 74 70 72 69 6f 72 69 74 | 79 28 57 48 49 43 48 2c |tpriorit|y(WHICH,|
|000030c0| 57 48 4f 29 0a 67 65 74 | 70 72 6f 74 6f 62 79 6e |WHO).get|protobyn|
|000030d0| 61 6d 65 28 4e 41 4d 45 | 29 0a 67 65 74 70 72 6f |ame(NAME|).getpro|
|000030e0| 74 6f 62 79 6e 75 6d 62 | 65 72 28 4e 55 4d 42 45 |tobynumb|er(NUMBE|
|000030f0| 52 29 0a 67 65 74 70 72 | 6f 74 6f 65 6e 74 0a 67 |R).getpr|otoent.g|
|00003100| 65 74 70 77 65 6e 74 0a | 67 65 74 70 77 6e 61 6d |etpwent.|getpwnam|
|00003110| 28 4e 41 4d 45 29 0a 67 | 65 74 70 77 75 69 64 28 |(NAME).g|etpwuid(|
|00003120| 55 49 44 29 0a 67 65 74 | 73 65 72 76 62 79 6e 61 |UID).get|servbyna|
|00003130| 6d 65 28 4e 41 4d 45 2c | 50 52 4f 54 4f 29 0a 67 |me(NAME,|PROTO).g|
|00003140| 65 74 73 65 72 76 62 79 | 70 6f 72 74 28 50 4f 52 |etservby|port(POR|
|00003150| 54 2c 50 52 4f 54 4f 29 | 0a 67 65 74 73 65 72 76 |T,PROTO)|.getserv|
|00003160| 65 6e 74 0a 67 65 74 73 | 6f 63 6b 6e 61 6d 65 28 |ent.gets|ockname(|
|00003170| 53 4f 43 4b 45 54 29 0a | 67 65 74 73 6f 63 6b 6f |SOCKET).|getsocko|
|00003180| 70 74 28 53 4f 43 4b 45 | 54 2c 4c 45 56 45 4c 2c |pt(SOCKE|T,LEVEL,|
|00003190| 4f 50 54 4e 41 4d 45 29 | 0a 67 6d 74 69 6d 65 28 |OPTNAME)|.gmtime(|
|000031a0| 45 58 50 52 29 0a 67 6f | 74 6f 28 4c 41 42 45 4c |EXPR).go|to(LABEL|
|000031b0| 29 0a 67 72 65 70 28 45 | 58 50 52 2c 4c 49 53 54 |).grep(E|XPR,LIST|
|000031c0| 29 0a 67 74 09 53 74 72 | 69 6e 67 20 67 72 65 61 |).gt.Str|ing grea|
|000031d0| 74 65 72 20 74 68 61 6e | 2e 0a 68 65 78 28 45 58 |ter than|..hex(EX|
|000031e0| 50 52 29 0a 69 66 20 28 | 45 58 50 52 29 20 7b 20 |PR).if (|EXPR) { |
|000031f0| 2e 2e 2e 20 7d 20 5b 20 | 65 6c 73 69 66 20 28 45 |... } [ |elsif (E|
|00003200| 58 50 52 29 20 7b 20 2e | 2e 2e 20 7d 20 2e 2e 2e |XPR) { .|.. } ...|
|00003210| 20 5d 20 5b 20 65 6c 73 | 65 20 7b 20 2e 2e 2e 20 | ] [ els|e { ... |
|00003220| 7d 20 5d 20 6f 72 20 45 | 58 50 52 20 69 66 20 45 |} ] or E|XPR if E|
|00003230| 58 50 52 0a 69 6e 64 65 | 78 28 53 54 52 2c 53 55 |XPR.inde|x(STR,SU|
|00003240| 42 53 54 52 5b 2c 4f 46 | 46 53 45 54 5d 29 0a 69 |BSTR[,OF|FSET]).i|
|00003250| 6e 74 28 45 58 50 52 29 | 0a 69 6f 63 74 6c 28 46 |nt(EXPR)|.ioctl(F|
|00003260| 49 4c 45 48 41 4e 44 4c | 45 2c 46 55 4e 43 54 49 |ILEHANDL|E,FUNCTI|
|00003270| 4f 4e 2c 53 43 41 4c 41 | 52 29 0a 6a 6f 69 6e 28 |ON,SCALA|R).join(|
|00003280| 45 58 50 52 2c 4c 49 53 | 54 29 0a 6b 65 79 73 28 |EXPR,LIS|T).keys(|
|00003290| 41 53 53 4f 43 5f 41 52 | 52 41 59 29 0a 6b 69 6c |ASSOC_AR|RAY).kil|
|000032a0| 6c 28 4c 49 53 54 29 0a | 6c 61 73 74 5b 28 4c 41 |l(LIST).|last[(LA|
|000032b0| 42 45 4c 29 5d 0a 6c 65 | 09 53 74 72 69 6e 67 20 |BEL)].le|.String |
|000032c0| 6c 65 73 73 20 74 68 61 | 6e 20 6f 72 20 65 71 75 |less tha|n or equ|
|000032d0| 61 6c 2e 0a 6c 65 6e 67 | 74 68 28 45 58 50 52 29 |al..leng|th(EXPR)|
|000032e0| 0a 6c 69 6e 6b 28 4f 4c | 44 46 49 4c 45 2c 4e 45 |.link(OL|DFILE,NE|
|000032f0| 57 46 49 4c 45 29 0a 6c | 69 73 74 65 6e 28 53 4f |WFILE).l|isten(SO|
|00003300| 43 4b 45 54 2c 51 55 45 | 55 45 53 49 5a 45 29 0a |CKET,QUE|UESIZE).|
|00003310| 6c 6f 63 61 6c 28 4c 49 | 53 54 29 0a 6c 6f 63 61 |local(LI|ST).loca|
|00003320| 6c 74 69 6d 65 28 45 58 | 50 52 29 0a 6c 6f 67 28 |ltime(EX|PR).log(|
|00003330| 45 58 50 52 29 0a 6c 73 | 74 61 74 28 45 58 50 52 |EXPR).ls|tat(EXPR|
|00003340| 7c 46 49 4c 45 48 41 4e | 44 4c 45 7c 56 41 52 29 ||FILEHAN|DLE|VAR)|
|00003350| 0a 6c 74 09 53 74 72 69 | 6e 67 20 6c 65 73 73 20 |.lt.Stri|ng less |
|00003360| 74 68 61 6e 2e 0a 6d 2f | 50 41 54 54 45 52 4e 2f |than..m/|PATTERN/|
|00003370| 69 6f 0a 6d 6b 64 69 72 | 28 46 49 4c 45 4e 41 4d |io.mkdir|(FILENAM|
|00003380| 45 2c 4d 4f 44 45 29 0a | 6d 73 67 63 74 6c 28 49 |E,MODE).|msgctl(I|
|00003390| 44 2c 43 4d 44 2c 41 52 | 47 29 0a 6d 73 67 67 65 |D,CMD,AR|G).msgge|
|000033a0| 74 28 4b 45 59 2c 46 4c | 41 47 53 29 0a 6d 73 67 |t(KEY,FL|AGS).msg|
|000033b0| 72 63 76 28 49 44 2c 56 | 41 52 2c 53 49 5a 45 2c |rcv(ID,V|AR,SIZE,|
|000033c0| 54 59 50 45 2e 46 4c 41 | 47 53 29 0a 6d 73 67 73 |TYPE.FLA|GS).msgs|
|000033d0| 6e 64 28 49 44 2c 4d 53 | 47 2c 46 4c 41 47 53 29 |nd(ID,MS|G,FLAGS)|
|000033e0| 0a 6e 65 09 53 74 72 69 | 6e 67 20 69 6e 65 71 75 |.ne.Stri|ng inequ|
|000033f0| 61 6c 69 74 79 2e 0a 6e | 65 78 74 5b 28 4c 41 42 |ality..n|ext[(LAB|
|00003400| 45 4c 29 5d 0a 6f 63 74 | 28 45 58 50 52 29 0a 6f |EL)].oct|(EXPR).o|
|00003410| 70 65 6e 28 46 49 4c 45 | 48 41 4e 44 4c 45 5b 2c |pen(FILE|HANDLE[,|
|00003420| 45 58 50 52 5d 29 0a 6f | 70 65 6e 64 69 72 28 44 |EXPR]).o|pendir(D|
|00003430| 49 52 48 41 4e 44 4c 45 | 2c 45 58 50 52 29 0a 6f |IRHANDLE|,EXPR).o|
|00003440| 72 64 28 45 58 50 52 29 | 0a 70 61 63 6b 28 54 45 |rd(EXPR)|.pack(TE|
|00003450| 4d 50 4c 41 54 45 2c 4c | 49 53 54 29 0a 70 61 63 |MPLATE,L|IST).pac|
|00003460| 6b 61 67 65 09 49 6e 74 | 72 6f 64 75 63 65 73 20 |kage.Int|roduces |
|00003470| 70 61 63 6b 61 67 65 20 | 63 6f 6e 74 65 78 74 2e |package |context.|
|00003480| 0a 70 69 70 65 28 52 45 | 41 44 48 41 4e 44 4c 45 |.pipe(RE|ADHANDLE|
|00003490| 2c 57 52 49 54 45 48 41 | 4e 44 4c 45 29 0a 70 6f |,WRITEHA|NDLE).po|
|000034a0| 70 28 41 52 52 41 59 29 | 0a 70 72 69 6e 74 5b 28 |p(ARRAY)|.print[(|
|000034b0| 46 49 4c 45 48 41 4e 44 | 4c 45 20 5b 4c 49 53 54 |FILEHAND|LE [LIST|
|000034c0| 5d 29 5d 0a 70 72 69 6e | 74 66 28 5b 46 49 4c 45 |])].prin|tf([FILE|
|000034d0| 48 41 4e 44 4c 45 5d 20 | 4c 49 53 54 29 0a 70 75 |HANDLE] |LIST).pu|
|000034e0| 73 68 28 41 52 52 41 59 | 2c 4c 49 53 54 29 0a 71 |sh(ARRAY|,LIST).q|
|000034f0| 2f 53 54 52 49 4e 47 2f | 09 53 79 6e 6f 6e 79 6d |/STRING/|.Synonym|
|00003500| 20 66 6f 72 20 27 53 54 | 52 49 4e 47 27 0a 71 71 | for 'ST|RING'.qq|
|00003510| 2f 53 54 52 49 4e 47 2f | 09 53 79 6e 6f 6e 79 6d |/STRING/|.Synonym|
|00003520| 20 66 6f 72 20 22 53 54 | 52 49 4e 47 22 0a 71 78 | for "ST|RING".qx|
|00003530| 2f 53 54 52 49 4e 47 2f | 09 53 79 6e 6f 6e 79 6d |/STRING/|.Synonym|
|00003540| 20 66 6f 72 20 60 53 54 | 52 49 4e 47 60 0a 72 61 | for `ST|RING`.ra|
|00003550| 6e 64 5b 28 45 58 50 52 | 29 5d 0a 72 65 61 64 28 |nd[(EXPR|)].read(|
|00003560| 46 49 4c 45 48 41 4e 44 | 4c 45 2c 53 43 41 4c 41 |FILEHAND|LE,SCALA|
|00003570| 52 2c 4c 45 4e 47 54 48 | 5b 2c 4f 46 46 53 45 54 |R,LENGTH|[,OFFSET|
|00003580| 5d 29 0a 72 65 61 64 64 | 69 72 28 44 49 52 48 41 |]).readd|ir(DIRHA|
|00003590| 4e 44 4c 45 29 0a 72 65 | 61 64 6c 69 6e 6b 28 45 |NDLE).re|adlink(E|
|000035a0| 58 50 52 29 0a 72 65 63 | 76 28 53 4f 43 4b 45 54 |XPR).rec|v(SOCKET|
|000035b0| 2c 53 43 41 4c 41 52 2c | 4c 45 4e 2c 46 4c 41 47 |,SCALAR,|LEN,FLAG|
|000035c0| 53 29 0a 72 65 64 6f 5b | 28 4c 41 42 45 4c 29 5d |S).redo[|(LABEL)]|
|000035d0| 0a 72 65 6e 61 6d 65 28 | 4f 4c 44 4e 41 4d 45 2c |.rename(|OLDNAME,|
|000035e0| 4e 45 57 4e 41 4d 45 29 | 0a 72 65 71 75 69 72 65 |NEWNAME)|.require|
|000035f0| 20 5b 46 49 4c 45 4e 41 | 4d 45 5d 0a 72 65 73 65 | [FILENA|ME].rese|
|00003600| 74 5b 28 45 58 50 52 29 | 5d 0a 72 65 74 75 72 6e |t[(EXPR)|].return|
|00003610| 28 4c 49 53 54 29 0a 72 | 65 76 65 72 73 65 28 4c |(LIST).r|everse(L|
|00003620| 49 53 54 29 0a 72 65 77 | 69 6e 64 64 69 72 28 44 |IST).rew|inddir(D|
|00003630| 49 52 48 41 4e 44 4c 45 | 29 0a 72 69 6e 64 65 78 |IRHANDLE|).rindex|
|00003640| 28 53 54 52 2c 53 55 42 | 53 54 52 5b 2c 4f 46 46 |(STR,SUB|STR[,OFF|
|00003650| 53 45 54 5d 29 0a 72 6d | 64 69 72 28 46 49 4c 45 |SET]).rm|dir(FILE|
|00003660| 4e 41 4d 45 29 0a 73 2f | 50 41 54 54 45 52 4e 2f |NAME).s/|PATTERN/|
|00003670| 52 45 50 4c 41 43 45 4d | 45 4e 54 2f 67 69 65 6f |REPLACEM|ENT/gieo|
|00003680| 0a 73 63 61 6c 61 72 28 | 45 58 50 52 29 0a 73 65 |.scalar(|EXPR).se|
|00003690| 65 6b 28 46 49 4c 45 48 | 41 4e 44 4c 45 2c 50 4f |ek(FILEH|ANDLE,PO|
|000036a0| 53 49 54 49 4f 4e 2c 57 | 48 45 4e 43 45 29 0a 73 |SITION,W|HENCE).s|
|000036b0| 65 65 6b 64 69 72 28 44 | 49 52 48 41 4e 44 4c 45 |eekdir(D|IRHANDLE|
|000036c0| 2c 50 4f 53 29 0a 73 65 | 6c 65 63 74 28 46 49 4c |,POS).se|lect(FIL|
|000036d0| 45 48 41 4e 44 4c 45 20 | 7c 20 52 42 49 54 53 2c |EHANDLE || RBITS,|
|000036e0| 57 42 49 54 53 2c 45 42 | 49 54 53 2c 54 49 4d 45 |WBITS,EB|ITS,TIME|
|000036f0| 4f 55 54 29 0a 73 65 6d | 63 74 6c 28 49 44 2c 53 |OUT).sem|ctl(ID,S|
|00003700| 45 4d 4e 55 4d 2c 43 4d | 44 2c 41 52 47 29 0a 73 |EMNUM,CM|D,ARG).s|
|00003710| 65 6d 67 65 74 28 4b 45 | 59 2c 4e 53 45 4d 53 2c |emget(KE|Y,NSEMS,|
|00003720| 53 49 5a 45 2c 46 4c 41 | 47 53 29 0a 73 65 6d 6f |SIZE,FLA|GS).semo|
|00003730| 70 28 4b 45 59 2c 2e 2e | 2e 29 0a 73 65 6e 64 28 |p(KEY,..|.).send(|
|00003740| 53 4f 43 4b 45 54 2c 4d | 53 47 2c 46 4c 41 47 53 |SOCKET,M|SG,FLAGS|
|00003750| 5b 2c 54 4f 5d 29 0a 73 | 65 74 67 72 65 6e 74 0a |[,TO]).s|etgrent.|
|00003760| 73 65 74 68 6f 73 74 65 | 6e 74 28 53 54 41 59 4f |sethoste|nt(STAYO|
|00003770| 50 45 4e 29 0a 73 65 74 | 6e 65 74 65 6e 74 28 53 |PEN).set|netent(S|
|00003780| 54 41 59 4f 50 45 4e 29 | 0a 73 65 74 70 67 72 70 |TAYOPEN)|.setpgrp|
|00003790| 28 50 49 44 2c 50 47 52 | 50 29 0a 73 65 74 70 72 |(PID,PGR|P).setpr|
|000037a0| 69 6f 72 69 74 79 28 57 | 48 49 43 48 2c 57 48 4f |iority(W|HICH,WHO|
|000037b0| 2c 50 52 49 4f 52 49 54 | 59 29 0a 73 65 74 70 72 |,PRIORIT|Y).setpr|
|000037c0| 6f 74 6f 65 6e 74 28 53 | 54 41 59 4f 50 45 4e 29 |otoent(S|TAYOPEN)|
|000037d0| 0a 73 65 74 70 77 65 6e | 74 0a 73 65 74 73 65 72 |.setpwen|t.setser|
|000037e0| 76 65 6e 74 28 53 54 41 | 59 4f 50 45 4e 29 0a 73 |vent(STA|YOPEN).s|
|000037f0| 65 74 73 6f 63 6b 6f 70 | 74 28 53 4f 43 4b 45 54 |etsockop|t(SOCKET|
|00003800| 2c 4c 45 56 45 4c 2c 4f | 50 54 4e 41 4d 45 2c 4f |,LEVEL,O|PTNAME,O|
|00003810| 50 54 56 41 4c 29 0a 73 | 68 69 66 74 5b 28 41 52 |PTVAL).s|hift[(AR|
|00003820| 52 41 59 29 5d 0a 73 68 | 6d 63 74 6c 28 49 44 2c |RAY)].sh|mctl(ID,|
|00003830| 43 4d 44 2c 41 52 47 29 | 0a 73 68 6d 67 65 74 28 |CMD,ARG)|.shmget(|
|00003840| 4b 45 59 2c 53 49 5a 45 | 2c 46 4c 41 47 53 29 0a |KEY,SIZE|,FLAGS).|
|00003850| 73 68 6d 72 65 61 64 28 | 49 44 2c 56 41 52 2c 50 |shmread(|ID,VAR,P|
|00003860| 4f 53 2c 53 49 5a 45 29 | 0a 73 68 6d 77 72 69 74 |OS,SIZE)|.shmwrit|
|00003870| 65 28 49 44 2c 53 54 52 | 49 4e 47 2c 50 4f 53 2c |e(ID,STR|ING,POS,|
|00003880| 53 49 5a 45 29 0a 73 68 | 75 74 64 6f 77 6e 28 53 |SIZE).sh|utdown(S|
|00003890| 4f 43 4b 45 54 2c 48 4f | 57 29 0a 73 69 6e 28 45 |OCKET,HO|W).sin(E|
|000038a0| 58 50 52 29 0a 73 6c 65 | 65 70 5b 28 45 58 50 52 |XPR).sle|ep[(EXPR|
|000038b0| 29 5d 0a 73 6f 63 6b 65 | 74 28 53 4f 43 4b 45 54 |)].socke|t(SOCKET|
|000038c0| 2c 44 4f 4d 41 49 4e 2c | 54 59 50 45 2c 50 52 4f |,DOMAIN,|TYPE,PRO|
|000038d0| 54 4f 43 4f 4c 29 0a 73 | 6f 63 6b 65 74 70 61 69 |TOCOL).s|ocketpai|
|000038e0| 72 28 53 4f 43 4b 45 54 | 31 2c 53 4f 43 4b 45 54 |r(SOCKET|1,SOCKET|
|000038f0| 32 2c 44 4f 4d 41 49 4e | 2c 54 59 50 45 2c 50 52 |2,DOMAIN|,TYPE,PR|
|00003900| 4f 54 4f 43 4f 4c 29 0a | 73 6f 72 74 28 5b 53 55 |OTOCOL).|sort([SU|
|00003910| 42 52 4f 55 54 49 4e 45 | 5d 20 4c 49 53 54 29 0a |BROUTINE|] LIST).|
|00003920| 73 70 6c 69 63 65 28 41 | 52 52 41 59 2c 4f 46 46 |splice(A|RRAY,OFF|
|00003930| 53 45 54 5b 2c 4c 45 4e | 47 54 48 5b 2c 4c 49 53 |SET[,LEN|GTH[,LIS|
|00003940| 54 5d 5d 29 0a 73 70 6c | 69 74 5b 28 2f 50 41 54 |T]]).spl|it[(/PAT|
|00003950| 54 45 52 4e 2f 5b 2c 45 | 58 50 52 5b 2c 4c 49 4d |TERN/[,E|XPR[,LIM|
|00003960| 49 54 5d 5d 29 5d 0a 73 | 70 72 69 6e 74 66 28 46 |IT]])].s|printf(F|
|00003970| 4f 52 4d 41 54 2c 4c 49 | 53 54 29 0a 73 71 72 74 |ORMAT,LI|ST).sqrt|
|00003980| 28 45 58 50 52 29 0a 73 | 72 61 6e 64 28 45 58 50 |(EXPR).s|rand(EXP|
|00003990| 52 29 0a 73 74 61 74 28 | 45 58 50 52 7c 46 49 4c |R).stat(|EXPR|FIL|
|000039a0| 45 48 41 4e 44 4c 45 7c | 56 41 52 29 0a 73 74 75 |EHANDLE||VAR).stu|
|000039b0| 64 79 5b 28 53 43 41 4c | 41 52 29 5d 0a 73 75 62 |dy[(SCAL|AR)].sub|
|000039c0| 73 74 72 28 45 58 50 52 | 2c 4f 46 46 53 45 54 5b |str(EXPR|,OFFSET[|
|000039d0| 2c 4c 45 4e 5d 29 0a 73 | 79 6d 6c 69 6e 6b 28 4f |,LEN]).s|ymlink(O|
|000039e0| 4c 44 46 49 4c 45 2c 4e | 45 57 46 49 4c 45 29 0a |LDFILE,N|EWFILE).|
|000039f0| 73 79 73 63 61 6c 6c 28 | 4c 49 53 54 29 0a 73 79 |syscall(|LIST).sy|
|00003a00| 73 72 65 61 64 28 46 49 | 4c 45 48 41 4e 44 4c 45 |sread(FI|LEHANDLE|
|00003a10| 2c 53 43 41 4c 41 52 2c | 4c 45 4e 47 54 48 5b 2c |,SCALAR,|LENGTH[,|
|00003a20| 4f 46 46 53 45 54 5d 29 | 0a 73 79 73 74 65 6d 28 |OFFSET])|.system(|
|00003a30| 4c 49 53 54 29 0a 73 79 | 73 77 72 69 74 65 28 46 |LIST).sy|swrite(F|
|00003a40| 49 4c 45 48 41 4e 44 4c | 45 2c 53 43 41 4c 41 52 |ILEHANDL|E,SCALAR|
|00003a50| 2c 4c 45 4e 47 54 48 5b | 2c 4f 46 46 53 45 54 5d |,LENGTH[|,OFFSET]|
|00003a60| 29 0a 74 65 6c 6c 5b 28 | 46 49 4c 45 48 41 4e 44 |).tell[(|FILEHAND|
|00003a70| 4c 45 29 5d 0a 74 65 6c | 6c 64 69 72 28 44 49 52 |LE)].tel|ldir(DIR|
|00003a80| 48 41 4e 44 4c 45 29 0a | 74 69 6d 65 0a 74 69 6d |HANDLE).|time.tim|
|00003a90| 65 73 0a 74 72 2f 53 45 | 41 52 43 48 4c 49 53 54 |es.tr/SE|ARCHLIST|
|00003aa0| 2f 52 45 50 4c 41 43 45 | 4d 45 4e 54 4c 49 53 54 |/REPLACE|MENTLIST|
|00003ab0| 2f 63 64 73 0a 74 72 75 | 6e 63 61 74 65 28 46 49 |/cds.tru|ncate(FI|
|00003ac0| 4c 45 7c 45 58 50 52 2c | 4c 45 4e 47 54 48 29 0a |LE|EXPR,|LENGTH).|
|00003ad0| 75 6d 61 73 6b 5b 28 45 | 58 50 52 29 5d 0a 75 6e |umask[(E|XPR)].un|
|00003ae0| 64 65 66 5b 28 45 58 50 | 52 29 5d 0a 75 6e 6c 65 |def[(EXP|R)].unle|
|00003af0| 73 73 20 28 45 58 50 52 | 29 20 7b 20 2e 2e 2e 20 |ss (EXPR|) { ... |
|00003b00| 7d 20 5b 20 65 6c 73 65 | 20 7b 20 2e 2e 2e 20 7d |} [ else| { ... }|
|00003b10| 20 5d 20 6f 72 20 45 58 | 50 52 20 75 6e 6c 65 73 | ] or EX|PR unles|
|00003b20| 73 20 45 58 50 52 0a 75 | 6e 6c 69 6e 6b 28 4c 49 |s EXPR.u|nlink(LI|
|00003b30| 53 54 29 0a 75 6e 70 61 | 63 6b 28 54 45 4d 50 4c |ST).unpa|ck(TEMPL|
|00003b40| 41 54 45 2c 45 58 50 52 | 29 0a 75 6e 73 68 69 66 |ATE,EXPR|).unshif|
|00003b50| 74 28 41 52 52 41 59 2c | 4c 49 53 54 29 0a 75 6e |t(ARRAY,|LIST).un|
|00003b60| 74 69 6c 20 28 45 58 50 | 52 29 20 7b 20 2e 2e 2e |til (EXP|R) { ...|
|00003b70| 20 7d 20 6f 72 20 45 58 | 50 52 20 75 6e 74 69 6c | } or EX|PR until|
|00003b80| 20 45 58 50 52 0a 75 74 | 69 6d 65 28 4c 49 53 54 | EXPR.ut|ime(LIST|
|00003b90| 29 0a 76 61 6c 75 65 73 | 28 41 53 53 4f 43 5f 41 |).values|(ASSOC_A|
|00003ba0| 52 52 41 59 29 0a 76 65 | 63 28 45 58 50 52 2c 4f |RRAY).ve|c(EXPR,O|
|00003bb0| 46 46 53 45 54 2c 42 49 | 54 53 29 0a 77 61 69 74 |FFSET,BI|TS).wait|
|00003bc0| 0a 77 61 69 74 70 69 64 | 28 50 49 44 2c 46 4c 41 |.waitpid|(PID,FLA|
|00003bd0| 47 53 29 0a 77 61 6e 74 | 61 72 72 61 79 0a 77 61 |GS).want|array.wa|
|00003be0| 72 6e 28 4c 49 53 54 29 | 0a 77 68 69 6c 65 20 20 |rn(LIST)|.while |
|00003bf0| 28 45 58 50 52 29 20 7b | 20 2e 2e 2e 20 7d 20 6f |(EXPR) {| ... } o|
|00003c00| 72 20 45 58 50 52 20 77 | 68 69 6c 65 20 45 58 50 |r EXPR w|hile EXP|
|00003c10| 52 0a 77 72 69 74 65 5b | 28 45 58 50 52 7c 46 49 |R.write[|(EXPR|FI|
|00003c20| 4c 45 48 41 4e 44 4c 45 | 29 5d 0a 78 09 52 65 70 |LEHANDLE|)].x.Rep|
|00003c30| 65 61 74 20 73 74 72 69 | 6e 67 20 6f 72 20 61 72 |eat stri|ng or ar|
|00003c40| 72 61 79 2e 0a 79 2f 53 | 45 41 52 43 48 4c 49 53 |ray..y/S|EARCHLIS|
|00003c50| 54 2f 52 45 50 4c 41 43 | 45 4d 45 4e 54 4c 49 53 |T/REPLAC|EMENTLIS|
|00003c60| 54 2f 0a 7c 09 42 69 74 | 77 69 73 65 20 6f 72 2e |T/.|.Bit|wise or.|
|00003c70| 09 7c 7c 09 4c 6f 67 69 | 63 61 6c 20 6f 72 2e 0a |.||.Logi|cal or..|
|00003c80| 7c 7c 09 4c 6f 67 69 63 | 61 6c 20 6f 72 2e 0a 53 |||.Logic|al or..S|
|00003c90| 48 41 52 5f 45 4f 46 0a | 63 68 6d 6f 64 20 30 34 |HAR_EOF.|chmod 04|
|00003ca0| 34 34 20 70 65 72 6c 2d | 64 65 73 63 72 2e 74 78 |44 perl-|descr.tx|
|00003cb0| 74 20 7c 7c 0a 65 63 68 | 6f 20 27 72 65 73 74 6f |t ||.ech|o 'resto|
|00003cc0| 72 65 20 6f 66 20 70 65 | 72 6c 2d 64 65 73 63 72 |re of pe|rl-descr|
|00003cd0| 2e 74 78 74 20 66 61 69 | 6c 65 64 27 0a 57 63 5f |.txt fai|led'.Wc_|
|00003ce0| 63 3d 22 60 77 63 20 2d | 63 20 3c 20 27 70 65 72 |c="`wc -|c < 'per|
|00003cf0| 6c 2d 64 65 73 63 72 2e | 74 78 74 27 60 22 0a 74 |l-descr.|txt'`".t|
|00003d00| 65 73 74 20 39 37 31 38 | 20 2d 65 71 20 22 24 57 |est 9718| -eq "$W|
|00003d10| 63 5f 63 22 20 7c 7c 0a | 09 65 63 68 6f 20 27 70 |c_c" ||.|.echo 'p|
|00003d20| 65 72 6c 2d 64 65 73 63 | 72 2e 74 78 74 3a 20 6f |erl-desc|r.txt: o|
|00003d30| 72 69 67 69 6e 61 6c 20 | 73 69 7a 65 20 39 37 31 |riginal |size 971|
|00003d40| 38 2c 20 63 75 72 72 65 | 6e 74 20 73 69 7a 65 27 |8, curre|nt size'|
|00003d50| 20 22 24 57 63 5f 63 22 | 0a 66 69 0a 65 78 69 74 | "$Wc_c"|.fi.exit|
|00003d60| 20 30 0a 2d 2d 20 0a 4a | 6f 68 61 6e 20 56 72 6f | 0.-- .J|ohan Vro|
|00003d70| 6d 61 6e 73 09 09 09 09 | 20 20 20 20 20 20 20 6a |mans....| j|
|00003d80| 76 40 6d 68 2e 6e 6c 20 | 76 69 61 20 69 6e 74 65 |v@mh.nl |via inte|
|00003d90| 72 6e 65 74 20 62 61 63 | 6b 62 6f 6e 65 73 0a 4d |rnet bac|kbones.M|
|00003da0| 75 6c 74 69 68 6f 75 73 | 65 20 41 75 74 6f 6d 61 |ultihous|e Automa|
|00003db0| 74 69 73 65 72 69 6e 67 | 20 62 76 09 09 20 20 20 |tisering| bv.. |
|00003dc0| 20 20 20 20 75 75 63 70 | 3a 20 2e 2e 21 7b 75 75 | uucp|: ..!{uu|
|00003dd0| 6e 65 74 2c 68 70 34 6e | 6c 7d 21 6d 68 2e 6e 6c |net,hp4n|l}!mh.nl|
|00003de0| 21 6a 76 0a 44 6f 65 73 | 62 75 72 67 77 65 67 20 |!jv.Does|burgweg |
|00003df0| 37 2c 20 32 38 30 33 20 | 50 4c 20 47 6f 75 64 61 |7, 2803 |PL Gouda|
|00003e00| 2c 20 54 68 65 20 4e 65 | 74 68 65 72 6c 61 6e 64 |, The Ne|therland|
|00003e10| 73 20 20 70 68 6f 6e 65 | 2f 66 61 78 3a 20 2b 33 |s phone|/fax: +3|
|00003e20| 31 20 31 38 32 30 20 36 | 32 39 31 31 2f 36 32 35 |1 1820 6|2911/625|
|00003e30| 30 30 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |00.-----|--------|
|00003e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 22 41 72 6d |--------|--- "Arm|
|00003e50| 73 20 61 72 65 20 6d 61 | 64 65 20 66 6f 72 20 68 |s are ma|de for h|
|00003e60| 75 67 67 69 6e 67 22 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ugging" |--------|
|00003e70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e80| 2d 0a | |-. | |
+--------+-------------------------+-------------------------+--------+--------+