home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
You can browse this item here: man.rsrc
id metadata |
---|
key | value |
---|
macFileType | [NSHC] |
macFileCreator | [NSHA] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 31 57 4e 53 48 43 4e 53 | 48 41 01 00 00 00 00 00 |1WNSHCNS|HA......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 2e b0 00 00 2d b0 00 00 |........|....-...|
|00000060| 02 a7 00 00 20 0f 00 00 | 00 00 00 00 00 00 00 00 |.... ...|........|
|00000070| 00 00 00 00 00 00 01 17 | 13 00 00 00 20 14 00 00 |........|.... ...|
|00000080| 00 00 03 6d 61 6e 02 00 | 00 00 4e 53 48 43 4e 53 |...man..|..NSHCNS|
|00000090| 48 41 00 00 00 00 00 00 | 00 00 00 00 0d a9 00 00 |HA......|........|
|000000a0| 00 00 00 00 4e 53 48 43 | 4e 53 48 41 00 00 00 00 |....NSHC|NSHA....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 aa e5 85 33 | 00 00 00 00 00 00 31 57 |.......3|......1W|
|000000d0| 00 00 00 00 00 00 01 27 | 13 00 00 00 20 2c 00 00 |.......'|.... ,..|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 22 |........|......."|
|000000f0| 13 00 00 00 20 33 0b 21 | 54 68 69 63 6b 6e 65 2e |.... 3.!|Thickne.|
|00000100| 73 73 00 00 00 00 01 24 | 13 00 00 00 20 39 00 00 |ss.....$|.... 9..|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 1c |........|........|
|00000120| 13 00 00 00 20 52 0c 21 | 21 4d 6f 72 65 46 69 2e |.... R.!|!MoreFi.|
|00000130| 6c 65 73 00 00 00 00 02 | 13 00 00 00 20 53 00 00 |les.....|.... S..|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 29 |........|.......)|
|00000150| 13 00 00 00 06 6a 60 0e | 00 00 4e 53 48 43 3e 80 |.....j`.|..NSHC>.|
|00000160| 00 00 00 00 00 00 41 fa | ff ee 4e 71 4e 71 60 00 |......A.|..NqNq`.|
|00000170| 01 6a 4e 56 00 00 48 e7 | 01 30 26 6e 00 0c 42 a7 |.jNV..H.|.0&n..B.|
|00000180| 2f 0b a9 a5 2e 1f 20 07 | 54 80 20 4b a0 24 20 4b |/..... .|T. K.$ K|
|00000190| a0 29 24 53 0c 32 00 0d | 78 ff 67 0c 15 bc 00 0d |.)$S.2..|x.g.....|
|000001a0| 78 00 42 32 78 01 60 04 | 42 32 78 00 2f 0a 20 6e |x.B2x.`.|B2x./. n|
|000001b0| 00 08 20 68 00 14 4e 90 | 20 4b a0 2a 2e 8b a9 a3 |.. h..N.| K.*....|
|000001c0| 4c df 0c 80 4e 5e 4e 75 | 6d 61 6e 5f 64 69 73 70 |L...N^Nu|man_disp|
|000001d0| 4e 56 fe 00 48 e7 03 30 | 26 6e 00 08 7c 00 30 2e |NV..H..0|&n..|.0.|
|000001e0| 00 10 48 c0 d0 80 30 33 | 08 08 20 4b d0 c0 48 68 |..H...03|.. K..Hh|
|000001f0| 00 d0 48 6e fe 00 4e ba | 03 7c 7e ff 48 6e fe 00 |..Hn..N.|.|~.Hn..|
|00000200| 20 6e 00 0c 20 68 00 40 | 4e 90 4a 40 4f ef 00 0c | n.. h.@|N.J@O...|
|00000210| 66 0a 42 67 48 6e fe 00 | a9 97 3e 1f 4a 47 6c 06 |f.BgHn..|..>.JGl.|
|00000220| 70 01 60 00 00 96 48 7a | 00 ac 48 6e ff 00 4e ba |p.`...Hz|..Hn..N.|
|00000230| 03 44 4a 6e 00 10 50 8f | 66 24 30 2b 00 0a 20 4b |.DJn..P.|f$0+.. K|
|00000240| d0 c0 48 68 00 d0 48 6e | ff 00 4e ba 03 fc 48 7a |..Hh..Hn|..N...Hz|
|00000250| 00 82 48 6e ff 00 4e ba | 03 f0 4f ef 00 10 0c 6b |..Hn..N.|..O....k|
|00000260| 00 02 00 06 6f 18 30 2b | 00 0c 20 4b d0 c0 48 68 |....o.0+|.. K..Hh|
|00000270| 00 d0 48 6e ff 00 4e ba | 03 d0 50 8f 60 0e 48 7a |..Hn..N.|..P.`.Hz|
|00000280| 00 4a 48 6e ff 00 4e ba | 03 c0 50 8f 42 a7 2f 3c |.JHn..N.|..P.B./<|
|00000290| 54 45 58 54 48 6e ff 00 | a9 a1 24 5f 20 0a 66 04 |TEXTHn..|..$_ .f.|
|000002a0| 7c 02 60 0c 2f 0a 2f 2e | 00 0c 4e ba fe c6 50 8f ||.`././.|..N...P.|
|000002b0| 4a 47 67 04 3f 07 a9 9a | 30 06 4c df 0c c0 4e 5e |JGg.?...|0.L...N^|
|000002c0| 4e 75 6d 61 6e 5f 67 65 | 74 20 67 65 6e 65 72 61 |Numan_ge|t genera|
|000002d0| 6c 00 20 00 6d 61 6e 20 | 00 00 4e 56 00 00 48 e7 |l. .man |..NV..H.|
|000002e0| 03 30 26 6e 00 08 24 6e | 00 0c 42 2b 00 02 7e 01 |.0&n..$n|..B+..~.|
|000002f0| 3f 3c 00 0a 2f 0a 2f 0b | 4e ba 00 ae 4a 40 4f ef |?<.././.|N...J@O.|
|00000300| 00 0a 66 56 3c 2b 00 06 | 0c 46 00 02 6d 06 0c 46 |..fV<+..|.F..m..F|
|00000310| 00 03 6f 0e 48 7a 00 72 | 20 52 4e 90 7e fd 58 8f |..o.Hz.r| RN.~.X.|
|00000320| 60 30 3f 3c 00 01 2f 0a | 2f 0b 4e ba fe a4 3e 00 |`0?<../.|/.N...>.|
|00000330| 4f ef 00 0a 67 1c 42 67 | 2f 0a 2f 0b 4e ba fe 92 |O...g.Bg|/./.N...|
|00000340| 3e 00 4f ef 00 0a 67 0a | 48 7a 00 20 20 52 4e 90 |>.O...g.|Hz. RN.|
|00000350| 58 8f 37 47 00 04 42 2b | 00 02 4c df 0c c0 4e 5e |X.7G..B+|..L...N^|
|00000360| 4e 75 6d 61 69 6e 20 20 | 20 20 1c 6d 61 6e 3a 20 |Numain | .man: |
|00000370| 4d 61 6e 75 61 6c 20 50 | 61 67 65 20 4e 6f 74 20 |Manual P|age Not |
|00000380| 46 6f 75 6e 64 2e 0d 00 | 1e 55 73 61 67 65 3a 20 |Found...|.Usage: |
|00000390| 6d 61 6e 20 63 6f 6d 6d | 61 6e 64 20 5b 73 65 63 |man comm|and [sec|
|000003a0| 74 69 6f 6e 5d 2e 0d 00 | 4e 56 00 00 20 6e 00 08 |tion]...|NV.. n..|
|000003b0| 30 10 b0 6e 00 10 67 1e | 48 7a 00 2a 20 6e 00 0c |0..n..g.|Hz.* n..|
|000003c0| 20 50 4e 90 20 6e 00 08 | 31 7c ff fe 00 04 42 28 | PN. n..|1|....B(|
|000003d0| 00 02 70 01 60 02 70 00 | 4e 5e 4e 75 6e 73 68 63 |..p.`.p.|N^Nunshc|
|000003e0| 5f 62 61 64 2d 54 68 69 | 73 20 63 6f 6d 6d 61 6e |_bad-Thi|s comman|
|000003f0| 64 20 69 73 20 6e 6f 74 | 20 6f 66 20 61 20 63 6f |d is not| of a co|
|00000400| 6d 70 61 74 69 62 6c 65 | 20 76 65 72 73 69 6f 6e |mpatible| version|
|00000410| 2e 0d 4e 56 00 00 48 e7 | 1f 10 26 6e 00 08 7a 01 |..NV..H.|..&n..z.|
|00000420| 78 00 60 54 20 4b d0 c5 | 3c 30 50 08 30 06 52 46 |x.`T K..|<0P.0.RF|
|00000430| 20 4b d0 c0 0c 28 00 2d | 00 d0 66 34 76 00 60 22 | K...(.-|..f4v.`"|
|00000440| be 2e 00 0c 66 02 38 05 | 0c 07 00 61 6d 06 0c 07 |....f.8.|...am...|
|00000450| 00 7a 6f 0e 0c 07 00 41 | 6d 06 0c 07 00 5a 6f 02 |.zo....A|m....Zo.|
|00000460| 76 01 30 06 52 46 20 4b | d0 c0 1e 28 00 d0 66 d0 |v.0.RF K|...(..f.|
|00000470| 4a 43 67 02 78 00 52 45 | 4a 44 66 06 ba 6b 00 06 |JCg.x.RE|JDf..k..|
|00000480| 6d a2 30 04 4c df 08 f8 | 4e 5e 4e 75 6e 73 68 63 |m.0.L...|N^Nunshc|
|00000490| 5f 67 6f 74 4e 56 00 00 | 48 e7 07 10 26 6e 00 08 |_gotNV..|H...&n..|
|000004a0| 7e 01 30 2e 00 0c 48 c0 | d0 80 3c 33 08 08 20 4b |~.0...H.|..<3.. K|
|000004b0| d0 c6 0c 28 00 2d 00 d0 | 66 12 52 46 60 0e 0c 05 |...(.-..|f.RF`...|
|000004c0| 00 30 6d 06 0c 05 00 39 | 6f 02 7e 00 4a 47 67 0e |.0m....9|o.~.JGg.|
|000004d0| 30 06 52 46 20 4b d0 c0 | 1a 28 00 d0 66 e0 30 07 |0.RF K..|.(..f.0.|
|000004e0| 4c df 08 e0 4e 5e 4e 75 | 6e 73 68 63 5f 69 73 5f |L...N^Nu|nshc_is_|
|000004f0| 4e 56 00 00 48 e7 03 00 | 30 6e 00 0c d1 c8 d1 ee |NV..H...|0n......|
|00000500| 00 08 3e 28 00 08 30 07 | 52 47 20 6e 00 08 d0 c0 |..>(..0.|RG n....|
|00000510| 1c 28 00 d0 0c 06 00 2d | 56 c0 44 00 48 80 4c df |.(.....-|V.D.H.L.|
|00000520| 00 c0 4e 5e 4e 75 6e 73 | 68 63 5f 69 73 5f 4e 56 |..N^Nuns|hc_is_NV|
|00000530| 00 00 48 e7 03 00 7c 01 | dc 6e 00 0c 7e 00 60 14 |..H...|.|.n..~.`.|
|00000540| 3f 06 2f 2e 00 08 4e ba | ff a8 4a 40 5c 8f 67 02 |?./...N.|..J@\.g.|
|00000550| 3e 06 52 46 4a 47 66 0a | 20 6e 00 08 bc 68 00 06 |>.RFJGf.| n...h..|
|00000560| 6d de 30 07 4c df 00 c0 | 4e 5e 4e 75 6e 73 68 63 |m.0.L...|N^Nunshc|
|00000570| 5f 6e 65 78 4e 56 00 00 | 48 e7 03 00 7e 00 60 0a |_nexNV..|H...~.`.|
|00000580| 52 47 20 6e 00 08 11 86 | 70 00 20 6e 00 0c 52 ae |RG n....|p. n..R.|
|00000590| 00 0c 1c 10 66 ea 20 6e | 00 08 10 87 4c df 00 c0 |....f. n|....L...|
|000005a0| 4e 5e 4e 75 70 53 74 72 | 46 72 6f 6d 4e 56 00 00 |N^NupStr|FromNV..|
|000005b0| 2f 07 20 6e 00 0c 52 ae | 00 0c 22 6e 00 08 52 ae |/. n..R.|.."n..R.|
|000005c0| 00 08 1e 10 12 87 70 00 | 10 07 3e 00 60 12 20 6e |......p.|..>.`. n|
|000005d0| 00 0c 52 ae 00 0c 22 6e | 00 08 52 ae 00 08 12 90 |..R..."n|..R.....|
|000005e0| 53 47 4a 47 6c e8 2e 1f | 4e 5e 4e 75 70 53 74 72 |SGJGl...|N^NupStr|
|000005f0| 43 6f 70 79 4e 56 00 00 | 48 e7 07 10 26 6e 00 08 |CopyNV..|H...&n..|
|00000600| 7e 00 1e 13 20 6e 00 0c | 7c 00 1c 10 4a 46 67 28 |~... n..||...JFg(|
|00000610| 30 07 d0 46 0c 40 01 00 | 6c 1e 7a 01 60 10 20 6e |0..F.@..|l.z.`. n|
|00000620| 00 0c 30 07 d0 45 17 b0 | 50 00 00 00 52 45 bc 45 |..0..E..|P...RE.E|
|00000630| 6c ec 10 07 d0 06 16 80 | 4c df 08 e0 4e 5e 4e 75 |l.......|L...N^Nu|
|00000640| 70 53 74 72 41 70 70 65 | 4e 56 00 00 48 e7 03 10 |pStrAppe|NV..H...|
|00000650| 26 6e 00 08 7e 00 1e 13 | 60 06 52 47 17 86 70 00 |&n..~...|`.RG..p.|
|00000660| 20 6e 00 0c 52 ae 00 0c | 1c 10 66 ee 0c 47 01 00 | n..R...|..f..G..|
|00000670| 6c 02 16 87 4c df 08 c0 | 4e 5e 4e 75 70 53 74 72 |l...L...|N^NupStr|
|00000680| 41 70 70 65 4e 56 00 00 | 2f 07 20 6e 00 08 7e 00 |AppeNV..|/. n..~.|
|00000690| 1e 10 22 6e 00 0c 70 00 | 10 11 b0 47 67 1c 70 00 |.."n..p.|...Gg.p.|
|000006a0| 60 1e 20 6e 00 08 22 6e | 00 0c 10 30 70 00 b0 31 |`. n.."n|...0p..1|
|000006b0| 70 00 67 04 70 00 60 08 | 53 47 4a 47 66 e4 70 01 |p.g.p.`.|SGJGf.p.|
|000006c0| 2e 1f 4e 5e 4e 75 70 53 | 74 72 45 71 75 61 4e 56 |..N^NupS|trEquaNV|
|000006d0| 00 00 2f 07 20 6e 00 08 | 52 ae 00 08 1e 10 20 6e |../. n..|R..... n|
|000006e0| 00 0c 52 ae 00 0c be 10 | 67 04 70 00 60 06 4a 07 |..R.....|g.p.`.J.|
|000006f0| 66 e2 70 01 2e 1f 4e 5e | 4e 75 63 53 74 72 45 71 |f.p...N^|NucStrEq|
|00000700| 75 61 4e 56 00 00 2f 07 | 7e 00 60 02 52 47 20 6e |uaNV../.|~.`.RG n|
|00000710| 00 08 52 ae 00 08 4a 10 | 66 f2 30 07 2e 1f 4e 5e |..R...J.|f.0...N^|
|00000720| 4e 75 63 53 74 72 4c 65 | 6e 20 4e 56 00 00 48 e7 |NucStrLe|n NV..H.|
|00000730| 07 10 3e 2e 00 0e 26 6e | 00 08 3c 2e 00 0c 4a 47 |..>...&n|..<...JG|
|00000740| 6c 06 7a 01 44 47 60 02 | 7a 00 4a 47 66 1c 60 24 |l.z.DG`.|z.JGf.`$|
|00000750| 20 07 48 c0 81 fc 00 0a | 48 40 06 00 00 30 53 46 | .H.....|H@...0SF|
|00000760| 17 80 60 00 48 c7 8f fc | 00 0a 4a 46 67 0e 4a 47 |..`.H...|..JFg.JG|
|00000770| 66 de 60 08 53 46 17 bc | 00 30 60 00 4a 46 67 0c |f.`.SF..|.0`.JFg.|
|00000780| 4a 45 67 08 53 46 17 bc | 00 2d 60 00 4a 47 67 1c |JEg.SF..|.-`.JGg.|
|00000790| 7c 00 60 08 17 bc 00 2a | 60 00 52 46 bc 6e 00 0c ||.`....*|`.RF.n..|
|000007a0| 6d f2 60 0c 53 46 17 bc | 00 20 60 00 4a 46 66 f4 |m.`.SF..|. `.JFf.|
|000007b0| 4c df 08 e0 4e 5e 4e 75 | 63 53 74 72 46 72 6f 6d |L...N^Nu|cStrFrom|
|000007c0| 00 00 00 37 01 02 80 00 | 00 00 05 31 2e 30 2e 32 |...7....|...1.0.2|
|000007d0| 2a 31 2e 30 2e 32 2c 20 | a9 20 4e 65 77 70 6f 72 |*1.0.2, |. Newpor|
|000007e0| 74 20 53 6f 66 74 77 61 | 72 65 20 44 65 76 65 6c |t Softwa|re Devel|
|000007f0| 6f 70 6d 65 6e 74 20 31 | 39 39 34 00 00 00 27 01 |opment 1|994...'.|
|00000800| 02 80 00 00 00 05 31 2e | 30 2e 32 1a 31 2e 30 2e |......1.|0.2.1.0.|
|00000810| 32 20 28 41 6e 20 6e 53 | 68 65 6c 6c aa 20 43 6f |2 (An nS|hell. Co|
|00000820| 6d 6d 61 6e 64 29 00 00 | 02 03 0d 4e 41 4d 45 0d |mmand)..|...NAME.|
|00000830| 0d 6d 61 6e 20 2d 20 63 | 6f 6d 6d 61 6e 64 20 6c |.man - c|ommand l|
|00000840| 69 6e 65 20 6d 61 6e 75 | 61 6c 0d 0d 53 59 4e 4f |ine manu|al..SYNO|
|00000850| 50 53 49 53 0d 0d 6d 61 | 6e 20 63 6f 6d 6d 61 6e |PSIS..ma|n comman|
|00000860| 64 20 5b 73 65 63 74 69 | 6f 6e 5d 0d 0d 44 45 53 |d [secti|on]..DES|
|00000870| 43 52 49 50 54 49 4f 4e | 0d 0d 54 68 65 20 22 6d |CRIPTION|..The "m|
|00000880| 61 6e 22 20 70 72 6f 67 | 72 61 6d 20 72 65 61 64 |an" prog|ram read|
|00000890| 73 20 61 20 64 65 73 63 | 72 69 70 74 69 76 65 20 |s a desc|riptive |
|000008a0| 74 65 78 74 20 72 65 73 | 6f 75 72 63 65 20 66 72 |text res|ource fr|
|000008b0| 6f 6d 20 77 69 74 68 69 | 6e 20 61 20 73 65 6c 65 |om withi|n a sele|
|000008c0| 63 74 65 64 20 63 6f 6d | 6d 61 6e 64 20 61 6e 64 |cted com|mand and|
|000008d0| 20 77 72 69 74 65 73 20 | 74 68 61 74 20 74 65 78 | writes |that tex|
|000008e0| 74 20 74 6f 20 73 74 61 | 6e 64 61 72 64 20 6f 75 |t to sta|ndard ou|
|000008f0| 74 70 75 74 2e 0d 0d 4e | 6f 74 65 3a 20 4d 61 6e |tput...N|ote: Man|
|00000900| 20 70 61 67 65 73 20 61 | 72 65 20 61 76 61 69 6c | pages a|re avail|
|00000910| 61 62 6c 65 20 66 6f 72 | 20 66 6c 6f 77 2d 6f 66 |able for| flow-of|
|00000920| 2d 63 6f 6e 74 72 6f 6c | 20 73 74 61 74 65 6d 65 |-control| stateme|
|00000930| 6e 74 73 2c 20 62 75 74 | 20 74 68 65 79 20 6d 75 |nts, but| they mu|
|00000940| 73 74 20 62 65 20 71 75 | 6f 74 65 64 20 73 6f 20 |st be qu|oted so |
|00000950| 74 68 61 74 20 74 68 65 | 20 73 68 65 6c 6c 20 6b |that the| shell k|
|00000960| 6e 6f 77 73 20 68 6f 77 | 20 74 6f 20 65 78 65 63 |nows how| to exec|
|00000970| 75 74 65 20 74 68 65 6d | 3a 0d 0d 6d 61 6e 20 22 |ute them|:..man "|
|00000980| 69 66 22 0d 6d 61 6e 20 | 22 77 68 69 6c 65 22 0d |if".man |"while".|
|00000990| 0d 52 45 54 55 52 4e 20 | 43 4f 44 45 53 0d 0d 3c |.RETURN |CODES..<|
|000009a0| 30 09 45 72 72 6f 72 0d | 30 09 53 75 63 63 65 73 |0.Error.|0.Succes|
|000009b0| 73 0d 0d 53 45 45 20 41 | 4c 53 4f 0d 0d 74 72 79 |s..SEE A|LSO..try|
|000009c0| 20 22 6d 61 6e 20 6d 61 | 6e 20 72 65 73 6f 75 72 | "man ma|n resour|
|000009d0| 63 65 73 22 0d 0d 54 68 | 65 20 6e 53 68 65 6c 6c |ces"..Th|e nShell|
|000009e0| 20 50 72 6f 67 72 61 6d | 6d 65 72 27 73 20 47 75 | Program|mer's Gu|
|000009f0| 69 64 65 20 63 6f 6e 74 | 61 69 6e 73 20 61 64 64 |ide cont|ains add|
|00000a00| 69 74 69 6f 6e 61 6c 20 | 69 6e 66 6f 72 6d 61 74 |itional |informat|
|00000a10| 69 6f 6e 20 6f 6e 20 77 | 72 69 74 69 6e 67 20 6d |ion on w|riting m|
|00000a20| 61 6e 20 72 65 73 6f 75 | 72 63 65 73 2e 00 00 01 |an resou|rces....|
|00000a30| 1c 0d 4d 41 4e 20 52 45 | 53 4f 55 52 43 45 53 0d |..MAN RE|SOURCES.|
|00000a40| 0d 54 6f 20 63 72 65 61 | 74 65 20 6d 61 6e 20 70 |.To crea|te man p|
|00000a50| 61 67 65 73 20 66 6f 72 | 20 79 6f 75 72 20 6f 77 |ages for| your ow|
|00000a60| 6e 20 63 6f 6d 6d 61 6e | 64 73 2c 20 63 72 65 61 |n comman|ds, crea|
|00000a70| 74 65 20 54 45 58 54 20 | 72 65 73 6f 75 72 63 65 |te TEXT |resource|
|00000a80| 73 20 77 69 74 68 3a 0d | 0d 31 2e 20 20 20 20 20 |s with:.|.1. |
|00000a90| 52 65 73 6f 75 72 63 65 | 20 49 44 73 20 61 62 6f |Resource| IDs abo|
|00000aa0| 76 65 20 73 69 78 74 65 | 65 6e 20 74 68 6f 75 73 |ve sixte|en thous|
|00000ab0| 61 6e 64 2e 0d 32 2e 20 | 20 20 20 20 52 65 73 6f |and..2. | Reso|
|00000ac0| 75 72 63 65 20 6e 61 6d | 65 73 20 6f 66 20 74 68 |urce nam|es of th|
|00000ad0| 65 20 66 6f 72 6d 61 74 | 20 22 6d 61 6e 20 73 75 |e format| "man su|
|00000ae0| 62 6a 65 63 74 22 0d 0d | 4e 6f 74 65 20 74 68 61 |bject"..|Note tha|
|00000af0| 74 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 77 |t the re|source w|
|00000b00| 69 74 68 20 74 68 65 20 | 6e 61 6d 65 20 22 6d 61 |ith the |name "ma|
|00000b10| 6e 20 67 65 6e 65 72 61 | 6c 22 20 69 73 20 75 73 |n genera|l" is us|
|00000b20| 65 64 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |ed when |the user|
|00000b30| 20 64 6f 65 73 20 6e 6f | 74 20 73 70 65 63 69 66 | does no|t specif|
|00000b40| 79 20 61 20 73 75 62 6a | 65 63 74 2e 0d 00 00 02 |y a subj|ect.....|
|00000b50| 34 0d 4e 41 4d 45 0d 0d | 73 65 74 20 2d 20 73 65 |4.NAME..|set - se|
|00000b60| 74 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 61 6c 20 |t enviro|nmental |
|00000b70| 76 61 72 69 61 62 6c 65 | 73 0d 0d 53 59 4e 4f 50 |variable|s..SYNOP|
|00000b80| 53 49 53 0d 0d 73 65 74 | 20 6e 61 6d 65 20 5b 76 |SIS..set| name [v|
|00000b90| 61 6c 75 65 5d 0d 0d 44 | 45 53 43 52 49 50 54 49 |alue]..D|ESCRIPTI|
|00000ba0| 4f 4e 0d 0d 54 68 65 20 | 22 73 65 74 22 20 63 6f |ON..The |"set" co|
|00000bb0| 6d 6d 61 6e 64 20 61 6c | 6c 6f 77 73 20 74 68 65 |mmand al|lows the|
|00000bc0| 20 6f 70 65 72 61 74 6f | 72 20 74 6f 20 73 65 74 | operato|r to set|
|00000bd0| 20 76 61 72 69 61 62 6c | 65 73 20 77 69 74 68 69 | variabl|es withi|
|00000be0| 6e 20 74 68 65 20 73 68 | 65 6c 6c 20 65 6e 76 69 |n the sh|ell envi|
|00000bf0| 72 6f 6e 6d 65 6e 74 2e | 20 20 54 68 65 20 6e 6f |ronment.| The no|
|00000c00| 72 6d 61 6c 20 73 79 6e | 74 61 78 20 69 6e 63 6c |rmal syn|tax incl|
|00000c10| 75 64 65 73 20 61 20 22 | 76 61 6c 75 65 22 20 73 |udes a "|value" s|
|00000c20| 74 72 69 6e 67 2e 20 20 | 49 66 20 6e 6f 20 76 61 |tring. |If no va|
|00000c30| 6c 75 65 20 69 73 20 67 | 69 76 65 6e 2c 20 74 68 |lue is g|iven, th|
|00000c40| 65 20 73 68 65 6c 6c 20 | 76 61 72 69 61 62 6c 65 |e shell |variable|
|00000c50| 20 69 73 20 73 65 74 20 | 65 71 75 61 6c 20 74 6f | is set |equal to|
|00000c60| 20 61 20 6e 75 6c 6c 20 | 73 74 72 69 6e 67 2e 0d | a null |string..|
|00000c70| 0d 56 61 72 69 61 62 6c | 65 20 6e 61 6d 65 73 20 |.Variabl|e names |
|00000c80| 61 72 65 20 6c 69 6d 69 | 74 65 64 20 74 6f 20 74 |are limi|ted to t|
|00000c90| 68 65 20 63 68 61 72 61 | 63 74 65 72 73 20 61 2d |he chara|cters a-|
|00000ca0| 7a 2c 20 41 2d 5a 2c 20 | 30 2d 39 2c 20 5f 20 61 |z, A-Z, |0-9, _ a|
|00000cb0| 6e 64 20 6d 61 79 20 62 | 65 20 33 31 20 63 68 61 |nd may b|e 31 cha|
|00000cc0| 72 61 63 74 65 72 73 20 | 69 6e 20 6c 65 6e 67 74 |racters |in lengt|
|00000cd0| 68 2e 20 20 54 68 65 20 | 76 61 6c 75 65 20 73 74 |h. The |value st|
|00000ce0| 72 69 6e 67 20 6d 61 79 | 20 63 6f 6e 74 61 69 6e |ring may| contain|
|00000cf0| 20 61 6e 79 20 63 68 61 | 72 61 63 74 65 72 20 61 | any cha|racter a|
|00000d00| 6e 64 20 6d 61 79 20 62 | 65 20 32 35 35 20 63 68 |nd may b|e 255 ch|
|00000d10| 61 72 61 63 74 65 72 73 | 20 69 6e 20 6c 65 6e 67 |aracters| in leng|
|00000d20| 74 68 2e 0d 0d 52 45 54 | 55 52 4e 20 43 4f 44 45 |th...RET|URN CODE|
|00000d30| 53 0d 0d 3c 30 09 41 6e | 20 65 72 72 6f 72 20 70 |S..<0.An| error p|
|00000d40| 72 65 76 65 6e 74 65 64 | 20 74 68 65 20 61 73 73 |revented| the ass|
|00000d50| 69 67 6e 6d 65 6e 74 0d | 30 09 53 75 63 63 65 73 |ignment.|0.Succes|
|00000d60| 73 66 75 6c 20 61 73 73 | 69 67 6e 6d 65 6e 74 0d |sful ass|ignment.|
|00000d70| 0d 53 45 45 20 41 4c 53 | 4f 0d 0d 75 6e 73 65 74 |.SEE ALS|O..unset|
|00000d80| 2c 20 65 6e 76 00 00 01 | 64 0d 4e 41 4d 45 0d 0d |, env...|d.NAME..|
|00000d90| 75 6e 73 65 74 20 2d 20 | 72 65 6d 6f 76 65 20 61 |unset - |remove a|
|00000da0| 20 73 68 65 6c 6c 20 76 | 61 72 69 61 62 6c 65 0d | shell v|ariable.|
|00000db0| 0d 53 59 4e 4f 50 53 49 | 53 0d 0d 75 6e 73 65 74 |.SYNOPSI|S..unset|
|00000dc0| 20 6e 61 6d 65 0d 0d 44 | 45 53 43 52 49 50 54 49 | name..D|ESCRIPTI|
|00000dd0| 4f 4e 0d 0d 54 68 65 20 | 22 75 6e 73 65 74 22 20 |ON..The |"unset" |
|00000de0| 63 6f 6d 6d 61 6e 64 20 | 72 65 6d 6f 76 65 73 20 |command |removes |
|00000df0| 74 68 65 20 6e 61 6d 65 | 64 20 76 61 72 69 61 62 |the name|d variab|
|00000e00| 6c 65 20 66 72 6f 6d 20 | 74 68 65 20 73 68 65 6c |le from |the shel|
|00000e10| 6c 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 2e 0d 0d |l enviro|nment...|
|00000e20| 56 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 73 20 61 |Variable| names a|
|00000e30| 72 65 20 6c 69 6d 69 74 | 65 64 20 74 6f 20 74 68 |re limit|ed to th|
|00000e40| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 61 2d 7a |e charac|ters a-z|
|00000e50| 2c 20 41 2d 5a 2c 20 30 | 2d 39 2c 20 5f 20 61 6e |, A-Z, 0|-9, _ an|
|00000e60| 64 20 6d 61 79 20 62 65 | 20 33 31 20 63 68 61 72 |d may be| 31 char|
|00000e70| 61 63 74 65 72 73 20 69 | 6e 20 6c 65 6e 67 74 68 |acters i|n length|
|00000e80| 2e 0d 0d 52 45 54 55 52 | 4e 20 43 4f 44 45 53 0d |...RETUR|N CODES.|
|00000e90| 0d 3c 30 09 41 6e 20 65 | 72 72 6f 72 20 70 72 65 |.<0.An e|rror pre|
|00000ea0| 76 65 6e 74 65 64 20 74 | 68 65 20 72 65 6d 6f 76 |vented t|he remov|
|00000eb0| 61 6c 0d 30 09 53 75 63 | 63 65 73 73 66 75 6c 20 |al.0.Suc|cessful |
|00000ec0| 72 65 6d 6f 76 61 6c 20 | 6f 72 20 6e 61 6d 65 20 |removal |or name |
|00000ed0| 6e 6f 74 20 66 6f 75 6e | 64 0d 0d 53 45 45 20 41 |not foun|d..SEE A|
|00000ee0| 4c 53 4f 0d 0d 73 65 74 | 2c 20 65 6e 76 00 00 01 |LSO..set|, env...|
|00000ef0| d0 0d 4e 41 4d 45 0d 0d | 65 6e 76 20 2d 20 6c 69 |..NAME..|env - li|
|00000f00| 73 74 20 73 68 65 6c 6c | 20 76 61 72 69 61 62 6c |st shell| variabl|
|00000f10| 65 73 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 65 6e |es..SYNO|PSIS..en|
|00000f20| 76 20 5b 6e 61 6d 65 31 | 5d 20 5b 6e 61 6d 65 32 |v [name1|] [name2|
|00000f30| 5d 20 2e 20 2e 20 2e 20 | 0d 0d 44 45 53 43 52 49 |] . . . |..DESCRI|
|00000f40| 50 54 49 4f 4e 0d 0d 54 | 68 65 20 22 65 6e 76 22 |PTION..T|he "env"|
|00000f50| 20 63 6f 6d 6d 61 6e 64 | 20 77 69 6c 6c 20 6c 69 | command| will li|
|00000f60| 73 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |st the c|urrent s|
|00000f70| 68 65 6c 6c 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |hell env|ironment|
|00000f80| 2e 20 20 56 61 72 69 61 | 62 6c 65 73 20 61 72 65 |. Varia|bles are|
|00000f90| 20 6c 69 73 74 65 64 20 | 77 69 74 68 20 74 68 65 | listed |with the|
|00000fa0| 69 72 20 76 61 6c 75 65 | 73 2e 20 20 49 66 20 6e |ir value|s. If n|
|00000fb0| 6f 20 70 61 72 61 6d 65 | 74 65 72 73 20 61 72 65 |o parame|ters are|
|00000fc0| 20 67 69 76 65 6e 2c 20 | 61 6c 6c 20 61 63 74 69 | given, |all acti|
|00000fd0| 76 65 20 73 68 65 6c 6c | 20 76 61 72 69 61 62 6c |ve shell| variabl|
|00000fe0| 65 73 20 61 72 65 20 6c | 69 73 74 65 64 2e 0d 0d |es are l|isted...|
|00000ff0| 56 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 73 20 61 |Variable| names a|
|00001000| 72 65 20 6c 69 6d 69 74 | 65 64 20 74 6f 20 74 68 |re limit|ed to th|
|00001010| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 61 2d 7a |e charac|ters a-z|
|00001020| 2c 20 41 2d 5a 2c 20 30 | 2d 39 2c 20 5f 20 61 6e |, A-Z, 0|-9, _ an|
|00001030| 64 20 6d 61 79 20 62 65 | 20 33 31 20 63 68 61 72 |d may be| 31 char|
|00001040| 61 63 74 65 72 73 20 69 | 6e 20 6c 65 6e 67 74 68 |acters i|n length|
|00001050| 2e 0d 0d 52 45 54 55 52 | 4e 20 43 4f 44 45 53 0d |...RETUR|N CODES.|
|00001060| 0d 3c 30 09 41 6e 20 65 | 72 72 6f 72 20 70 72 65 |.<0.An e|rror pre|
|00001070| 76 65 6e 74 65 64 20 74 | 68 65 20 73 65 61 72 63 |vented t|he searc|
|00001080| 68 0d 30 09 53 75 63 63 | 65 73 73 66 75 6c 20 73 |h.0.Succ|essful s|
|00001090| 65 61 72 63 68 20 28 69 | 6e 63 2e 20 6e 61 6d 65 |earch (i|nc. name|
|000010a0| 20 6e 6f 74 20 66 6f 75 | 6e 64 29 0d 0d 53 45 45 | not fou|nd)..SEE|
|000010b0| 20 41 4c 53 4f 0d 0d 73 | 65 74 2c 20 75 6e 73 65 | ALSO..s|et, unse|
|000010c0| 74 00 00 01 d8 0d 4e 41 | 4d 45 0d 0d 70 61 74 68 |t.....NA|ME..path|
|000010d0| 63 68 6b 20 2d 20 65 76 | 61 6c 75 61 74 65 73 20 |chk - ev|aluates |
|000010e0| 61 20 66 75 6c 6c 20 6f | 72 20 70 61 72 74 69 61 |a full o|r partia|
|000010f0| 6c 20 70 61 74 68 6e 61 | 6d 65 0d 0d 53 59 4e 4f |l pathna|me..SYNO|
|00001100| 50 53 49 53 0d 0d 70 61 | 74 68 63 68 6b 20 70 61 |PSIS..pa|thchk pa|
|00001110| 74 68 6e 61 6d 65 0d 0d | 44 45 53 43 52 49 50 54 |thname..|DESCRIPT|
|00001120| 49 4f 4e 0d 0d 54 68 65 | 20 6e 53 68 65 6c 6c 20 |ION..The| nShell |
|00001130| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 75 73 65 73 |environm|ent uses|
|00001140| 20 74 72 61 64 69 74 69 | 6f 6e 61 6c 20 4d 61 63 | traditi|onal Mac|
|00001150| 69 6e 74 6f 73 68 20 70 | 61 74 68 6e 61 6d 65 73 |intosh p|athnames|
|00001160| 2e 20 20 54 68 65 20 22 | 70 61 74 68 63 68 6b 22 |. The "|pathchk"|
|00001170| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 69 6e 63 6c | command| is incl|
|00001180| 75 64 65 64 20 74 6f 20 | 61 6c 6c 6f 77 20 74 68 |uded to |allow th|
|00001190| 65 20 75 73 65 72 20 74 | 6f 20 65 78 70 65 72 69 |e user t|o experi|
|000011a0| 6d 65 6e 74 20 77 69 74 | 68 20 74 68 6f 73 65 20 |ment wit|h those |
|000011b0| 70 61 74 68 6e 61 6d 65 | 73 2e 0d 0d 47 69 76 65 |pathname|s...Give|
|000011c0| 6e 20 61 20 66 75 6c 6c | 20 6f 72 20 70 61 72 74 |n a full| or part|
|000011d0| 69 61 6c 20 70 61 74 68 | 6e 61 6d 65 2c 20 70 61 |ial path|name, pa|
|000011e0| 74 68 63 68 6b 20 77 69 | 6c 6c 20 65 63 68 6f 20 |thchk wi|ll echo |
|000011f0| 74 68 65 20 65 71 75 69 | 76 61 6c 65 6e 74 20 66 |the equi|valent f|
|00001200| 75 6c 6c 20 70 61 74 68 | 6e 61 6d 65 2e 0d 0d 50 |ull path|name...P|
|00001210| 61 74 68 63 68 6b 20 64 | 6f 65 73 20 6e 6f 74 20 |athchk d|oes not |
|00001220| 63 68 65 63 6b 20 74 6f | 20 73 65 65 20 69 66 20 |check to| see if |
|00001230| 61 6e 79 20 6f 66 20 74 | 68 65 20 73 70 65 63 69 |any of t|he speci|
|00001240| 66 69 65 64 20 76 6f 6c | 75 6d 65 73 2c 20 64 69 |fied vol|umes, di|
|00001250| 72 65 63 74 6f 72 69 65 | 73 2c 20 6f 72 20 66 69 |rectorie|s, or fi|
|00001260| 6c 65 73 20 65 78 69 73 | 74 2e 0d 0d 52 45 54 55 |les exis|t...RETU|
|00001270| 52 4e 20 43 4f 44 45 53 | 0d 0d 3c 30 09 45 72 72 |RN CODES|..<0.Err|
|00001280| 6f 72 0d 30 09 53 75 63 | 63 65 73 73 0d 0d 53 45 |or.0.Suc|cess..SE|
|00001290| 45 20 41 4c 53 4f 0d 0d | 77 68 69 63 68 00 00 02 |E ALSO..|which...|
|000012a0| 44 0d 4e 41 4d 45 0d 0d | 77 68 69 63 68 20 2d 20 |D.NAME..|which - |
|000012b0| 77 68 69 63 68 20 63 6f | 70 79 20 6f 66 20 61 20 |which co|py of a |
|000012c0| 63 6f 6d 6d 61 6e 64 20 | 77 69 6c 6c 20 62 65 20 |command |will be |
|000012d0| 75 73 65 64 0d 0d 53 59 | 4e 4f 50 53 49 53 0d 0d |used..SY|NOPSIS..|
|000012e0| 77 68 69 63 68 20 63 6f | 6d 6d 61 6e 64 0d 0d 44 |which co|mmand..D|
|000012f0| 45 53 43 52 49 50 54 49 | 4f 4e 0d 0d 22 77 68 69 |ESCRIPTI|ON.."whi|
|00001300| 63 68 22 20 65 78 61 6d | 69 6e 65 73 20 74 68 65 |ch" exam|ines the|
|00001310| 20 63 6f 6d 6d 61 6e 64 | 2d 73 65 61 72 63 68 2d | command|-search-|
|00001320| 70 61 74 68 2c 20 61 6e | 64 20 72 65 74 75 72 6e |path, an|d return|
|00001330| 73 20 74 68 65 20 6c 6f | 63 61 74 69 6f 6e 20 6f |s the lo|cation o|
|00001340| 66 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 77 68 |f the co|mmand wh|
|00001350| 69 63 68 20 77 6f 75 6c | 64 20 62 65 20 65 78 65 |ich woul|d be exe|
|00001360| 63 75 74 65 64 2e 0d 0d | 54 68 65 20 77 68 69 63 |cuted...|The whic|
|00001370| 68 20 63 6f 6d 6d 61 6e | 64 20 66 69 72 73 74 20 |h comman|d first |
|00001380| 63 68 65 63 6b 73 20 74 | 6f 20 73 65 65 20 69 66 |checks t|o see if|
|00001390| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 63 | the spe|cified c|
|000013a0| 6f 6d 6d 61 6e 64 20 69 | 73 20 69 6e 74 65 72 6e |ommand i|s intern|
|000013b0| 61 6c 20 74 6f 20 74 68 | 65 20 6e 53 68 65 6c 6c |al to th|e nShell|
|000013c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 20 45 | applica|tion. E|
|000013d0| 61 63 68 20 64 69 72 65 | 63 74 6f 72 79 20 69 6e |ach dire|ctory in|
|000013e0| 20 74 68 65 20 73 65 61 | 72 63 68 20 70 61 74 68 | the sea|rch path|
|000013f0| 20 69 73 20 74 68 65 6e | 20 65 78 61 6d 69 6e 65 | is then| examine|
|00001400| 64 20 74 6f 20 73 65 65 | 20 69 66 20 69 74 20 63 |d to see| if it c|
|00001410| 6f 6e 74 61 69 6e 73 20 | 61 6e 20 65 78 74 65 72 |ontains |an exter|
|00001420| 6e 61 6c 20 63 6f 6d 6d | 61 6e 64 20 6f 72 20 73 |nal comm|and or s|
|00001430| 68 65 6c 6c 20 73 63 72 | 69 70 74 20 6f 66 20 74 |hell scr|ipt of t|
|00001440| 68 65 20 67 69 76 65 6e | 20 6e 61 6d 65 2e 20 20 |he given| name. |
|00001450| 41 6e 79 20 27 54 45 58 | 54 27 20 66 69 6c 65 20 |Any 'TEX|T' file |
|00001460| 77 69 74 68 20 61 20 6d | 61 74 63 68 69 6e 67 20 |with a m|atching |
|00001470| 6e 61 6d 65 20 69 73 20 | 61 73 73 75 6d 65 64 20 |name is |assumed |
|00001480| 74 6f 20 62 65 20 61 20 | 73 68 65 6c 6c 20 73 63 |to be a |shell sc|
|00001490| 72 69 70 74 2e 0d 0d 52 | 45 54 55 52 4e 20 43 4f |ript...R|ETURN CO|
|000014a0| 44 45 53 0d 0d 3c 30 09 | 45 72 72 6f 72 20 6f 72 |DES..<0.|Error or|
|000014b0| 20 63 6f 6d 6d 61 6e 64 | 20 6e 6f 74 20 66 6f 75 | command| not fou|
|000014c0| 6e 64 0d 30 09 53 75 63 | 63 65 73 73 0d 0d 53 45 |nd.0.Suc|cess..SE|
|000014d0| 45 20 41 4c 53 4f 0d 0d | 70 61 74 68 2c 20 70 61 |E ALSO..|path, pa|
|000014e0| 74 68 63 68 6b 00 00 02 | e1 0d 4e 41 4d 45 0d 0d |thchk...|..NAME..|
|000014f0| 70 61 74 68 20 2d 20 64 | 65 66 69 6e 65 20 61 20 |path - d|efine a |
|00001500| 63 6f 6d 6d 61 6e 64 20 | 73 65 61 72 63 68 20 70 |command |search p|
|00001510| 61 74 68 0d 0d 53 59 4e | 4f 50 53 49 53 0d 0d 70 |ath..SYN|OPSIS..p|
|00001520| 61 74 68 20 22 74 68 69 | 73 3a 69 73 3a 70 61 74 |ath "thi|s:is:pat|
|00001530| 68 3a 6f 6e 65 2f 74 68 | 69 73 3a 69 73 3a 70 61 |h:one/th|is:is:pa|
|00001540| 74 68 3a 74 77 6f 22 0d | 0d 44 45 53 43 52 49 50 |th:two".|.DESCRIP|
|00001550| 54 49 4f 4e 0d 0d 54 68 | 65 20 22 70 61 74 68 22 |TION..Th|e "path"|
|00001560| 20 63 6f 6d 6d 61 6e 64 | 20 61 6c 6c 6f 77 73 20 | command| allows |
|00001570| 74 68 65 20 75 73 65 72 | 20 74 6f 20 73 70 65 63 |the user| to spec|
|00001580| 69 66 79 20 61 20 63 6f | 6d 6d 61 6e 64 20 73 65 |ify a co|mmand se|
|00001590| 61 72 63 68 20 70 61 74 | 68 2e 20 20 54 68 65 20 |arch pat|h. The |
|000015a0| 70 61 74 68 20 69 73 20 | 73 74 6f 72 65 64 20 69 |path is |stored i|
|000015b0| 6e 20 74 68 65 20 24 50 | 41 54 48 20 73 68 65 6c |n the $P|ATH shel|
|000015c0| 6c 20 76 61 72 69 61 62 | 6c 65 2e 20 20 44 69 72 |l variab|le. Dir|
|000015d0| 65 63 74 6f 72 69 65 73 | 20 61 72 65 20 73 65 70 |ectories| are sep|
|000015e0| 61 72 61 74 65 64 20 62 | 79 20 22 3a 22 2c 20 61 |arated b|y ":", a|
|000015f0| 6e 64 20 70 61 74 68 73 | 20 61 72 65 20 73 65 70 |nd paths| are sep|
|00001600| 61 72 61 74 65 64 20 62 | 79 20 22 2f 22 2e 20 20 |arated b|y "/". |
|00001610| 41 20 73 69 6e 67 6c 65 | 20 22 3a 22 20 6d 61 79 |A single| ":" may|
|00001620| 20 62 65 20 75 73 65 64 | 20 74 6f 20 73 70 65 63 | be used| to spec|
|00001630| 69 66 79 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ify the |current |
|00001640| 64 69 72 65 63 74 6f 72 | 79 2c 20 61 73 20 69 6e |director|y, as in|
|00001650| 20 22 70 61 74 68 20 3a | 2f 74 68 69 73 3a 69 73 | "path :|/this:is|
|00001660| 3a 70 61 74 68 3a 74 77 | 6f 22 20 2e 0d 0d 41 6e |:path:tw|o" ...An|
|00001670| 79 20 76 61 72 69 61 62 | 6c 65 73 20 75 73 65 64 |y variab|les used|
|00001680| 20 69 6e 20 74 68 65 20 | 70 61 74 68 20 61 72 65 | in the |path are|
|00001690| 20 65 76 61 6c 75 61 74 | 65 64 20 77 68 65 6e 20 | evaluat|ed when |
|000016a0| 79 6f 75 20 69 73 73 75 | 65 20 74 68 65 20 70 61 |you issu|e the pa|
|000016b0| 74 68 20 63 6f 6d 6d 61 | 6e 64 2e 20 20 49 6e 20 |th comma|nd. In |
|000016c0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 22 70 61 74 |the comm|and "pat|
|000016d0| 68 20 24 48 4f 4d 45 3a | 62 69 6e 22 2c 20 74 68 |h $HOME:|bin", th|
|000016e0| 65 20 76 61 6c 75 65 20 | 6f 66 20 24 48 4f 4d 45 |e value |of $HOME|
|000016f0| 20 69 73 20 65 76 61 6c | 75 61 74 65 64 20 69 6d | is eval|uated im|
|00001700| 6d 65 64 69 61 74 65 6c | 79 2e 20 20 49 66 20 79 |mediatel|y. If y|
|00001710| 6f 75 20 63 68 61 6e 67 | 65 20 74 68 65 20 76 61 |ou chang|e the va|
|00001720| 6c 75 65 20 6f 66 20 24 | 48 4f 4d 45 20 6c 61 74 |lue of $|HOME lat|
|00001730| 65 72 2c 20 74 68 65 20 | 70 61 74 68 20 77 69 6c |er, the |path wil|
|00001740| 6c 20 63 6f 6e 74 69 6e | 75 65 20 74 6f 20 70 6f |l contin|ue to po|
|00001750| 69 6e 74 20 74 6f 20 74 | 68 65 20 6f 72 69 67 69 |int to t|he origi|
|00001760| 6e 61 6c 20 3a 62 69 6e | 20 64 69 72 65 63 74 6f |nal :bin| directo|
|00001770| 72 79 2e 0d 0d 54 68 65 | 20 64 65 66 61 75 6c 74 |ry...The| default|
|00001780| 20 70 61 74 68 20 69 73 | 20 22 3a 2f 24 48 4f 4d | path is| ":/$HOM|
|00001790| 45 3a 62 69 6e 22 2e 0d | 0d 52 45 54 55 52 4e 20 |E:bin"..|.RETURN |
|000017a0| 43 4f 44 45 53 0d 0d 3c | 30 09 45 72 72 6f 72 0d |CODES..<|0.Error.|
|000017b0| 30 09 53 75 63 63 65 73 | 73 0d 0d 53 45 45 20 41 |0.Succes|s..SEE A|
|000017c0| 4c 53 4f 0d 0d 77 68 69 | 63 68 00 00 00 f7 0d 4e |LSO..whi|ch.....N|
|000017d0| 41 4d 45 0d 0d 70 77 64 | 20 2d 20 70 72 69 6e 74 |AME..pwd| - print|
|000017e0| 20 77 6f 72 6b 69 6e 67 | 20 64 69 72 65 63 74 6f | working| directo|
|000017f0| 72 79 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 70 77 |ry..SYNO|PSIS..pw|
|00001800| 64 0d 0d 44 45 53 43 52 | 49 50 54 49 4f 4e 0d 0d |d..DESCR|IPTION..|
|00001810| 54 68 65 20 22 70 77 64 | 22 20 63 6f 6d 6d 61 6e |The "pwd|" comman|
|00001820| 64 20 70 72 69 6e 74 73 | 20 74 68 65 20 66 75 6c |d prints| the ful|
|00001830| 6c 20 70 61 74 68 20 6f | 66 20 74 68 65 20 63 75 |l path o|f the cu|
|00001840| 72 72 65 6e 74 20 77 6f | 72 6b 69 6e 67 20 64 69 |rrent wo|rking di|
|00001850| 72 65 63 74 6f 72 79 2e | 20 20 54 68 65 20 77 6f |rectory.| The wo|
|00001860| 72 6b 69 6e 67 20 64 69 | 72 65 63 74 6f 72 79 20 |rking di|rectory |
|00001870| 69 73 20 73 74 6f 72 65 | 64 20 69 6e 20 74 68 65 |is store|d in the|
|00001880| 20 24 50 57 44 20 73 68 | 65 6c 6c 20 76 61 72 69 | $PWD sh|ell vari|
|00001890| 61 62 6c 65 2e 0d 0d 52 | 45 54 55 52 4e 20 43 4f |able...R|ETURN CO|
|000018a0| 44 45 53 0d 0d 3c 30 09 | 45 72 72 6f 72 0d 30 09 |DES..<0.|Error.0.|
|000018b0| 53 75 63 63 65 73 73 0d | 0d 53 45 45 20 41 4c 53 |Success.|.SEE ALS|
|000018c0| 4f 0d 0d 63 64 00 00 02 | 30 0d 4e 41 4d 45 0d 0d |O..cd...|0.NAME..|
|000018d0| 63 64 20 2d 20 63 68 61 | 6e 67 65 20 77 6f 72 6b |cd - cha|nge work|
|000018e0| 69 6e 67 20 64 69 72 65 | 63 74 6f 72 79 0d 0d 53 |ing dire|ctory..S|
|000018f0| 59 4e 4f 50 53 49 53 0d | 0d 63 64 20 22 74 68 69 |YNOPSIS.|.cd "thi|
|00001900| 73 3a 69 73 3a 6d 79 20 | 6e 65 77 3a 70 61 74 68 |s:is:my |new:path|
|00001910| 22 0d 0d 44 45 53 43 52 | 49 50 54 49 4f 4e 0d 0d |"..DESCR|IPTION..|
|00001920| 54 68 65 20 22 63 64 22 | 20 63 6f 6d 6d 61 6e 64 |The "cd"| command|
|00001930| 20 61 6c 6c 6f 77 73 20 | 74 68 65 20 75 73 65 72 | allows |the user|
|00001940| 20 74 6f 20 73 70 65 63 | 69 66 79 20 61 20 6e 65 | to spec|ify a ne|
|00001950| 77 20 77 6f 72 6b 69 6e | 67 20 64 69 72 65 63 74 |w workin|g direct|
|00001960| 6f 72 79 2e 20 20 54 68 | 65 20 77 6f 72 6b 69 6e |ory. Th|e workin|
|00001970| 67 20 64 69 72 65 63 74 | 6f 72 79 20 69 73 20 68 |g direct|ory is h|
|00001980| 65 6c 64 20 69 6e 20 74 | 68 65 20 24 50 57 44 20 |eld in t|he $PWD |
|00001990| 73 68 65 6c 6c 20 76 61 | 72 69 61 62 6c 65 2e 20 |shell va|riable. |
|000019a0| 20 49 66 20 61 20 70 61 | 72 74 69 61 6c 20 70 61 | If a pa|rtial pa|
|000019b0| 74 68 6e 61 6d 65 20 69 | 73 20 67 69 76 65 6e 2c |thname i|s given,|
|000019c0| 20 61 20 66 75 6c 6c 20 | 70 61 74 68 20 69 73 20 | a full |path is |
|000019d0| 67 65 6e 65 72 61 74 65 | 64 20 75 73 69 6e 67 20 |generate|d using |
|000019e0| 74 68 65 20 65 78 69 73 | 74 69 6e 67 20 24 50 57 |the exis|ting $PW|
|000019f0| 44 20 76 61 72 69 61 62 | 6c 65 2e 20 20 49 66 20 |D variab|le. If |
|00001a00| 6e 6f 20 70 61 74 68 6e | 61 6d 65 20 69 73 20 67 |no pathn|ame is g|
|00001a10| 69 76 65 6e 2c 20 74 68 | 65 20 75 73 65 72 20 69 |iven, th|e user i|
|00001a20| 73 20 72 65 74 75 72 6e | 65 64 20 74 6f 20 74 68 |s return|ed to th|
|00001a30| 65 20 24 48 4f 4d 45 20 | 64 69 72 65 63 74 6f 72 |e $HOME |director|
|00001a40| 79 2e 0d 0d 50 61 74 68 | 6e 61 6d 65 73 20 63 6f |y...Path|names co|
|00001a50| 6e 73 69 73 74 20 6f 66 | 20 76 6f 6c 75 6d 65 20 |nsist of| volume |
|00001a60| 61 6e 64 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 |and dire|ctory na|
|00001a70| 6d 65 73 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |mes sepa|rated by|
|00001a80| 20 27 3a 27 20 63 68 61 | 72 61 63 74 65 72 73 2e | ':' cha|racters.|
|00001a90| 20 20 50 61 74 68 6e 61 | 6d 65 73 20 6d 61 79 20 | Pathna|mes may |
|00001aa0| 62 65 20 22 71 75 6f 74 | 65 64 22 2c 20 61 6e 64 |be "quot|ed", and|
|00001ab0| 20 6d 75 73 74 20 62 65 | 20 77 68 65 6e 20 61 20 | must be| when a |
|00001ac0| 76 6f 6c 75 6d 65 20 6f | 72 20 64 69 72 65 63 74 |volume o|r direct|
|00001ad0| 6f 72 79 20 6e 61 6d 65 | 20 63 6f 6e 74 61 69 6e |ory name| contain|
|00001ae0| 73 20 61 20 73 70 61 63 | 65 2e 0d 0d 53 45 45 20 |s a spac|e...SEE |
|00001af0| 41 4c 53 4f 0d 0d 70 77 | 64 00 00 02 4e 0d 4e 41 |ALSO..pw|d...N.NA|
|00001b00| 4d 45 0d 0d 74 68 65 6e | 20 2d 20 63 6f 6e 64 69 |ME..then| - condi|
|00001b10| 74 69 6f 6e 61 6c 20 65 | 78 65 63 75 74 69 6f 6e |tional e|xecution|
|00001b20| 0d 0d 53 59 4e 4f 50 53 | 49 53 0d 0d 69 66 20 3c |..SYNOPS|IS..if <|
|00001b30| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 74 68 65 6e 20 |commands|1> then |
|00001b40| 3c 63 6f 6d 6d 61 6e 64 | 73 32 3e 20 5b 65 6c 73 |<command|s2> [els|
|00001b50| 65 20 3c 63 6f 6d 6d 61 | 6e 64 73 33 3e 5d 20 65 |e <comma|nds3>] e|
|00001b60| 6e 64 69 66 0d 0d 44 45 | 53 43 52 49 50 54 49 4f |ndif..DE|SCRIPTIO|
|00001b70| 4e 0d 0d 49 66 20 74 68 | 65 20 72 65 73 75 6c 74 |N..If th|e result|
|00001b80| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6d | of the |last com|
|00001b90| 6d 61 6e 64 20 6f 66 20 | 74 68 65 20 73 65 74 20 |mand of |the set |
|00001ba0| 3c 63 6f 6d 6d 61 6e 64 | 73 31 3e 20 63 6f 6d 70 |<command|s1> comp|
|00001bb0| 6c 65 74 65 73 20 77 69 | 74 68 6f 75 74 20 65 72 |letes wi|thout er|
|00001bc0| 72 6f 72 20 28 72 65 73 | 75 6c 74 20 3d 20 7a 65 |ror (res|ult = ze|
|00001bd0| 72 6f 29 2c 20 74 68 65 | 6e 20 74 68 65 20 3c 63 |ro), the|n the <c|
|00001be0| 6f 6d 6d 61 6e 64 73 32 | 3e 20 63 6c 61 75 73 65 |ommands2|> clause|
|00001bf0| 20 77 69 6c 6c 20 62 65 | 20 65 78 65 63 75 74 65 | will be| execute|
|00001c00| 64 2e 0d 0d 49 66 20 74 | 68 65 20 72 65 73 75 6c |d...If t|he resul|
|00001c10| 74 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 63 6f |t of the| last co|
|00001c20| 6d 6d 61 6e 64 20 6f 66 | 20 74 68 65 20 73 65 74 |mmand of| the set|
|00001c30| 20 3c 63 6f 6d 6d 61 6e | 64 73 31 3e 20 70 72 6f | <comman|ds1> pro|
|00001c40| 64 75 63 65 73 20 61 6e | 20 65 72 72 6f 72 20 28 |duces an| error (|
|00001c50| 72 65 73 75 6c 74 20 3c | 3e 20 7a 65 72 6f 29 2c |result <|> zero),|
|00001c60| 20 61 6e 64 20 61 6e 20 | 65 6c 73 65 2d 63 6c 61 | and an |else-cla|
|00001c70| 75 73 65 20 69 73 20 70 | 72 65 73 65 6e 74 2c 20 |use is p|resent, |
|00001c80| 74 68 61 74 20 63 6c 61 | 75 73 65 20 77 69 6c 6c |that cla|use will|
|00001c90| 20 65 78 65 63 75 74 65 | 2e 0d 0d 46 6c 6f 77 20 | execute|...Flow |
|00001ca0| 6f 66 20 63 6f 6e 74 72 | 6f 6c 20 73 74 61 74 65 |of contr|ol state|
|00001cb0| 6d 65 6e 74 73 20 61 72 | 65 20 61 76 61 69 6c 61 |ments ar|e availa|
|00001cc0| 62 6c 65 20 69 6e 20 6e | 53 68 65 6c 6c 2d 50 72 |ble in n|Shell-Pr|
|00001cd0| 6f 28 74 6d 29 0d 0d 52 | 45 54 55 52 4e 20 43 4f |o(tm)..R|ETURN CO|
|00001ce0| 44 45 53 0d 0d 3c 30 09 | 45 72 72 6f 72 0d 30 09 |DES..<0.|Error.0.|
|00001cf0| 53 75 63 63 65 73 73 0d | 0d 53 45 45 20 41 4c 53 |Success.|.SEE ALS|
|00001d00| 4f 0d 0d 77 68 69 6c 65 | 2c 20 75 6e 74 69 6c 0d |O..while|, until.|
|00001d10| 0d 45 58 41 4d 50 4c 45 | 53 0d 0d 69 66 20 79 65 |.EXAMPLE|S..if ye|
|00001d20| 73 6e 6f 20 22 53 68 6f | 75 6c 64 20 49 20 73 61 |sno "Sho|uld I sa|
|00001d30| 79 20 68 65 6c 6c 6f 3f | 22 20 74 68 65 6e 20 68 |y hello?|" then h|
|00001d40| 65 6c 6c 6f 20 65 6e 64 | 69 66 0d 00 00 02 4b 0d |ello end|if....K.|
|00001d50| 4e 41 4d 45 0d 0d 69 66 | 20 2d 20 63 6f 6e 64 69 |NAME..if| - condi|
|00001d60| 74 69 6f 6e 61 6c 20 65 | 78 65 63 75 74 69 6f 6e |tional e|xecution|
|00001d70| 0d 0d 53 59 4e 4f 50 53 | 49 53 0d 0d 69 66 20 3c |..SYNOPS|IS..if <|
|00001d80| 63 6f 6d 6d 61 6e 64 73 | 31 3e 20 74 68 65 6e 20 |commands|1> then |
|00001d90| 3c 63 6f 6d 6d 61 6e 64 | 73 32 3e 20 5b 65 6c 73 |<command|s2> [els|
|00001da0| 65 20 3c 63 6f 6d 6d 61 | 6e 64 73 33 3e 5d 20 65 |e <comma|nds3>] e|
|00001db0| 6e 64 69 66 0d 0d 44 45 | 53 43 52 49 50 54 49 4f |ndif..DE|SCRIPTIO|
|00001dc0| 4e 0d 0d 49 66 20 74 68 | 65 20 72 65 73 75 6c 74 |N..If th|e result|
|00001dd0| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6d | of the |last com|
|00001de0| 6d 61 6e 64 20 6f 66 20 | 74 68 65 20 73 65 74 20 |mand of |the set |
|00001df0| 3c 63 6f 6d 6d 61 6e 64 | 73 31 3e 20 63 6f 6d 70 |<command|s1> comp|
|00001e00| 6c 65 74 65 73 20 77 69 | 74 68 6f 75 74 20 65 72 |letes wi|thout er|
|00001e10| 72 6f 72 20 28 72 65 73 | 75 6c 74 20 3d 20 7a 65 |ror (res|ult = ze|
|00001e20| 72 6f 29 2c 20 74 68 65 | 6e 20 74 68 65 20 3c 63 |ro), the|n the <c|
|00001e30| 6f 6d 6d 61 6e 64 73 32 | 3e 20 63 6c 61 75 73 65 |ommands2|> clause|
|00001e40| 20 77 69 6c 6c 20 62 65 | 20 65 78 65 63 75 74 65 | will be| execute|
|00001e50| 64 2e 0d 0d 49 66 20 74 | 68 65 20 72 65 73 75 6c |d...If t|he resul|
|00001e60| 74 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 63 6f |t of the| last co|
|00001e70| 6d 6d 61 6e 64 20 6f 66 | 20 74 68 65 20 73 65 74 |mmand of| the set|
|00001e80| 20 3c 63 6f 6d 6d 61 6e | 64 73 31 3e 20 70 72 6f | <comman|ds1> pro|
|00001e90| 64 75 63 65 73 20 61 6e | 20 65 72 72 6f 72 20 28 |duces an| error (|
|00001ea0| 72 65 73 75 6c 74 20 3c | 3e 20 7a 65 72 6f 29 2c |result <|> zero),|
|00001eb0| 20 61 6e 64 20 61 6e 20 | 65 6c 73 65 2d 63 6c 61 | and an |else-cla|
|00001ec0| 75 73 65 20 69 73 20 70 | 72 65 73 65 6e 74 2c 20 |use is p|resent, |
|00001ed0| 74 68 61 74 20 63 6c 61 | 75 73 65 20 77 69 6c 6c |that cla|use will|
|00001ee0| 20 65 78 65 63 75 74 65 | 2e 0d 0d 46 6c 6f 77 20 | execute|...Flow |
|00001ef0| 6f 66 20 63 6f 6e 74 72 | 6f 6c 20 73 74 61 74 65 |of contr|ol state|
|00001f00| 6d 65 6e 74 73 20 61 72 | 65 20 61 76 61 69 6c 61 |ments ar|e availa|
|00001f10| 62 6c 65 20 69 6e 20 6e | 53 68 65 6c 6c 2d 50 72 |ble in n|Shell-Pr|
|00001f20| 6f 28 74 6d 29 0d 0d 52 | 45 54 55 52 4e 20 43 4f |o(tm)..R|ETURN CO|
|00001f30| 44 45 53 0d 0d 3c 30 09 | 45 72 72 6f 72 0d 30 09 |DES..<0.|Error.0.|
|00001f40| 53 75 63 63 65 73 73 0d | 0d 53 45 45 20 41 4c 53 |Success.|.SEE ALS|
|00001f50| 4f 0d 0d 77 68 69 6c 65 | 2c 20 75 6e 74 69 6c 0d |O..while|, until.|
|00001f60| 0d 45 58 41 4d 50 4c 45 | 53 0d 0d 69 66 20 79 65 |.EXAMPLE|S..if ye|
|00001f70| 73 6e 6f 20 22 53 68 6f | 75 6c 64 20 49 20 73 61 |sno "Sho|uld I sa|
|00001f80| 79 20 68 65 6c 6c 6f 3f | 22 20 74 68 65 6e 20 68 |y hello?|" then h|
|00001f90| 65 6c 6c 6f 20 65 6e 64 | 69 66 00 00 02 4e 0d 4e |ello end|if...N.N|
|00001fa0| 41 4d 45 0d 0d 65 6c 73 | 65 20 2d 20 63 6f 6e 64 |AME..els|e - cond|
|00001fb0| 69 74 69 6f 6e 61 6c 20 | 65 78 65 63 75 74 69 6f |itional |executio|
|00001fc0| 6e 0d 0d 53 59 4e 4f 50 | 53 49 53 0d 0d 69 66 20 |n..SYNOP|SIS..if |
|00001fd0| 3c 63 6f 6d 6d 61 6e 64 | 73 31 3e 20 74 68 65 6e |<command|s1> then|
|00001fe0| 20 3c 63 6f 6d 6d 61 6e | 64 73 32 3e 20 5b 65 6c | <comman|ds2> [el|
|00001ff0| 73 65 20 3c 63 6f 6d 6d | 61 6e 64 73 33 3e 5d 20 |se <comm|ands3>] |
|00002000| 65 6e 64 69 66 0d 0d 44 | 45 53 43 52 49 50 54 49 |endif..D|ESCRIPTI|
|00002010| 4f 4e 0d 0d 49 66 20 74 | 68 65 20 72 65 73 75 6c |ON..If t|he resul|
|00002020| 74 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 63 6f |t of the| last co|
|00002030| 6d 6d 61 6e 64 20 6f 66 | 20 74 68 65 20 73 65 74 |mmand of| the set|
|00002040| 20 3c 63 6f 6d 6d 61 6e | 64 73 31 3e 20 63 6f 6d | <comman|ds1> com|
|00002050| 70 6c 65 74 65 73 20 77 | 69 74 68 6f 75 74 20 65 |pletes w|ithout e|
|00002060| 72 72 6f 72 20 28 72 65 | 73 75 6c 74 20 3d 20 7a |rror (re|sult = z|
|00002070| 65 72 6f 29 2c 20 74 68 | 65 6e 20 74 68 65 20 3c |ero), th|en the <|
|00002080| 63 6f 6d 6d 61 6e 64 73 | 32 3e 20 63 6c 61 75 73 |commands|2> claus|
|00002090| 65 20 77 69 6c 6c 20 62 | 65 20 65 78 65 63 75 74 |e will b|e execut|
|000020a0| 65 64 2e 0d 0d 49 66 20 | 74 68 65 20 72 65 73 75 |ed...If |the resu|
|000020b0| 6c 74 20 6f 66 20 74 68 | 65 20 6c 61 73 74 20 63 |lt of th|e last c|
|000020c0| 6f 6d 6d 61 6e 64 20 6f | 66 20 74 68 65 20 73 65 |ommand o|f the se|
|000020d0| 74 20 3c 63 6f 6d 6d 61 | 6e 64 73 31 3e 20 70 72 |t <comma|nds1> pr|
|000020e0| 6f 64 75 63 65 73 20 61 | 6e 20 65 72 72 6f 72 20 |oduces a|n error |
|000020f0| 28 72 65 73 75 6c 74 20 | 3c 3e 20 7a 65 72 6f 29 |(result |<> zero)|
|00002100| 2c 20 61 6e 64 20 61 6e | 20 65 6c 73 65 2d 63 6c |, and an| else-cl|
|00002110| 61 75 73 65 20 69 73 20 | 70 72 65 73 65 6e 74 2c |ause is |present,|
|00002120| 20 74 68 61 74 20 63 6c | 61 75 73 65 20 77 69 6c | that cl|ause wil|
|00002130| 6c 20 65 78 65 63 75 74 | 65 2e 0d 0d 46 6c 6f 77 |l execut|e...Flow|
|00002140| 20 6f 66 20 63 6f 6e 74 | 72 6f 6c 20 73 74 61 74 | of cont|rol stat|
|00002150| 65 6d 65 6e 74 73 20 61 | 72 65 20 61 76 61 69 6c |ements a|re avail|
|00002160| 61 62 6c 65 20 69 6e 20 | 6e 53 68 65 6c 6c 2d 50 |able in |nShell-P|
|00002170| 72 6f 28 74 6d 29 0d 0d | 52 45 54 55 52 4e 20 43 |ro(tm)..|RETURN C|
|00002180| 4f 44 45 53 0d 0d 3c 30 | 09 45 72 72 6f 72 0d 30 |ODES..<0|.Error.0|
|00002190| 09 53 75 63 63 65 73 73 | 0d 0d 53 45 45 20 41 4c |.Success|..SEE AL|
|000021a0| 53 4f 0d 0d 77 68 69 6c | 65 2c 20 75 6e 74 69 6c |SO..whil|e, until|
|000021b0| 0d 0d 45 58 41 4d 50 4c | 45 53 0d 0d 69 66 20 79 |..EXAMPL|ES..if y|
|000021c0| 65 73 6e 6f 20 22 53 68 | 6f 75 6c 64 20 49 20 73 |esno "Sh|ould I s|
|000021d0| 61 79 20 68 65 6c 6c 6f | 3f 22 20 74 68 65 6e 20 |ay hello|?" then |
|000021e0| 68 65 6c 6c 6f 20 65 6e | 64 69 66 0d 00 00 02 4f |hello en|dif....O|
|000021f0| 0d 4e 41 4d 45 0d 0d 65 | 6e 64 69 66 20 2d 20 63 |.NAME..e|ndif - c|
|00002200| 6f 6e 64 69 74 69 6f 6e | 61 6c 20 65 78 65 63 75 |ondition|al execu|
|00002210| 74 69 6f 6e 0d 0d 53 59 | 4e 4f 50 53 49 53 0d 0d |tion..SY|NOPSIS..|
|00002220| 69 66 20 3c 63 6f 6d 6d | 61 6e 64 73 31 3e 20 74 |if <comm|ands1> t|
|00002230| 68 65 6e 20 3c 63 6f 6d | 6d 61 6e 64 73 32 3e 20 |hen <com|mands2> |
|00002240| 5b 65 6c 73 65 20 3c 63 | 6f 6d 6d 61 6e 64 73 33 |[else <c|ommands3|
|00002250| 3e 5d 20 65 6e 64 69 66 | 0d 0d 44 45 53 43 52 49 |>] endif|..DESCRI|
|00002260| 50 54 49 4f 4e 0d 0d 49 | 66 20 74 68 65 20 72 65 |PTION..I|f the re|
|00002270| 73 75 6c 74 20 6f 66 20 | 74 68 65 20 6c 61 73 74 |sult of |the last|
|00002280| 20 63 6f 6d 6d 61 6e 64 | 20 6f 66 20 74 68 65 20 | command| of the |
|00002290| 73 65 74 20 3c 63 6f 6d | 6d 61 6e 64 73 31 3e 20 |set <com|mands1> |
|000022a0| 63 6f 6d 70 6c 65 74 65 | 73 20 77 69 74 68 6f 75 |complete|s withou|
|000022b0| 74 20 65 72 72 6f 72 20 | 28 72 65 73 75 6c 74 20 |t error |(result |
|000022c0| 3d 20 7a 65 72 6f 29 2c | 20 74 68 65 6e 20 74 68 |= zero),| then th|
|000022d0| 65 20 3c 63 6f 6d 6d 61 | 6e 64 73 32 3e 20 63 6c |e <comma|nds2> cl|
|000022e0| 61 75 73 65 20 77 69 6c | 6c 20 62 65 20 65 78 65 |ause wil|l be exe|
|000022f0| 63 75 74 65 64 2e 0d 0d | 49 66 20 74 68 65 20 72 |cuted...|If the r|
|00002300| 65 73 75 6c 74 20 6f 66 | 20 74 68 65 20 6c 61 73 |esult of| the las|
|00002310| 74 20 63 6f 6d 6d 61 6e | 64 20 6f 66 20 74 68 65 |t comman|d of the|
|00002320| 20 73 65 74 20 3c 63 6f | 6d 6d 61 6e 64 73 31 3e | set <co|mmands1>|
|00002330| 20 70 72 6f 64 75 63 65 | 73 20 61 6e 20 65 72 72 | produce|s an err|
|00002340| 6f 72 20 28 72 65 73 75 | 6c 74 20 3c 3e 20 7a 65 |or (resu|lt <> ze|
|00002350| 72 6f 29 2c 20 61 6e 64 | 20 61 6e 20 65 6c 73 65 |ro), and| an else|
|00002360| 2d 63 6c 61 75 73 65 20 | 69 73 20 70 72 65 73 65 |-clause |is prese|
|00002370| 6e 74 2c 20 74 68 61 74 | 20 63 6c 61 75 73 65 20 |nt, that| clause |
|00002380| 77 69 6c 6c 20 65 78 65 | 63 75 74 65 2e 0d 0d 46 |will exe|cute...F|
|00002390| 6c 6f 77 20 6f 66 20 63 | 6f 6e 74 72 6f 6c 20 73 |low of c|ontrol s|
|000023a0| 74 61 74 65 6d 65 6e 74 | 73 20 61 72 65 20 61 76 |tatement|s are av|
|000023b0| 61 69 6c 61 62 6c 65 20 | 69 6e 20 6e 53 68 65 6c |ailable |in nShel|
|000023c0| 6c 2d 50 72 6f 28 74 6d | 29 0d 0d 52 45 54 55 52 |l-Pro(tm|)..RETUR|
|000023d0| 4e 20 43 4f 44 45 53 0d | 0d 3c 30 09 45 72 72 6f |N CODES.|.<0.Erro|
|000023e0| 72 0d 30 09 53 75 63 63 | 65 73 73 0d 0d 53 45 45 |r.0.Succ|ess..SEE|
|000023f0| 20 41 4c 53 4f 0d 0d 77 | 68 69 6c 65 2c 20 75 6e | ALSO..w|hile, un|
|00002400| 74 69 6c 0d 0d 45 58 41 | 4d 50 4c 45 53 0d 0d 69 |til..EXA|MPLES..i|
|00002410| 66 20 79 65 73 6e 6f 20 | 22 53 68 6f 75 6c 64 20 |f yesno |"Should |
|00002420| 49 20 73 61 79 20 68 65 | 6c 6c 6f 3f 22 20 74 68 |I say he|llo?" th|
|00002430| 65 6e 20 68 65 6c 6c 6f | 20 65 6e 64 69 66 0d 00 |en hello| endif..|
|00002440| 00 02 6c 0d 4e 41 4d 45 | 0d 0d 77 68 69 6c 65 20 |..l.NAME|..while |
|00002450| 2d 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 65 78 |- condit|ional ex|
|00002460| 65 63 75 74 69 6f 6e 0d | 0d 53 59 4e 4f 50 53 49 |ecution.|.SYNOPSI|
|00002470| 53 0d 0d 77 68 69 6c 65 | 20 3c 63 6f 6d 6d 61 6e |S..while| <comman|
|00002480| 64 73 31 3e 20 64 6f 20 | 3c 63 6f 6d 6d 61 6e 64 |ds1> do |<command|
|00002490| 73 32 3e 20 64 6f 6e 65 | 0d 0d 44 45 53 43 52 49 |s2> done|..DESCRI|
|000024a0| 50 54 49 4f 4e 0d 0d 49 | 6e 20 74 68 69 73 20 73 |PTION..I|n this s|
|000024b0| 74 72 75 63 74 75 72 65 | 2c 20 74 68 65 20 3c 63 |tructure|, the <c|
|000024c0| 6f 6d 6d 61 6e 64 73 31 | 3e 20 63 6c 61 75 73 65 |ommands1|> clause|
|000024d0| 20 77 69 6c 6c 20 61 6c | 77 61 79 73 20 65 78 65 | will al|ways exe|
|000024e0| 63 75 74 65 2e 20 20 49 | 66 20 74 68 65 20 72 65 |cute. I|f the re|
|000024f0| 73 75 6c 74 20 6f 66 20 | 74 68 65 20 6c 61 73 74 |sult of |the last|
|00002500| 20 63 6f 6d 6d 61 6e 64 | 20 6f 66 20 74 68 65 20 | command| of the |
|00002510| 73 65 74 20 63 6f 6d 70 | 6c 65 74 65 73 20 77 69 |set comp|letes wi|
|00002520| 74 68 6f 75 74 20 65 72 | 72 6f 72 20 28 72 65 73 |thout er|ror (res|
|00002530| 75 6c 74 20 3d 20 7a 65 | 72 6f 29 2c 20 74 68 65 |ult = ze|ro), the|
|00002540| 6e 20 74 68 65 20 3c 63 | 6f 6d 6d 61 6e 64 73 32 |n the <c|ommands2|
|00002550| 3e 20 63 6c 61 75 73 65 | 20 77 69 6c 6c 20 62 65 |> clause| will be|
|00002560| 20 65 78 65 63 75 74 65 | 64 2e 20 20 43 6f 6e 74 | execute|d. Cont|
|00002570| 72 6f 6c 20 77 69 6c 6c | 20 74 68 65 6e 20 72 65 |rol will| then re|
|00002580| 74 75 72 6e 20 74 6f 20 | 74 68 65 20 3c 63 6f 6d |turn to |the <com|
|00002590| 6d 61 6e 64 73 31 3e 20 | 63 6c 61 75 73 65 2c 20 |mands1> |clause, |
|000025a0| 61 6e 64 20 74 68 65 20 | 70 72 6f 63 65 73 73 20 |and the |process |
|000025b0| 77 69 6c 6c 20 63 6f 6e | 74 69 6e 75 65 20 75 6e |will con|tinue un|
|000025c0| 74 69 6c 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6d |til the |last com|
|000025d0| 6d 61 6e 64 20 6f 66 20 | 74 68 69 73 20 73 65 74 |mand of |this set|
|000025e0| 20 70 72 6f 64 75 63 65 | 73 20 61 6e 20 65 72 72 | produce|s an err|
|000025f0| 6f 72 20 28 72 65 73 75 | 6c 74 20 3c 3e 20 30 29 |or (resu|lt <> 0)|
|00002600| 2e 0d 0d 46 6c 6f 77 20 | 6f 66 20 63 6f 6e 74 72 |...Flow |of contr|
|00002610| 6f 6c 20 73 74 61 74 65 | 6d 65 6e 74 73 20 61 72 |ol state|ments ar|
|00002620| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 69 6e 20 6e |e availa|ble in n|
|00002630| 53 68 65 6c 6c 2d 50 72 | 6f 28 74 6d 29 0d 0d 52 |Shell-Pr|o(tm)..R|
|00002640| 45 54 55 52 4e 20 43 4f | 44 45 53 0d 0d 3c 30 09 |ETURN CO|DES..<0.|
|00002650| 45 72 72 6f 72 0d 30 09 | 53 75 63 63 65 73 73 0d |Error.0.|Success.|
|00002660| 0d 53 45 45 20 41 4c 53 | 4f 0d 0d 75 6e 74 69 6c |.SEE ALS|O..until|
|00002670| 2c 20 69 66 0d 0d 45 58 | 41 4d 50 4c 45 53 0d 0d |, if..EX|AMPLES..|
|00002680| 77 68 69 6c 65 20 79 65 | 73 6e 6f 20 22 53 68 6f |while ye|sno "Sho|
|00002690| 75 6c 64 20 49 20 73 61 | 79 20 68 65 6c 6c 6f 3f |uld I sa|y hello?|
|000026a0| 22 20 64 6f 20 68 65 6c | 6c 6f 20 64 6f 6e 65 00 |" do hel|lo done.|
|000026b0| 00 02 74 0d 4e 41 4d 45 | 0d 0d 75 6e 74 69 6c 20 |..t.NAME|..until |
|000026c0| 2d 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 20 65 78 |- condit|ional ex|
|000026d0| 65 63 75 74 69 6f 6e 0d | 0d 53 59 4e 4f 50 53 49 |ecution.|.SYNOPSI|
|000026e0| 53 0d 0d 75 6e 74 69 6c | 20 3c 63 6f 6d 6d 61 6e |S..until| <comman|
|000026f0| 64 73 31 3e 20 64 6f 20 | 3c 63 6f 6d 6d 61 6e 64 |ds1> do |<command|
|00002700| 73 32 3e 20 64 6f 6e 65 | 0d 0d 44 45 53 43 52 49 |s2> done|..DESCRI|
|00002710| 50 54 49 4f 4e 0d 0d 49 | 6e 20 74 68 69 73 20 73 |PTION..I|n this s|
|00002720| 74 72 75 63 74 75 72 65 | 2c 20 74 68 65 20 3c 63 |tructure|, the <c|
|00002730| 6f 6d 6d 61 6e 64 73 31 | 3e 20 63 6c 61 75 73 65 |ommands1|> clause|
|00002740| 20 77 69 6c 6c 20 61 6c | 77 61 79 73 20 65 78 65 | will al|ways exe|
|00002750| 63 75 74 65 2e 20 20 49 | 66 20 74 68 65 20 72 65 |cute. I|f the re|
|00002760| 73 75 6c 74 20 6f 66 20 | 74 68 65 20 6c 61 73 74 |sult of |the last|
|00002770| 20 63 6f 6d 6d 61 6e 64 | 20 6f 66 20 74 68 65 20 | command| of the |
|00002780| 73 65 74 20 70 72 6f 64 | 75 63 65 73 20 61 6e 20 |set prod|uces an |
|00002790| 65 72 72 6f 72 20 28 72 | 65 73 75 6c 74 20 3c 3e |error (r|esult <>|
|000027a0| 20 7a 65 72 6f 29 2c 20 | 74 68 65 6e 20 74 68 65 | zero), |then the|
|000027b0| 20 3c 63 6f 6d 6d 61 6e | 64 73 32 3e 20 63 6c 61 | <comman|ds2> cla|
|000027c0| 75 73 65 20 77 69 6c 6c | 20 62 65 20 65 78 65 63 |use will| be exec|
|000027d0| 75 74 65 64 2e 20 20 43 | 6f 6e 74 72 6f 6c 20 77 |uted. C|ontrol w|
|000027e0| 69 6c 6c 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |ill then| return |
|000027f0| 74 6f 20 74 68 65 20 3c | 63 6f 6d 6d 61 6e 64 73 |to the <|commands|
|00002800| 31 3e 20 63 6c 61 75 73 | 65 2c 20 61 6e 64 20 74 |1> claus|e, and t|
|00002810| 68 65 20 70 72 6f 63 65 | 73 73 20 77 69 6c 6c 20 |he proce|ss will |
|00002820| 63 6f 6e 74 69 6e 75 65 | 20 75 6e 74 69 6c 20 74 |continue| until t|
|00002830| 68 65 20 6c 61 73 74 20 | 63 6f 6d 6d 61 6e 64 20 |he last |command |
|00002840| 6f 66 20 74 68 69 73 20 | 73 65 74 20 63 6f 6d 70 |of this |set comp|
|00002850| 6c 65 74 65 73 20 77 69 | 74 68 6f 75 74 20 65 72 |letes wi|thout er|
|00002860| 72 6f 72 20 28 72 65 73 | 75 6c 74 20 3d 20 30 29 |ror (res|ult = 0)|
|00002870| 2e 0d 0d 46 6c 6f 77 20 | 6f 66 20 63 6f 6e 74 72 |...Flow |of contr|
|00002880| 6f 6c 20 73 74 61 74 65 | 6d 65 6e 74 73 20 61 72 |ol state|ments ar|
|00002890| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 69 6e 20 6e |e availa|ble in n|
|000028a0| 53 68 65 6c 6c 2d 50 72 | 6f 28 74 6d 29 0d 0d 52 |Shell-Pr|o(tm)..R|
|000028b0| 45 54 55 52 4e 20 43 4f | 44 45 53 0d 0d 3c 30 09 |ETURN CO|DES..<0.|
|000028c0| 45 72 72 6f 72 0d 30 09 | 53 75 63 63 65 73 73 0d |Error.0.|Success.|
|000028d0| 0d 53 45 45 20 41 4c 53 | 4f 0d 0d 77 68 69 6c 65 |.SEE ALS|O..while|
|000028e0| 2c 20 69 66 0d 0d 45 58 | 41 4d 50 4c 45 53 0d 0d |, if..EX|AMPLES..|
|000028f0| 75 6e 74 69 6c 20 79 65 | 73 6e 6f 20 22 53 68 6f |until ye|sno "Sho|
|00002900| 75 6c 64 20 49 20 53 54 | 4f 50 20 73 61 79 69 6e |uld I ST|OP sayin|
|00002910| 67 20 68 65 6c 6c 6f 3f | 22 20 64 6f 20 68 65 6c |g hello?|" do hel|
|00002920| 6c 6f 20 64 6f 6e 65 00 | 00 00 ca 0d 4e 41 4d 45 |lo done.|....NAME|
|00002930| 0d 0d 64 6f 20 2d 20 63 | 6f 6e 64 69 74 69 6f 6e |..do - c|ondition|
|00002940| 61 6c 20 65 78 65 63 75 | 74 69 6f 6e 0d 0d 53 59 |al execu|tion..SY|
|00002950| 4e 4f 50 53 49 53 0d 0d | 77 68 69 6c 65 20 3c 63 |NOPSIS..|while <c|
|00002960| 6f 6d 6d 61 6e 64 73 31 | 3e 20 64 6f 20 3c 63 6f |ommands1|> do <co|
|00002970| 6d 6d 61 6e 64 73 32 3e | 20 64 6f 6e 65 0d 0d 6f |mmands2>| done..o|
|00002980| 72 0d 0d 75 6e 74 69 6c | 20 3c 63 6f 6d 6d 61 6e |r..until| <comman|
|00002990| 64 73 31 3e 20 64 6f 20 | 3c 63 6f 6d 6d 61 6e 64 |ds1> do |<command|
|000029a0| 73 32 3e 20 64 6f 6e 65 | 0d 0d 44 45 53 43 52 49 |s2> done|..DESCRI|
|000029b0| 50 54 49 4f 4e 0d 0d 53 | 65 65 20 74 68 65 20 6d |PTION..S|ee the m|
|000029c0| 61 6e 20 70 61 67 65 20 | 66 6f 72 20 22 77 68 69 |an page |for "whi|
|000029d0| 6c 65 22 20 6f 72 20 22 | 75 6e 74 69 6c 22 20 66 |le" or "|until" f|
|000029e0| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|000029f0| 69 6f 6e 2e 0d 00 00 00 | cc 0d 4e 41 4d 45 0d 0d |ion.....|..NAME..|
|00002a00| 64 6f 6e 65 20 2d 20 63 | 6f 6e 64 69 74 69 6f 6e |done - c|ondition|
|00002a10| 61 6c 20 65 78 65 63 75 | 74 69 6f 6e 0d 0d 53 59 |al execu|tion..SY|
|00002a20| 4e 4f 50 53 49 53 0d 0d | 77 68 69 6c 65 20 3c 63 |NOPSIS..|while <c|
|00002a30| 6f 6d 6d 61 6e 64 73 31 | 3e 20 64 6f 20 3c 63 6f |ommands1|> do <co|
|00002a40| 6d 6d 61 6e 64 73 32 3e | 20 64 6f 6e 65 0d 0d 6f |mmands2>| done..o|
|00002a50| 72 0d 0d 75 6e 74 69 6c | 20 3c 63 6f 6d 6d 61 6e |r..until| <comman|
|00002a60| 64 73 31 3e 20 64 6f 20 | 3c 63 6f 6d 6d 61 6e 64 |ds1> do |<command|
|00002a70| 73 32 3e 20 64 6f 6e 65 | 0d 0d 44 45 53 43 52 49 |s2> done|..DESCRI|
|00002a80| 50 54 49 4f 4e 0d 0d 53 | 65 65 20 74 68 65 20 6d |PTION..S|ee the m|
|00002a90| 61 6e 20 70 61 67 65 20 | 66 6f 72 20 22 77 68 69 |an page |for "whi|
|00002aa0| 6c 65 22 20 6f 72 20 22 | 75 6e 74 69 6c 22 20 66 |le" or "|until" f|
|00002ab0| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00002ac0| 69 6f 6e 2e 0d 00 00 01 | e0 0d 4e 41 4d 45 0d 0d |ion.....|..NAME..|
|00002ad0| 65 78 69 74 20 2d 20 65 | 78 69 74 20 73 63 72 69 |exit - e|xit scri|
|00002ae0| 70 74 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 65 78 |pt..SYNO|PSIS..ex|
|00002af0| 69 74 20 5b 72 65 74 75 | 72 6e 20 63 6f 64 65 5d |it [retu|rn code]|
|00002b00| 0d 0d 44 45 53 43 52 49 | 50 54 49 4f 4e 0d 0d 54 |..DESCRI|PTION..T|
|00002b10| 68 65 20 22 65 78 69 74 | 22 20 63 6f 6d 6d 61 6e |he "exit|" comman|
|00002b20| 64 20 63 61 75 73 65 73 | 20 61 6e 20 69 6d 6d 65 |d causes| an imme|
|00002b30| 64 69 61 74 65 20 72 65 | 74 75 72 6e 20 66 72 6f |diate re|turn fro|
|00002b40| 6d 20 61 20 73 63 72 69 | 70 74 2e 20 20 41 6e 20 |m a scri|pt. An |
|00002b50| 69 6e 74 65 67 65 72 20 | 72 65 74 75 72 6e 20 63 |integer |return c|
|00002b60| 6f 64 65 20 6d 61 79 20 | 62 65 20 73 65 74 20 61 |ode may |be set a|
|00002b70| 6e 64 20 6c 61 74 65 72 | 20 61 63 63 65 73 73 65 |nd later| accesse|
|00002b80| 64 20 75 73 69 6e 67 20 | 74 68 65 20 24 3f 20 70 |d using |the $? p|
|00002b90| 73 65 75 64 6f 20 76 61 | 72 69 61 62 6c 65 2e 20 |seudo va|riable. |
|00002ba0| 20 57 68 65 6e 20 6e 6f | 20 70 61 72 61 6d 65 74 | When no| paramet|
|00002bb0| 65 72 20 69 73 20 67 69 | 76 65 6e 2c 20 61 20 63 |er is gi|ven, a c|
|00002bc0| 6f 64 65 20 6f 66 20 30 | 20 69 73 20 72 65 74 75 |ode of 0| is retu|
|00002bd0| 72 6e 65 64 2e 0d 0d 57 | 68 65 6e 20 74 68 65 20 |rned...W|hen the |
|00002be0| 22 65 78 69 74 22 20 63 | 6f 6d 6d 61 6e 64 20 69 |"exit" c|ommand i|
|00002bf0| 73 20 75 73 65 64 20 6f | 6e 20 74 68 65 20 63 6f |s used o|n the co|
|00002c00| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2c 20 69 74 20 63 |mmand li|ne, it c|
|00002c10| 61 6e 63 65 6c 73 20 61 | 6c 6c 20 70 72 6f 63 65 |ancels a|ll proce|
|00002c20| 73 73 69 6e 67 20 61 6e | 64 20 73 65 74 73 20 74 |ssing an|d sets t|
|00002c30| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 72 65 74 |he speci|fied ret|
|00002c40| 75 72 6e 20 63 6f 64 65 | 2e 0d 0d 45 58 41 4d 50 |urn code|...EXAMP|
|00002c50| 4c 45 53 0d 0d 23 0d 23 | 20 74 65 73 74 20 75 73 |LES..#.#| test us|
|00002c60| 61 67 65 0d 23 0d 69 66 | 20 2e 6e 65 2e 20 24 23 |age.#.if| .ne. $#|
|00002c70| 20 32 20 74 68 65 6e 0d | 20 20 20 20 65 63 68 6f | 2 then.| echo|
|00002c80| 20 22 55 73 61 67 65 3a | 20 63 6d 64 20 66 69 6c | "Usage:| cmd fil|
|00002c90| 65 6e 61 6d 65 22 0d 20 | 20 20 20 65 78 69 74 20 |ename". | exit |
|00002ca0| 2d 31 0d 65 6e 64 69 66 | 0d 00 00 02 55 0d 4e 41 |-1.endif|....U.NA|
|00002cb0| 4d 45 0d 0d 65 78 70 6f | 72 74 20 2d 20 65 78 70 |ME..expo|rt - exp|
|00002cc0| 6f 72 74 20 61 20 73 68 | 65 6c 6c 20 76 61 72 69 |ort a sh|ell vari|
|00002cd0| 61 62 6c 65 20 66 72 6f | 6d 20 61 20 73 63 72 69 |able fro|m a scri|
|00002ce0| 70 74 0d 0d 53 59 4e 4f | 50 53 49 53 0d 0d 65 78 |pt..SYNO|PSIS..ex|
|00002cf0| 70 6f 72 74 20 76 61 72 | 69 61 62 6c 65 5f 6e 61 |port var|iable_na|
|00002d00| 6d 65 0d 0d 44 45 53 43 | 52 49 50 54 49 4f 4e 0d |me..DESC|RIPTION.|
|00002d10| 0d 54 68 65 20 22 65 78 | 70 6f 72 74 22 20 63 6f |.The "ex|port" co|
|00002d20| 6d 6d 61 6e 64 20 63 6f | 70 69 65 73 20 61 20 73 |mmand co|pies a s|
|00002d30| 68 65 6c 6c 20 76 61 72 | 69 61 62 6c 65 20 66 72 |hell var|iable fr|
|00002d40| 6f 6d 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |om the c|urrent s|
|00002d50| 63 72 69 70 74 20 65 6e | 76 69 72 6f 6e 6d 65 6e |cript en|vironmen|
|00002d60| 74 20 74 6f 20 74 68 61 | 74 20 6f 66 20 74 68 65 |t to tha|t of the|
|00002d70| 20 70 61 72 65 6e 74 2e | 20 20 54 68 65 20 22 65 | parent.| The "e|
|00002d80| 78 70 6f 72 74 22 20 6f | 70 65 72 61 74 69 6f 6e |xport" o|peration|
|00002d90| 20 63 6f 70 69 65 73 20 | 76 61 72 69 61 62 6c 65 | copies |variable|
|00002da0| 73 20 75 70 20 61 20 73 | 69 6e 67 6c 65 20 6c 65 |s up a s|ingle le|
|00002db0| 76 65 6c 2e 20 20 54 6f | 20 65 78 70 6f 72 74 20 |vel. To| export |
|00002dc0| 76 61 72 69 61 62 6c 65 | 73 20 66 72 6f 6d 20 6e |variable|s from n|
|00002dd0| 65 73 74 65 64 20 73 63 | 72 69 70 74 73 2c 20 61 |ested sc|ripts, a|
|00002de0| 20 73 65 72 69 65 73 20 | 6f 66 20 22 65 78 70 6f | series |of "expo|
|00002df0| 72 74 22 20 63 6f 6d 6d | 61 6e 64 73 20 77 6f 75 |rt" comm|ands wou|
|00002e00| 6c 64 20 62 65 20 72 65 | 71 75 69 72 65 64 2e 0d |ld be re|quired..|
|00002e10| 0d 54 68 65 20 22 65 78 | 70 6f 72 74 22 20 63 6f |.The "ex|port" co|
|00002e20| 6d 6d 61 6e 64 20 73 68 | 6f 75 6c 64 20 6f 6e 6c |mmand sh|ould onl|
|00002e30| 79 20 62 65 20 75 73 65 | 64 20 66 72 6f 6d 20 77 |y be use|d from w|
|00002e40| 69 74 68 69 6e 20 73 63 | 72 69 70 74 73 2c 20 61 |ithin sc|ripts, a|
|00002e50| 6e 64 20 66 61 69 6c 73 | 20 77 68 65 6e 20 74 79 |nd fails| when ty|
|00002e60| 70 65 64 20 64 69 72 65 | 63 74 6c 79 20 6f 6e 20 |ped dire|ctly on |
|00002e70| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00002e80| 2e 0d 0d 45 58 41 4d 50 | 4c 45 53 0d 0d 23 0d 23 |...EXAMP|LES..#.#|
|00002e90| 20 73 65 74 20 74 68 65 | 20 77 6f 72 6b 69 6e 67 | set the| working|
|00002ea0| 20 64 69 72 65 63 74 6f | 72 79 20 61 6e 64 20 65 | directo|ry and e|
|00002eb0| 78 70 6f 72 74 20 74 68 | 65 20 63 6f 72 72 65 73 |xport th|e corres|
|00002ec0| 70 6f 6e 64 69 6e 67 20 | 76 61 72 69 61 62 6c 65 |ponding |variable|
|00002ed0| 0d 23 0d 63 64 20 22 6d | 79 20 64 69 73 6b 3a 6d |.#.cd "m|y disk:m|
|00002ee0| 79 20 66 61 76 6f 72 69 | 74 65 20 74 6f 6f 6c 73 |y favori|te tools|
|00002ef0| 3a 74 6f 6f 6c 73 22 0d | 65 78 70 6f 72 74 20 50 |:tools".|export P|
|00002f00| 57 44 00 00 01 00 00 00 | 2e b0 00 00 2d b0 00 00 |WD......|....-...|
|00002f10| 02 a7 00 52 78 dc 0c 7e | 00 00 00 1c 01 4a 00 02 |...Rx..~|.....J..|
|00002f20| 4e 53 48 43 00 00 00 1a | 76 65 72 73 00 01 00 26 |NSHC....|vers...&|
|00002f30| 54 45 58 54 00 13 00 3e | 3e 80 00 00 20 00 00 00 |TEXT...>|>... ...|
|00002f40| 00 52 78 e4 00 01 ff ff | 00 00 06 6e 00 52 77 5c |.Rx.....|...n.Rw\|
|00002f50| 00 02 ff ff 00 00 06 a9 | 00 00 00 00 3e 80 00 08 |........|....>...|
|00002f60| 00 00 06 d4 00 52 77 40 | 3e 8a 00 18 00 00 08 db |.....Rw@|>.......|
|00002f70| 00 00 00 00 3e 94 00 2a | 00 00 09 fb 00 00 00 00 |....>..*|........|
|00002f80| 3e 9e 00 3a 00 00 0c 33 | 00 00 00 00 3e a8 00 4c |>..:...3|....>..L|
|00002f90| 00 00 0d 9b 00 00 00 00 | 3e d0 00 5c 00 00 0f 6f |........|>..\...o|
|00002fa0| 00 00 00 00 3e da 00 70 | 00 00 11 4b 00 00 00 00 |....>..p|...K....|
|00002fb0| 3e c6 00 82 00 00 13 93 | 00 00 00 00 3e bc 00 93 |>.......|....>...|
|00002fc0| 00 00 16 78 00 00 00 00 | 3e b2 00 a3 00 00 17 73 |...x....|>......s|
|00002fd0| 00 00 00 00 3f 02 00 b2 | 00 00 19 a7 00 00 00 00 |....?...|........|
|00002fe0| 3e f8 00 c3 00 00 1b f9 | 00 00 00 00 3f 0c 00 d2 |>.......|....?...|
|00002ff0| 00 00 1e 48 00 00 00 00 | 3f 16 00 e3 00 00 20 9a |...H....|?..... .|
|00003000| 00 00 00 00 3f 20 00 f5 | 00 00 22 ed 00 00 00 00 |....? ..|..".....|
|00003010| 3f 2a 01 07 00 00 25 5d | 00 00 00 00 3f 34 01 19 |?*....%]|....?4..|
|00003020| 00 00 27 d5 00 00 00 00 | 3f 3e 01 28 00 00 28 a3 |..'.....|?>.(..(.|
|00003030| 00 00 00 00 3e e4 01 39 | 00 00 29 73 00 00 00 00 |....>..9|..)s....|
|00003040| 3e ee 01 4a 00 00 2b 57 | 00 00 00 00 07 63 6f 6d |>..J..+W|.....com|
|00003050| 6d 61 6e 64 0f 6d 61 6e | 20 6d 61 6e 20 67 65 6e |mand.man| man gen|
|00003060| 65 72 61 6c 11 6d 61 6e | 20 6d 61 6e 20 72 65 73 |eral.man| man res|
|00003070| 6f 75 72 63 65 73 0f 6d | 61 6e 20 73 65 74 20 67 |ources.m|an set g|
|00003080| 65 6e 65 72 61 6c 11 6d | 61 6e 20 75 6e 73 65 74 |eneral.m|an unset|
|00003090| 20 67 65 6e 65 72 61 6c | 0f 6d 61 6e 20 65 6e 76 | general|.man env|
|000030a0| 20 67 65 6e 65 72 61 6c | 13 6d 61 6e 20 70 61 74 | general|.man pat|
|000030b0| 68 63 68 6b 20 67 65 6e | 65 72 61 6c 11 6d 61 6e |hchk gen|eral.man|
|000030c0| 20 77 68 69 63 68 20 67 | 65 6e 65 72 61 6c 10 6d | which g|eneral.m|
|000030d0| 61 6e 20 70 61 74 68 20 | 67 65 6e 65 72 61 6c 0f |an path |general.|
|000030e0| 6d 61 6e 20 70 77 64 20 | 67 65 6e 65 72 61 6c 0e |man pwd |general.|
|000030f0| 6d 61 6e 20 63 64 20 67 | 65 6e 65 72 61 6c 10 6d |man cd g|eneral.m|
|00003100| 61 6e 20 74 68 65 6e 20 | 67 65 6e 65 72 61 6c 0e |an then |general.|
|00003110| 6d 61 6e 20 69 66 20 67 | 65 6e 65 72 61 6c 10 6d |man if g|eneral.m|
|00003120| 61 6e 20 65 6c 73 65 20 | 67 65 6e 65 72 61 6c 11 |an else |general.|
|00003130| 6d 61 6e 20 65 6e 64 69 | 66 20 67 65 6e 65 72 61 |man endi|f genera|
|00003140| 6c 11 6d 61 6e 20 77 68 | 69 6c 65 20 67 65 6e 65 |l.man wh|ile gene|
|00003150| 72 61 6c 11 6d 61 6e 20 | 75 6e 74 69 6c 20 67 65 |ral.man |until ge|
|00003160| 6e 65 72 61 6c 0e 6d 61 | 6e 20 64 6f 20 67 65 6e |neral.ma|n do gen|
|00003170| 65 72 61 6c 10 6d 61 6e | 20 64 6f 6e 65 20 67 65 |eral.man| done ge|
|00003180| 6e 65 72 61 6c 10 6d 61 | 6e 20 65 78 69 74 20 67 |neral.ma|n exit g|
|00003190| 65 6e 65 72 61 6c 12 6d | 61 6e 20 65 78 70 6f 72 |eneral.m|an expor|
|000031a0| 74 20 67 65 6e 65 72 61 | 6c |t genera|l |
+--------+-------------------------+-------------------------+--------+--------+