home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / unix_c / utils / field.tar < prev    next >
Tape Archive  |  1989-03-04  |  16.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: field.tar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file tar archive default
99% file tar archive (V7), file field/, mode 755 , uid 243 , gid 12 , size 0 , seconds 4404100523 default
98% file data default
100% TrID Sybase iAnywhere database files default (weak)
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype Pre-POSIX tar archive default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 66 69 65 6c 64 2f 00 00 | 00 00 00 00 00 00 00 00 |field/..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00000070| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 34 34 30 34 31 30 30 | 0 | 4404100|
|00000090| 35 32 33 20 20 20 35 30 | 36 37 00 20 00 00 00 00 |523 50|67. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 66 69 65 6c 64 2f 53 68 | 61 72 46 69 6c 65 2e 48 |field/Sh|arFile.H|
|00000210| 65 61 64 65 72 73 00 00 | 00 00 00 00 00 00 00 00 |eaders..|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00000270| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000280| 20 20 20 32 31 34 36 20 | 20 34 34 30 34 31 30 30 | 2146 | 4404100|
|00000290| 35 32 34 20 20 31 30 31 | 35 32 00 20 00 00 00 00 |524 101|52. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3d 3d 3d 20 66 69 65 6c | 64 2e 73 68 61 72 20 3d |=== fiel|d.shar =|
|00000410| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000420| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 32 35 2d 4a 75 6c 2d |========|.25-Jul-|
|00000430| 38 35 20 30 39 3a 30 33 | 3a 30 39 2d 4d 44 54 2c |85 09:03|:09-MDT,|
|00000440| 35 36 37 30 3b 30 30 30 | 30 30 30 30 30 30 30 30 |5670;000|00000000|
|00000450| 31 0a 52 65 74 75 72 6e | 2d 50 61 74 68 3a 20 3c |1.Return|-Path: <|
|00000460| 75 6e 69 78 2d 73 6f 75 | 72 63 65 73 2d 72 65 71 |unix-sou|rces-req|
|00000470| 75 65 73 74 40 42 52 4c | 2e 41 52 50 41 3e 0a 52 |uest@BRL|.ARPA>.R|
|00000480| 65 63 65 69 76 65 64 3a | 20 66 72 6f 6d 20 42 52 |eceived:| from BR|
|00000490| 4c 2d 54 47 52 2e 41 52 | 50 41 20 62 79 20 53 49 |L-TGR.AR|PA by SI|
|000004a0| 4d 54 45 4c 32 30 2e 41 | 52 50 41 20 77 69 74 68 |MTEL20.A|RPA with|
|000004b0| 20 54 43 50 3b 20 54 68 | 75 20 32 35 20 4a 75 6c | TCP; Th|u 25 Jul|
|000004c0| 20 38 35 20 30 39 3a 30 | 31 3a 34 35 2d 4d 44 54 | 85 09:0|1:45-MDT|
|000004d0| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|000004e0| 75 73 65 6e 65 74 20 62 | 79 20 54 47 52 2e 42 52 |usenet b|y TGR.BR|
|000004f0| 4c 2e 41 52 50 41 20 69 | 64 20 61 30 32 32 37 34 |L.ARPA i|d a02274|
|00000500| 35 3b 20 32 35 20 4a 75 | 6c 20 38 35 20 31 30 3a |5; 25 Ju|l 85 10:|
|00000510| 30 32 20 45 44 54 0a 46 | 72 6f 6d 3a 20 42 69 6c |02 EDT.F|rom: Bil|
|00000520| 6c 20 53 69 6c 76 65 72 | 74 20 3c 73 69 6c 76 65 |l Silver|t <silve|
|00000530| 72 74 40 64 61 6c 63 73 | 2e 75 75 63 70 3e 0a 4e |rt@dalcs|.uucp>.N|
|00000540| 65 77 73 67 72 6f 75 70 | 73 3a 20 6e 65 74 2e 73 |ewsgroup|s: net.s|
|00000550| 6f 75 72 63 65 73 0a 53 | 75 62 6a 65 63 74 3a 20 |ources.S|ubject: |
|00000560| 66 69 65 6c 64 20 72 65 | 76 69 73 69 74 65 64 0a |field re|visited.|
|00000570| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 31 35 34 |Message-|ID: <154|
|00000580| 38 40 64 61 6c 63 73 2e | 55 55 43 50 3e 0a 44 61 |8@dalcs.|UUCP>.Da|
|00000590| 74 65 3a 20 32 35 20 4a | 75 6c 20 38 35 20 30 32 |te: 25 J|ul 85 02|
|000005a0| 3a 35 39 3a 30 38 20 47 | 4d 54 0a 54 6f 3a 20 20 |:59:08 G|MT.To: |
|000005b0| 20 20 20 20 20 75 6e 69 | 78 2d 73 6f 75 72 63 65 | uni|x-source|
|000005c0| 73 40 42 52 4c 2d 54 47 | 52 2e 41 52 50 41 0a 0a |s@BRL-TG|R.ARPA..|
|000005d0| 48 65 72 65 20 69 73 20 | 61 20 72 65 70 6f 73 74 |Here is |a repost|
|000005e0| 69 6e 67 20 6f 66 20 53 | 74 65 76 65 20 42 6f 75 |ing of S|teve Bou|
|000005f0| 72 6e 65 27 73 20 66 69 | 65 6c 64 20 70 72 6f 67 |rne's fi|eld prog|
|00000600| 72 61 6d 20 66 72 6f 6d | 20 68 69 73 20 62 6f 6f |ram from| his boo|
|00000610| 6b 2e 20 20 49 0a 68 61 | 76 65 20 6d 61 64 65 20 |k. I.ha|ve made |
|00000620| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 65 6e 68 61 |a number| of enha|
|00000630| 6e 63 65 6d 65 6e 74 73 | 20 28 6d 61 69 6e 6c 79 |ncements| (mainly|
|00000640| 20 61 20 63 68 61 6e 67 | 65 61 62 6c 65 20 66 69 | a chang|eable fi|
|00000650| 65 6c 64 20 73 65 70 61 | 72 61 74 6f 72 29 0a 61 |eld sepa|rator).a|
|00000660| 6e 64 20 61 64 64 65 64 | 20 61 6e 20 65 78 70 61 |nd added| an expa|
|00000670| 6e 64 65 64 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |nded ver|sion of |
|00000680| 68 69 73 20 6d 61 6e 75 | 61 6c 20 65 6e 74 72 79 |his manu|al entry|
|00000690| 2e 20 20 41 6c 73 6f 20 | 69 6e 63 6c 75 64 65 64 |. Also |included|
|000006a0| 20 61 72 65 0a 74 77 6f | 20 73 61 6d 70 6c 65 20 | are.two| sample |
|000006b0| 70 72 6f 67 72 61 6d 73 | 2c 20 61 20 70 72 69 6d |programs|, a prim|
|000006c0| 69 74 69 76 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |itive im|plementa|
|000006d0| 74 69 6f 6e 20 6f 66 20 | 66 69 6e 67 65 72 20 66 |tion of |finger f|
|000006e0| 6f 72 20 74 68 6f 73 65 | 20 6f 66 0a 75 73 20 77 |or those| of.us w|
|000006f0| 69 74 68 6f 75 74 20 74 | 68 65 20 72 65 61 6c 20 |ithout t|he real |
|00000700| 74 68 69 6e 67 2c 20 61 | 6e 64 20 61 20 70 72 6f |thing, a|nd a pro|
|00000710| 67 72 61 6d 20 74 6f 20 | 63 68 65 63 6b 20 66 6f |gram to |check fo|
|00000720| 72 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 65 |r change|s to the|
|00000730| 0a 70 61 73 73 77 6f 72 | 64 20 66 69 6c 65 20 28 |.passwor|d file (|
|00000740| 66 69 65 6c 64 20 73 6b | 69 70 73 20 74 68 65 20 |field sk|ips the |
|00000750| 70 61 73 73 77 6f 72 64 | 20 69 74 73 65 6c 66 2c |password| itself,|
|00000760| 20 73 6f 20 6f 6e 6c 79 | 20 73 75 62 73 74 61 6e | so only| substan|
|00000770| 74 69 76 65 0a 63 68 61 | 6e 67 65 73 20 61 72 65 |tive.cha|nges are|
|00000780| 20 6e 6f 74 65 64 29 2e | 0a 0a 54 68 69 73 20 69 | noted).|..This i|
|00000790| 73 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 63 75 74 |s simila|r to cut|
|000007a0| 2c 20 66 6f 75 6e 64 20 | 6f 6e 20 56 65 72 2e 20 |, found |on Ver. |
|000007b0| 49 49 49 20 61 6e 64 20 | 56 2c 20 62 75 74 20 63 |III and |V, but c|
|000007c0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 0a 63 68 |an be us|ed to.ch|
|000007d0| 61 6e 67 65 20 74 68 65 | 20 6f 72 64 65 72 20 6f |ange the| order o|
|000007e0| 66 20 66 69 65 6c 64 73 | 20 77 68 69 63 68 20 63 |f fields| which c|
|000007f0| 75 74 20 64 6f 65 73 6e | 27 74 2e 20 20 49 20 75 |ut doesn|'t. I u|
|00000800| 73 65 20 66 69 65 6c 64 | 20 61 20 6c 6f 74 20 6f |se field| a lot o|
|00000810| 6e 0a 74 61 62 2d 73 65 | 70 61 72 61 74 65 64 20 |n.tab-se|parated |
|00000820| 64 61 74 61 20 66 69 6c | 65 73 2e 0a 2d 2d 2d 2d |data fil|es..----|
|00000830| 2d 63 75 74 20 68 65 72 | 65 2d 2d 2d 2d 2d 63 75 |-cut her|e-----cu|
|00000840| 74 20 68 65 72 65 2d 2d | 2d 2d 2d 63 75 74 20 68 |t here--|---cut h|
|00000850| 65 72 65 2d 2d 2d 2d 2d | 63 75 74 20 68 65 72 65 |ere-----|cut here|
|00000860| 2d 2d 2d 2d 2d 0a 00 00 | 00 00 00 00 00 00 00 00 |-----...|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 66 69 65 6c 64 2f 66 69 | 65 6c 64 2e 31 4c 00 00 |field/fi|eld.1L..|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00000a70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00000a80| 20 20 20 31 37 34 36 20 | 20 34 34 30 34 31 30 30 | 1746 | 4404100|
|00000a90| 35 32 31 20 20 20 36 34 | 34 33 00 20 00 00 00 00 |521 64|43. ....|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 2e 54 48 20 46 49 45 4c | 44 20 31 4c 0a 2e 53 48 |.TH FIEL|D 1L..SH|
|00000c10| 20 4e 41 4d 45 0a 66 69 | 65 6c 64 20 5c 2d 20 73 | NAME.fi|eld \- s|
|00000c20| 65 6c 65 63 74 20 66 69 | 65 6c 64 73 20 6f 72 20 |elect fi|elds or |
|00000c30| 63 6f 6c 75 6d 6e 73 20 | 66 72 6f 6d 20 61 20 66 |columns |from a f|
|00000c40| 69 6c 65 0a 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |ile..SH |SYNOPSIS|
|00000c50| 0a 2e 42 20 66 69 65 6c | 64 20 0a 5b 2d 74 63 5d |..B fiel|d .[-tc]|
|00000c60| 0a 5b 2d 54 63 5d 0a 5b | 20 6e 20 5d 20 2e 2e 2e |.[-Tc].[| n ] ...|
|00000c70| 0a 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |..SH DES|CRIPTION|
|00000c80| 0a 54 68 65 0a 2e 49 20 | 66 69 65 6c 64 20 0a 63 |.The..I |field .c|
|00000c90| 6f 6d 6d 61 6e 64 20 63 | 6f 70 69 65 73 20 73 65 |ommand c|opies se|
|00000ca0| 6c 65 63 74 65 64 2c 20 | 64 65 6c 69 6d 69 74 65 |lected, |delimite|
|00000cb0| 72 2d 73 65 70 61 72 61 | 74 65 64 20 66 69 65 6c |r-separa|ted fiel|
|00000cc0| 64 73 20 66 72 6f 6d 20 | 0a 74 68 65 20 73 74 61 |ds from |.the sta|
|00000cd0| 6e 64 61 72 64 20 69 6e | 70 75 74 20 74 6f 20 74 |ndard in|put to t|
|00000ce0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 6f 75 74 70 |he stand|ard outp|
|00000cf0| 75 74 2e 20 46 69 65 6c | 64 73 20 61 72 65 0a 6e |ut. Fiel|ds are.n|
|00000d00| 75 6d 62 65 72 65 64 20 | 66 72 6f 6d 20 31 20 61 |umbered |from 1 a|
|00000d10| 6e 64 20 61 20 66 69 65 | 6c 64 20 6d 61 79 20 62 |nd a fie|ld may b|
|00000d20| 65 20 72 65 71 75 65 73 | 74 65 64 20 6d 6f 72 65 |e reques|ted more|
|00000d30| 20 74 68 61 6e 20 6f 6e | 63 65 2e 0a 2e 50 50 0a | than on|ce...PP.|
|00000d40| 54 68 65 20 64 65 66 61 | 75 6c 74 20 64 65 6c 69 |The defa|ult deli|
|00000d50| 6d 69 74 65 72 20 69 73 | 20 61 20 74 61 62 2e 0a |miter is| a tab..|
|00000d60| 54 68 69 73 20 63 61 6e | 20 62 65 20 63 68 61 6e |This can| be chan|
|00000d70| 67 65 64 20 74 6f 20 63 | 68 61 72 61 63 74 65 72 |ged to c|haracter|
|00000d80| 0a 2e 49 20 63 0a 77 69 | 74 68 20 74 68 65 20 6f |..I c.wi|th the o|
|00000d90| 70 74 69 6f 6e 20 2d 74 | 5c 63 0a 2e 49 20 63 20 |ption -t|\c..I c |
|00000da0| 2e 0a 49 66 20 74 68 65 | 20 66 6f 72 6d 20 2d 54 |..If the| form -T|
|00000db0| 5c 63 0a 2e 49 20 63 0a | 69 73 20 75 73 65 64 2c |\c..I c.|is used,|
|00000dc0| 20 74 68 65 20 64 65 6c | 69 6d 69 74 65 72 0a 2e | the del|imiter..|
|00000dd0| 49 20 63 0a 69 73 20 75 | 73 65 64 20 6f 6e 20 69 |I c.is u|sed on i|
|00000de0| 6e 70 75 74 2c 20 62 75 | 74 20 74 68 65 20 6f 75 |nput, bu|t the ou|
|00000df0| 74 70 75 74 20 69 73 20 | 73 74 69 6c 6c 20 73 65 |tput is |still se|
|00000e00| 70 61 72 61 74 65 64 20 | 62 79 20 74 61 62 73 2e |parated |by tabs.|
|00000e10| 0a 2e 53 48 20 45 58 41 | 4d 50 4c 45 0a 54 68 65 |..SH EXA|MPLE.The|
|00000e20| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6d 6d 61 | followi|ng comma|
|00000e30| 6e 64 20 65 78 74 72 61 | 63 74 73 20 74 68 65 20 |nd extra|cts the |
|00000e40| 6c 6f 67 69 6e 20 6e 61 | 6d 65 73 2c 20 75 73 65 |login na|mes, use|
|00000e50| 72 20 61 6e 64 20 67 72 | 6f 75 70 20 6e 75 6d 62 |r and gr|oup numb|
|00000e60| 65 72 73 0a 66 72 6f 6d | 20 74 68 65 20 70 61 73 |ers.from| the pas|
|00000e70| 73 77 6f 72 64 20 66 69 | 6c 65 3a 0a 2e 50 50 0a |sword fi|le:..PP.|
|00000e80| 66 69 65 6c 64 20 2d 74 | 3a 20 31 20 33 20 34 20 |field -t|: 1 3 4 |
|00000e90| 3c 2f 65 74 63 2f 70 61 | 73 73 77 64 0a 2e 53 48 |</etc/pa|sswd..SH|
|00000ea0| 20 53 45 45 20 41 4c 53 | 4f 0a 2e 49 20 43 75 74 | SEE ALS|O..I Cut|
|00000eb0| 20 2c 0a 77 68 69 63 68 | 20 69 73 20 61 76 61 69 | ,.which| is avai|
|00000ec0| 6c 61 62 6c 65 20 6f 6e | 20 53 79 73 74 65 6d 20 |lable on| System |
|00000ed0| 56 2e 0a 54 68 65 72 65 | 20 69 73 20 61 20 76 65 |V..There| is a ve|
|00000ee0| 72 73 69 6f 6e 20 6f 66 | 0a 2e 49 20 63 75 74 0a |rsion of|..I cut.|
|00000ef0| 6f 6e 20 74 68 69 73 20 | 73 79 73 74 65 6d 2c 20 |on this |system, |
|00000f00| 62 75 74 20 6e 6f 20 6d | 61 6e 75 61 6c 20 65 6e |but no m|anual en|
|00000f10| 74 72 79 20 79 65 74 2e | 0a 2e 53 48 20 42 55 47 |try yet.|..SH BUG|
|00000f20| 53 0a 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |S.The nu|mber of |
|00000f30| 69 6e 70 75 74 20 6f 72 | 20 6f 75 74 70 75 74 20 |input or| output |
|00000f40| 66 69 65 6c 64 73 20 6d | 61 79 20 6e 6f 74 20 65 |fields m|ay not e|
|00000f50| 78 63 65 65 64 20 32 35 | 36 20 61 6e 64 0a 74 68 |xceed 25|6 and.th|
|00000f60| 65 20 6d 61 78 69 6d 75 | 6d 20 6c 69 6e 65 20 6c |e maximu|m line l|
|00000f70| 65 6e 67 74 68 20 69 73 | 20 34 30 39 36 20 63 68 |ength is| 4096 ch|
|00000f80| 61 72 61 63 74 65 72 73 | 2e 0a 2e 53 48 20 41 55 |aracters|...SH AU|
|00000f90| 54 48 4f 52 53 0a 54 61 | 6b 65 6e 20 66 72 6f 6d |THORS.Ta|ken from|
|00000fa0| 20 22 54 68 65 20 55 6e | 69 78 20 53 79 73 74 65 | "The Un|ix Syste|
|00000fb0| 6d 22 20 62 79 20 53 2e | 20 52 2e 20 42 6f 75 72 |m" by S.| R. Bour|
|00000fc0| 6e 65 2e 0a 4d 6f 64 69 | 66 69 63 61 74 69 6f 6e |ne..Modi|fication|
|00000fd0| 73 20 62 79 20 57 69 6c | 6c 69 61 6d 20 53 69 6c |s by Wil|liam Sil|
|00000fe0| 76 65 72 74 2e 0a 64 73 | 20 77 68 69 63 68 20 63 |vert..ds| which c|
|00000ff0| 75 74 20 64 6f 65 73 6e | 27 74 2e 20 20 49 20 75 |ut doesn|'t. I u|
|00001000| 66 69 65 6c 64 2f 66 69 | 65 6c 64 2e 63 00 00 00 |field/fi|eld.c...|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00001070| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00001080| 20 20 20 32 37 36 33 20 | 20 34 34 30 34 31 30 30 | 2763 | 4404100|
|00001090| 35 32 32 20 20 20 36 34 | 31 32 00 20 00 00 00 00 |522 64|12. ....|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 2f 2a 20 66 69 65 6c 64 | 20 75 74 69 6c 69 74 79 |/* field| utility|
|00001210| 2c 20 66 72 6f 6d 20 42 | 6f 75 72 6e 65 20 70 70 |, from B|ourne pp|
|00001220| 2e 32 32 38 2d 39 20 2a | 2f 0a 23 69 6e 63 6c 75 |.228-9 *|/.#inclu|
|00001230| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 73 74 61 |de <stdi|o.h>.sta|
|00001240| 74 69 63 20 63 68 61 72 | 20 53 43 43 53 49 44 5b |tic char| SCCSID[|
|00001250| 5d 20 3d 20 22 3c 40 28 | 23 29 66 69 65 6c 64 2e |] = "<@(|#)field.|
|00001260| 63 20 31 2e 31 31 2c 20 | 38 35 2f 30 37 2f 32 33 |c 1.11, |85/07/23|
|00001270| 3e 22 3b 0a 23 64 65 66 | 69 6e 65 20 4d 41 58 46 |>";.#def|ine MAXF|
|00001280| 09 32 35 36 0a 23 64 65 | 66 69 6e 65 20 4d 41 58 |.256.#de|fine MAX|
|00001290| 4c 09 34 30 39 36 0a 23 | 64 65 66 69 6e 65 20 49 |L.4096.#|define I|
|000012a0| 46 53 09 27 5c 74 27 09 | 2f 2a 20 46 69 65 6c 64 |FS.'\t'.|/* Field|
|000012b0| 20 73 65 70 61 72 61 74 | 6f 72 20 69 73 20 74 61 | separat|or is ta|
|000012c0| 62 20 6f 6e 20 69 6e 70 | 75 74 2c 20 2a 2f 0a 23 |b on inp|ut, */.#|
|000012d0| 64 65 66 69 6e 65 20 4f | 46 53 09 27 5c 74 27 09 |define O|FS.'\t'.|
|000012e0| 2f 2a 20 61 6e 64 20 6f | 6e 20 6f 75 74 70 75 74 |/* and o|n output|
|000012f0| 2e 20 2a 2f 0a 0a 69 6e | 74 20 66 76 5b 4d 41 58 |. */..in|t fv[MAX|
|00001300| 46 5d 3b 0a 69 6e 74 20 | 6e 66 3b 0a 69 6e 74 20 |F];.int |nf;.int |
|00001310| 6d 66 3b 0a 63 68 61 72 | 20 2a 66 70 5b 4d 41 58 |mf;.char| *fp[MAX|
|00001320| 46 5d 3b 0a 63 68 61 72 | 20 4c 5b 4d 41 58 4c 5d |F];.char| L[MAXL]|
|00001330| 3b 0a 0a 6d 61 69 6e 28 | 61 72 67 63 2c 61 72 67 |;..main(|argc,arg|
|00001340| 76 29 0a 09 69 6e 74 20 | 61 72 67 63 3b 0a 09 63 |v)..int |argc;..c|
|00001350| 68 61 72 20 2a 61 72 67 | 76 5b 5d 3b 0a 7b 0a 09 |har *arg|v[];.{..|
|00001360| 72 65 67 69 73 74 65 72 | 20 63 68 61 72 20 2a 63 |register| char *c|
|00001370| 70 3b 0a 09 72 65 67 69 | 73 74 65 72 20 63 68 61 |p;..regi|ster cha|
|00001380| 72 20 2a 2a 61 70 3b 0a | 09 72 65 67 69 73 74 65 |r **ap;.|.registe|
|00001390| 72 20 69 6e 74 20 63 3b | 0a 09 69 6e 74 20 66 3b |r int c;|..int f;|
|000013a0| 0a 09 63 68 61 72 20 6f | 70 74 2c 20 66 73 2c 20 |..char o|pt, fs, |
|000013b0| 69 66 73 3d 49 46 53 2c | 20 6f 66 73 3d 4f 46 53 |ifs=IFS,| ofs=OFS|
|000013c0| 3b 0a 0a 09 77 68 69 6c | 65 20 28 61 72 67 63 3e |;...whil|e (argc>|
|000013d0| 31 29 20 7b 0a 09 09 69 | 66 28 73 73 63 61 6e 66 |1) {...i|f(sscanf|
|000013e0| 28 61 72 67 76 5b 31 5d | 2c 20 22 2d 25 63 25 63 |(argv[1]|, "-%c%c|
|000013f0| 22 2c 20 26 6f 70 74 2c | 20 26 66 73 29 20 3d 3d |", &opt,| &fs) ==|
|00001400| 20 32 29 20 7b 0a 09 09 | 09 73 77 69 74 63 68 28 | 2) {...|.switch(|
|00001410| 6f 70 74 29 20 7b 0a 09 | 09 09 63 61 73 65 20 27 |opt) {..|..case '|
|00001420| 74 27 3a 09 2f 2a 20 63 | 68 61 6e 67 65 20 62 6f |t':./* c|hange bo|
|00001430| 74 68 20 66 69 65 6c 64 | 20 73 65 70 61 72 61 74 |th field| separat|
|00001440| 6f 72 73 20 2a 2f 0a 09 | 09 09 09 6f 66 73 20 3d |ors */..|...ofs =|
|00001450| 20 66 73 3b 0a 09 09 09 | 63 61 73 65 20 27 54 27 | fs;....|case 'T'|
|00001460| 3a 09 2f 2a 20 63 68 61 | 6e 67 65 20 6f 6e 6c 79 |:./* cha|nge only|
|00001470| 20 69 66 73 20 2a 2f 0a | 09 09 09 09 69 66 73 20 | ifs */.|....ifs |
|00001480| 3d 20 66 73 3b 0a 09 09 | 09 09 62 72 65 61 6b 3b |= fs;...|..break;|
|00001490| 0a 09 09 09 64 65 66 61 | 75 6c 74 3a 0a 09 09 09 |....defa|ult:....|
|000014a0| 09 70 72 69 6e 74 66 28 | 22 75 73 61 67 65 3a 20 |.printf(|"usage: |
|000014b0| 25 73 20 5b 2d 74 63 5d | 20 5b 20 6e 20 5d 20 2e |%s [-tc]| [ n ] .|
|000014c0| 2e 2e 5c 6e 22 2c 20 61 | 72 67 76 5b 30 5d 29 3b |..\n", a|rgv[0]);|
|000014d0| 0a 09 09 09 09 72 65 74 | 75 72 6e 28 32 29 3b 0a |.....ret|urn(2);.|
|000014e0| 09 09 09 7d 0a 09 09 7d | 0a 09 09 65 6c 73 65 20 |...}...}|...else |
|000014f0| 69 66 28 73 73 63 61 6e | 66 28 61 72 67 76 5b 31 |if(sscan|f(argv[1|
|00001500| 5d 2c 20 22 25 64 22 2c | 20 26 66 76 5b 6e 66 2b |], "%d",| &fv[nf+|
|00001510| 2b 5d 29 20 21 3d 20 31 | 29 20 7b 0a 09 09 09 70 |+]) != 1|) {....p|
|00001520| 72 69 6e 74 66 28 22 75 | 73 61 67 65 3a 20 25 73 |rintf("u|sage: %s|
|00001530| 20 5b 2d 74 63 5d 20 5b | 20 6e 20 5d 20 2e 2e 2e | [-tc] [| n ] ...|
|00001540| 5c 6e 22 2c 20 61 72 67 | 76 5b 30 5d 29 3b 0a 09 |\n", arg|v[0]);..|
|00001550| 09 09 72 65 74 75 72 6e | 28 32 29 3b 0a 09 09 7d |..return|(2);...}|
|00001560| 0a 09 09 61 72 67 63 2d | 2d 3b 20 61 72 67 76 2b |...argc-|-; argv+|
|00001570| 2b 3b 0a 09 7d 0a 0a 09 | 2f 2a 20 72 65 61 64 20 |+;..}...|/* read |
|00001580| 61 6e 64 20 63 6f 70 79 | 20 69 6e 70 75 74 20 2a |and copy| input *|
|00001590| 2f 0a 09 6e 66 2d 2d 3b | 0a 09 63 70 20 3d 20 4c |/..nf--;|..cp = L|
|000015a0| 3b 0a 09 61 70 20 3d 20 | 66 70 3b 0a 09 2a 61 70 |;..ap = |fp;..*ap|
|000015b0| 2b 2b 20 3d 20 63 70 3b | 0a 09 77 68 69 6c 65 28 |++ = cp;|..while(|
|000015c0| 31 29 7b 0a 09 09 63 20 | 3d 20 67 65 74 63 28 73 |1){...c |= getc(s|
|000015d0| 74 64 69 6e 29 3b 0a 09 | 09 69 66 28 63 3d 3d 27 |tdin);..|.if(c=='|
|000015e0| 5c 6e 27 20 7c 7c 20 63 | 3d 3d 20 45 4f 46 29 20 |\n' || c|== EOF) |
|000015f0| 7b 0a 09 09 09 69 6e 74 | 20 66 63 3b 0a 09 09 09 |{....int| fc;....|
|00001600| 69 66 28 63 70 3d 3d 4c | 20 26 26 20 63 3d 3d 45 |if(cp==L| && c==E|
|00001610| 4f 46 29 20 62 72 65 61 | 6b 3b 0a 09 09 09 2a 63 |OF) brea|k;....*c|
|00001620| 70 2b 2b 20 3d 20 30 3b | 0a 09 09 09 6d 66 20 3d |p++ = 0;|....mf =|
|00001630| 20 61 70 2d 66 70 3b 0a | 0a 09 09 09 2f 2a 20 70 | ap-fp;.|..../* p|
|00001640| 72 69 6e 74 20 74 68 69 | 73 20 6c 69 6e 65 20 2a |rint thi|s line *|
|00001650| 2f 0a 09 09 09 66 6f 72 | 28 66 63 20 3d 20 30 3b |/....for|(fc = 0;|
|00001660| 20 66 63 20 3c 3d 20 6e | 66 3b 20 66 63 2b 2b 29 | fc <= n|f; fc++)|
|00001670| 7b 0a 09 09 09 09 70 75 | 74 66 28 66 76 5b 66 63 |{.....pu|tf(fv[fc|
|00001680| 5d 2d 31 29 3b 0a 09 09 | 09 09 69 66 28 66 63 20 |]-1);...|..if(fc |
|00001690| 21 3d 20 6e 66 29 20 70 | 75 74 63 68 61 72 28 6f |!= nf) p|utchar(o|
|000016a0| 66 73 29 3b 0a 09 09 09 | 7d 0a 09 09 09 69 66 28 |fs);....|}....if(|
|000016b0| 63 20 3d 3d 20 45 4f 46 | 29 20 62 72 65 61 6b 3b |c == EOF|) break;|
|000016c0| 0a 09 09 09 70 75 74 63 | 68 61 72 28 27 5c 6e 27 |....putc|har('\n'|
|000016d0| 29 3b 0a 09 09 09 63 70 | 20 3d 20 4c 3b 0a 09 09 |);....cp| = L;...|
|000016e0| 09 61 70 20 3d 20 66 70 | 3b 0a 09 09 09 2a 61 70 |.ap = fp|;....*ap|
|000016f0| 2b 2b 20 3d 20 63 70 3b | 0a 09 09 7d 0a 09 09 65 |++ = cp;|...}...e|
|00001700| 6c 73 65 20 69 66 28 63 | 20 3d 3d 20 69 66 73 29 |lse if(c| == ifs)|
|00001710| 20 7b 0a 09 09 09 2a 63 | 70 2b 2b 20 3d 20 30 3b | {....*c|p++ = 0;|
|00001720| 0a 09 09 09 2a 61 70 2b | 2b 20 3d 20 63 70 3b 0a |....*ap+|+ = cp;.|
|00001730| 09 09 7d 0a 09 09 65 6c | 73 65 20 2a 63 70 2b 2b |..}...el|se *cp++|
|00001740| 20 3d 20 63 3b 0a 09 7d | 0a 09 72 65 74 75 72 6e | = c;..}|..return|
|00001750| 28 30 29 3b 0a 7d 0a 0a | 2f 2a 20 6f 75 74 70 75 |(0);.}..|/* outpu|
|00001760| 74 20 66 69 65 6c 64 20 | 6e 20 66 72 6f 6d 20 63 |t field |n from c|
|00001770| 75 72 72 65 6e 74 20 6c | 69 6e 65 20 2a 2f 0a 70 |urrent l|ine */.p|
|00001780| 75 74 66 28 6e 29 0a 7b | 0a 09 72 65 67 69 73 74 |utf(n).{|..regist|
|00001790| 65 72 20 63 68 61 72 20 | 2a 63 70 20 3d 20 66 70 |er char |*cp = fp|
|000017a0| 5b 6e 5d 3b 0a 09 72 65 | 67 69 73 74 65 72 20 63 |[n];..re|gister c|
|000017b0| 68 61 72 20 63 3b 0a 0a | 09 69 66 28 6e 3c 30 20 |har c;..|.if(n<0 |
|000017c0| 7c 7c 20 6e 3e 3d 6d 66 | 29 20 72 65 74 75 72 6e ||| n>=mf|) return|
|000017d0| 3b 0a 09 77 68 69 6c 65 | 20 28 63 20 3d 20 2a 63 |;..while| (c = *c|
|000017e0| 70 2b 2b 29 20 70 75 74 | 63 68 61 72 28 63 29 3b |p++) put|char(c);|
|000017f0| 0a 7d 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00001800| 66 69 65 6c 64 2f 66 69 | 6e 67 65 72 00 00 00 00 |field/fi|nger....|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00001870| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00001880| 20 20 20 20 34 32 35 20 | 20 34 34 30 34 31 30 30 | 425 | 4404100|
|00001890| 35 32 32 20 20 20 36 33 | 33 34 00 20 00 00 00 00 |522 63|34. ....|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 3a 20 53 69 6c 76 65 72 | 74 20 76 61 72 69 61 6e |: Silver|t varian|
|00001a10| 74 20 6f 66 20 66 69 6e | 67 65 72 20 2d 2d 20 75 |t of fin|ger -- u|
|00001a20| 73 65 20 2d 61 20 66 6f | 72 20 61 6c 6c 20 69 6e |se -a fo|r all in|
|00001a30| 66 6f 0a 46 49 45 4c 44 | 3d 22 66 69 65 6c 64 20 |fo.FIELD|="field |
|00001a40| 2d 74 3a 20 31 20 33 20 | 34 20 35 20 36 22 0a 63 |-t: 1 3 |4 5 6".c|
|00001a50| 61 73 65 20 24 23 20 69 | 6e 0a 30 29 09 66 69 65 |ase $# i|n.0).fie|
|00001a60| 6c 64 20 2d 54 3a 20 31 | 20 35 20 3c 20 2f 65 74 |ld -T: 1| 5 < /et|
|00001a70| 63 2f 70 61 73 73 77 64 | 20 3b 3b 0a 2a 29 09 66 |c/passwd| ;;.*).f|
|00001a80| 6f 72 20 69 0a 09 64 6f | 09 63 61 73 65 20 24 69 |or i..do|.case $i|
|00001a90| 20 69 6e 0a 09 09 2d 61 | 29 09 46 49 45 4c 44 3d | in...-a|).FIELD=|
|00001aa0| 22 63 61 74 20 2d 76 22 | 20 3b 3b 0a 09 09 2d 2a |"cat -v"| ;;...-*|
|00001ab0| 29 09 65 63 68 6f 20 22 | 24 30 3a 20 75 6e 6b 6e |).echo "|$0: unkn|
|00001ac0| 6f 77 6e 20 66 6c 61 67 | 20 24 69 22 20 3b 20 65 |own flag| $i" ; e|
|00001ad0| 78 69 74 20 3b 3b 0a 09 | 09 2a 29 09 67 72 65 70 |xit ;;..|.*).grep|
|00001ae0| 20 22 5e 24 69 3a 22 20 | 2f 65 74 63 2f 70 61 73 | "^$i:" |/etc/pas|
|00001af0| 73 77 64 20 7c 20 24 46 | 49 45 4c 44 20 3b 3b 0a |swd | $F|IELD ;;.|
|00001b00| 09 09 65 73 61 63 0a 09 | 64 6f 6e 65 20 3b 3b 0a |..esac..|done ;;.|
|00001b10| 65 73 61 63 0a 00 00 00 | 00 00 00 00 00 00 00 00 |esac....|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 66 69 65 6c 64 2f 63 68 | 65 63 6b 70 00 00 00 00 |field/ch|eckp....|
|00001c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00001c70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00001c80| 20 20 20 20 36 36 36 20 | 20 34 34 30 34 31 30 30 | 666 | 4404100|
|00001c90| 35 32 33 20 20 20 36 33 | 32 37 00 20 00 00 00 00 |523 63|27. ....|
|00001ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 63 68 65 |#! /bin/|sh.# che|
|00001e10| 63 6b 20 2f 65 74 63 2f | 70 61 73 73 77 64 20 66 |ck /etc/|passwd f|
|00001e20| 6f 72 20 63 68 61 6e 67 | 65 73 20 6f 74 68 65 72 |or chang|es other|
|00001e30| 20 74 68 61 6e 20 6e 65 | 77 20 70 61 73 73 77 6f | than ne|w passwo|
|00001e40| 72 64 73 0a 50 41 54 48 | 3d 2f 75 73 72 2f 6e 65 |rds.PATH|=/usr/ne|
|00001e50| 77 3a 2f 75 73 72 2f 6c | 6f 63 61 6c 3a 2f 75 73 |w:/usr/l|ocal:/us|
|00001e60| 72 2f 62 69 6e 3a 2f 62 | 69 6e 0a 50 41 53 53 57 |r/bin:/b|in.PASSW|
|00001e70| 44 3d 2f 65 74 63 2f 70 | 61 73 73 77 64 0a 53 45 |D=/etc/p|asswd.SE|
|00001e80| 43 55 52 45 3d 2f 75 73 | 72 2f 61 64 6d 2f 73 65 |CURE=/us|r/adm/se|
|00001e90| 63 75 72 69 74 79 0a 53 | 54 4f 50 3d 24 53 45 43 |curity.S|TOP=$SEC|
|00001ea0| 55 52 45 2f 70 61 73 73 | 77 64 0a 54 45 4d 50 3d |URE/pass|wd.TEMP=|
|00001eb0| 2f 74 6d 70 2f 70 61 73 | 73 24 24 0a 44 49 46 46 |/tmp/pas|s$$.DIFF|
|00001ec0| 3d 2f 74 6d 70 2f 64 69 | 66 66 24 24 0a 74 72 61 |=/tmp/di|ff$$.tra|
|00001ed0| 70 20 27 2f 62 69 6e 2f | 72 6d 20 2d 66 20 24 54 |p '/bin/|rm -f $T|
|00001ee0| 45 4d 50 20 24 44 49 46 | 46 3b 65 78 69 74 27 20 |EMP $DIF|F;exit' |
|00001ef0| 30 20 31 20 32 20 33 20 | 31 35 0a 3c 20 24 50 41 |0 1 2 3 |15.< $PA|
|00001f00| 53 53 57 44 20 66 69 65 | 6c 64 20 2d 74 3a 20 31 |SSWD fie|ld -t: 1|
|00001f10| 20 33 20 34 20 35 20 36 | 20 37 20 3e 20 24 54 45 | 3 4 5 6| 7 > $TE|
|00001f20| 4d 50 0a 64 69 66 66 20 | 24 54 45 4d 50 20 24 53 |MP.diff |$TEMP $S|
|00001f30| 54 4f 50 20 3e 20 24 44 | 49 46 46 0a 69 66 09 74 |TOP > $D|IFF.if.t|
|00001f40| 65 73 74 20 2d 73 20 24 | 44 49 46 46 0a 74 68 65 |est -s $|DIFF.the|
|00001f50| 6e 09 65 63 68 6f 20 22 | 53 75 62 6a 65 63 74 3a |n.echo "|Subject:|
|00001f60| 20 43 68 61 6e 67 65 73 | 20 74 6f 20 2f 65 74 63 | Changes| to /etc|
|00001f70| 2f 70 61 73 73 77 64 22 | 20 3e 20 24 54 45 4d 50 |/passwd"| > $TEMP|
|00001f80| 0a 09 63 61 74 20 24 54 | 45 4d 50 20 24 44 49 46 |..cat $T|EMP $DIF|
|00001f90| 46 20 7c 20 6d 61 69 6c | 20 72 6f 6f 74 0a 09 65 |F | mail| root..e|
|00001fa0| 78 69 74 20 31 0a 65 6c | 73 65 0a 09 65 78 69 74 |xit 1.el|se..exit|
|00001fb0| 20 30 0a 66 69 0a 00 00 | 00 00 00 00 00 00 00 00 | 0.fi...|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 3d 3d 3d 20 66 69 65 6c | 64 2e 73 68 61 72 20 3d |=== fiel|d.shar =|
|00002410| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002420| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 32 35 2d 4a 75 6c 2d |========|.25-Jul-|
|00002430| 38 35 20 30 39 3a 30 33 | 3a 30 39 2d 4d 44 54 2c |85 09:03|:09-MDT,|
|00002440| 35 36 37 30 3b 30 30 30 | 30 30 30 30 30 30 30 30 |5670;000|00000000|
|00002450| 31 0a 52 65 74 75 72 6e | 2d 50 61 74 68 3a 20 3c |1.Return|-Path: <|
|00002460| 75 6e 69 78 2d 73 6f 75 | 72 63 65 73 2d 72 65 71 |unix-sou|rces-req|
|00002470| 75 65 73 74 40 42 52 4c | 2e 41 52 50 41 3e 0a 52 |uest@BRL|.ARPA>.R|
|00002480| 65 63 65 69 76 65 64 3a | 20 66 72 6f 6d 20 42 52 |eceived:| from BR|
|00002490| 4c 2d 54 47 52 2e 41 52 | 50 41 20 62 79 20 53 49 |L-TGR.AR|PA by SI|
|000024a0| 4d 54 45 4c 32 30 2e 41 | 52 50 41 20 77 69 74 68 |MTEL20.A|RPA with|
|000024b0| 20 54 43 50 3b 20 54 68 | 75 20 32 35 20 4a 75 6c | TCP; Th|u 25 Jul|
|000024c0| 20 38 35 20 30 39 3a 30 | 31 3a 34 35 2d 4d 44 54 | 85 09:0|1:45-MDT|
|000024d0| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|000024e0| 75 73 65 6e 65 74 20 62 | 79 20 54 47 52 2e 42 52 |usenet b|y TGR.BR|
|000024f0| 4c 2e 41 52 50 41 20 69 | 64 20 61 30 32 32 37 34 |L.ARPA i|d a02274|
|00002500| 35 3b 20 32 35 20 4a 75 | 6c 20 38 35 20 31 30 3a |5; 25 Ju|l 85 10:|
|00002510| 30 32 20 45 44 54 0a 46 | 72 6f 6d 3a 20 42 69 6c |02 EDT.F|rom: Bil|
|00002520| 6c 20 53 69 6c 76 65 72 | 74 20 3c 73 69 6c 76 65 |l Silver|t <silve|
|00002530| 72 74 40 64 61 6c 63 73 | 2e 75 75 63 70 3e 0a 4e |rt@dalcs|.uucp>.N|
|00002540| 65 77 73 67 72 6f 75 70 | 73 3a 20 6e 65 74 2e 73 |ewsgroup|s: net.s|
|00002550| 6f 75 72 63 65 73 0a 53 | 75 62 6a 65 63 74 3a 20 |ources.S|ubject: |
|00002560| 66 69 65 6c 64 20 72 65 | 76 69 73 69 74 65 64 0a |field re|visited.|
|00002570| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 31 35 34 |Message-|ID: <154|
|00002580| 38 40 64 61 6c 63 73 2e | 55 55 43 50 3e 0a 44 61 |8@dalcs.|UUCP>.Da|
|00002590| 74 65 3a 20 32 35 20 4a | 75 6c 20 38 35 20 30 32 |te: 25 J|ul 85 02|
|000025a0| 3a 35 39 3a 30 38 20 47 | 4d 54 0a 54 6f 3a 20 20 |:59:08 G|MT.To: |
|000025b0| 20 20 20 20 20 75 6e 69 | 78 2d 73 6f 75 72 63 65 | uni|x-source|
|000025c0| 73 40 42 52 4c 2d 54 47 | 52 2e 41 52 50 41 0a 0a |s@BRL-TG|R.ARPA..|
|000025d0| 48 65 72 65 20 69 73 20 | 61 20 72 65 70 6f 73 74 |Here is |a repost|
|000025e0| 69 6e 67 20 6f 66 20 53 | 74 65 76 65 20 42 6f 75 |ing of S|teve Bou|
|000025f0| 72 6e 65 27 73 20 66 69 | 65 6c 64 20 70 72 6f 67 |rne's fi|eld prog|
|00002600| 72 61 6d 20 66 72 6f 6d | 20 68 69 73 20 62 6f 6f |ram from| his boo|
|00002610| 6b 2e 20 20 49 0a 68 61 | 76 65 20 6d 61 64 65 20 |k. I.ha|ve made |
|00002620| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 65 6e 68 61 |a number| of enha|
|00002630| 6e 63 65 6d 65 6e 74 73 | 20 28 6d 61 69 6e 6c 79 |ncements| (mainly|
|00002640| 20 61 20 63 68 61 6e 67 | 65 61 62 6c 65 20 66 69 | a chang|eable fi|
|00002650| 65 6c 64 20 73 65 70 61 | 72 61 74 6f 72 29 0a 61 |eld sepa|rator).a|
|00002660| 6e 64 20 61 64 64 65 64 | 20 61 6e 20 65 78 70 61 |nd added| an expa|
|00002670| 6e 64 65 64 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |nded ver|sion of |
|00002680| 68 69 73 20 6d 61 6e 75 | 61 6c 20 65 6e 74 72 79 |his manu|al entry|
|00002690| 2e 20 20 41 6c 73 6f 20 | 69 6e 63 6c 75 64 65 64 |. Also |included|
|000026a0| 20 61 72 65 0a 74 77 6f | 20 73 61 6d 70 6c 65 20 | are.two| sample |
|000026b0| 70 72 6f 67 72 61 6d 73 | 2c 20 61 20 70 72 69 6d |programs|, a prim|
|000026c0| 69 74 69 76 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |itive im|plementa|
|000026d0| 74 69 6f 6e 20 6f 66 20 | 66 69 6e 67 65 72 20 66 |tion of |finger f|
|000026e0| 6f 72 20 74 68 6f 73 65 | 20 6f 66 0a 75 73 20 77 |or those| of.us w|
|000026f0| 69 74 68 6f 75 74 20 74 | 68 65 20 72 65 61 6c 20 |ithout t|he real |
|00002700| 74 68 69 6e 67 2c 20 61 | 6e 64 20 61 20 70 72 6f |thing, a|nd a pro|
|00002710| 67 72 61 6d 20 74 6f 20 | 63 68 65 63 6b 20 66 6f |gram to |check fo|
|00002720| 72 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 65 |r change|s to the|
|00002730| 0a 70 61 73 73 77 6f 72 | 64 20 66 69 6c 65 20 28 |.passwor|d file (|
|00002740| 66 69 65 6c 64 20 73 6b | 69 70 73 20 74 68 65 20 |field sk|ips the |
|00002750| 70 61 73 73 77 6f 72 64 | 20 69 74 73 65 6c 66 2c |password| itself,|
|00002760| 20 73 6f 20 6f 6e 6c 79 | 20 73 75 62 73 74 61 6e | so only| substan|
|00002770| 74 69 76 65 0a 63 68 61 | 6e 67 65 73 20 61 72 65 |tive.cha|nges are|
|00002780| 20 6e 6f 74 65 64 29 2e | 0a 0a 54 68 69 73 20 69 | noted).|..This i|
|00002790| 73 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 63 75 74 |s simila|r to cut|
|000027a0| 2c 20 66 6f 75 6e 64 20 | 6f 6e 20 56 65 72 2e 20 |, found |on Ver. |
|000027b0| 49 49 49 20 61 6e 64 20 | 56 2c 20 62 75 74 20 63 |III and |V, but c|
|000027c0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 0a 63 68 |an be us|ed to.ch|
|000027d0| 61 6e 67 65 20 74 68 65 | 20 6f 72 64 65 72 20 6f |ange the| order o|
|000027e0| 66 20 66 69 65 6c 64 73 | 20 77 68 69 63 68 20 63 |f fields| which c|
|000027f0| 75 74 20 64 6f 65 73 6e | 27 74 2e 20 20 49 20 75 |ut doesn|'t. I u|
|00002800| 73 65 20 66 69 65 6c 64 | 20 61 20 6c 6f 74 20 6f |se field| a lot o|
|00002810| 6e 0a 74 61 62 2d 73 65 | 70 61 72 61 74 65 64 20 |n.tab-se|parated |
|00002820| 64 61 74 61 20 66 69 6c | 65 73 2e 0a 2d 2d 2d 2d |data fil|es..----|
|00002830| 2d 63 75 74 20 68 65 72 | 65 2d 2d 2d 2d 2d 63 75 |-cut her|e-----cu|
|00002840| 74 20 68 65 72 65 2d 2d | 2d 2d 2d 63 75 74 20 68 |t here--|---cut h|
|00002850| 65 72 65 2d 2d 2d 2d 2d | 63 75 74 20 68 65 72 65 |ere-----|cut here|
|00002860| 2d 2d 2d 2d 2d 0a 00 00 | 00 00 00 00 00 00 00 00 |-----...|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 66 69 65 6c 64 2f 66 69 | 65 6c 64 2e 31 4c 00 00 |field/fi|eld.1L..|
|00002a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00002a70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00002a80| 20 20 20 31 37 34 36 20 | 20 34 34 30 34 31 30 30 | 1746 | 4404100|
|00002a90| 35 32 31 20 20 20 36 34 | 34 33 00 20 00 00 00 00 |521 64|43. ....|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 2e 54 48 20 46 49 45 4c | 44 20 31 4c 0a 2e 53 48 |.TH FIEL|D 1L..SH|
|00002c10| 20 4e 41 4d 45 0a 66 69 | 65 6c 64 20 5c 2d 20 73 | NAME.fi|eld \- s|
|00002c20| 65 6c 65 63 74 20 66 69 | 65 6c 64 73 20 6f 72 20 |elect fi|elds or |
|00002c30| 63 6f 6c 75 6d 6e 73 20 | 66 72 6f 6d 20 61 20 66 |columns |from a f|
|00002c40| 69 6c 65 0a 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 |ile..SH |SYNOPSIS|
|00002c50| 0a 2e 42 20 66 69 65 6c | 64 20 0a 5b 2d 74 63 5d |..B fiel|d .[-tc]|
|00002c60| 0a 5b 2d 54 63 5d 0a 5b | 20 6e 20 5d 20 2e 2e 2e |.[-Tc].[| n ] ...|
|00002c70| 0a 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |..SH DES|CRIPTION|
|00002c80| 0a 54 68 65 0a 2e 49 20 | 66 69 65 6c 64 20 0a 63 |.The..I |field .c|
|00002c90| 6f 6d 6d 61 6e 64 20 63 | 6f 70 69 65 73 20 73 65 |ommand c|opies se|
|00002ca0| 6c 65 63 74 65 64 2c 20 | 64 65 6c 69 6d 69 74 65 |lected, |delimite|
|00002cb0| 72 2d 73 65 70 61 72 61 | 74 65 64 20 66 69 65 6c |r-separa|ted fiel|
|00002cc0| 64 73 20 66 72 6f 6d 20 | 0a 74 68 65 20 73 74 61 |ds from |.the sta|
|00002cd0| 6e 64 61 72 64 20 69 6e | 70 75 74 20 74 6f 20 74 |ndard in|put to t|
|00002ce0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 6f 75 74 70 |he stand|ard outp|
|00002cf0| 75 74 2e 20 46 69 65 6c | 64 73 20 61 72 65 0a 6e |ut. Fiel|ds are.n|
|00002d00| 75 6d 62 65 72 65 64 20 | 66 72 6f 6d 20 31 20 61 |umbered |from 1 a|
|00002d10| 6e 64 20 61 20 66 69 65 | 6c 64 20 6d 61 79 20 62 |nd a fie|ld may b|
|00002d20| 65 20 72 65 71 75 65 73 | 74 65 64 20 6d 6f 72 65 |e reques|ted more|
|00002d30| 20 74 68 61 6e 20 6f 6e | 63 65 2e 0a 2e 50 50 0a | than on|ce...PP.|
|00002d40| 54 68 65 20 64 65 66 61 | 75 6c 74 20 64 65 6c 69 |The defa|ult deli|
|00002d50| 6d 69 74 65 72 20 69 73 | 20 61 20 74 61 62 2e 0a |miter is| a tab..|
|00002d60| 54 68 69 73 20 63 61 6e | 20 62 65 20 63 68 61 6e |This can| be chan|
|00002d70| 67 65 64 20 74 6f 20 63 | 68 61 72 61 63 74 65 72 |ged to c|haracter|
|00002d80| 0a 2e 49 20 63 0a 77 69 | 74 68 20 74 68 65 20 6f |..I c.wi|th the o|
|00002d90| 70 74 69 6f 6e 20 2d 74 | 5c 63 0a 2e 49 20 63 20 |ption -t|\c..I c |
|00002da0| 2e 0a 49 66 20 74 68 65 | 20 66 6f 72 6d 20 2d 54 |..If the| form -T|
|00002db0| 5c 63 0a 2e 49 20 63 0a | 69 73 20 75 73 65 64 2c |\c..I c.|is used,|
|00002dc0| 20 74 68 65 20 64 65 6c | 69 6d 69 74 65 72 0a 2e | the del|imiter..|
|00002dd0| 49 20 63 0a 69 73 20 75 | 73 65 64 20 6f 6e 20 69 |I c.is u|sed on i|
|00002de0| 6e 70 75 74 2c 20 62 75 | 74 20 74 68 65 20 6f 75 |nput, bu|t the ou|
|00002df0| 74 70 75 74 20 69 73 20 | 73 74 69 6c 6c 20 73 65 |tput is |still se|
|00002e00| 70 61 72 61 74 65 64 20 | 62 79 20 74 61 62 73 2e |parated |by tabs.|
|00002e10| 0a 2e 53 48 20 45 58 41 | 4d 50 4c 45 0a 54 68 65 |..SH EXA|MPLE.The|
|00002e20| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6d 6d 61 | followi|ng comma|
|00002e30| 6e 64 20 65 78 74 72 61 | 63 74 73 20 74 68 65 20 |nd extra|cts the |
|00002e40| 6c 6f 67 69 6e 20 6e 61 | 6d 65 73 2c 20 75 73 65 |login na|mes, use|
|00002e50| 72 20 61 6e 64 20 67 72 | 6f 75 70 20 6e 75 6d 62 |r and gr|oup numb|
|00002e60| 65 72 73 0a 66 72 6f 6d | 20 74 68 65 20 70 61 73 |ers.from| the pas|
|00002e70| 73 77 6f 72 64 20 66 69 | 6c 65 3a 0a 2e 50 50 0a |sword fi|le:..PP.|
|00002e80| 66 69 65 6c 64 20 2d 74 | 3a 20 31 20 33 20 34 20 |field -t|: 1 3 4 |
|00002e90| 3c 2f 65 74 63 2f 70 61 | 73 73 77 64 0a 2e 53 48 |</etc/pa|sswd..SH|
|00002ea0| 20 53 45 45 20 41 4c 53 | 4f 0a 2e 49 20 43 75 74 | SEE ALS|O..I Cut|
|00002eb0| 20 2c 0a 77 68 69 63 68 | 20 69 73 20 61 76 61 69 | ,.which| is avai|
|00002ec0| 6c 61 62 6c 65 20 6f 6e | 20 53 79 73 74 65 6d 20 |lable on| System |
|00002ed0| 56 2e 0a 54 68 65 72 65 | 20 69 73 20 61 20 76 65 |V..There| is a ve|
|00002ee0| 72 73 69 6f 6e 20 6f 66 | 0a 2e 49 20 63 75 74 0a |rsion of|..I cut.|
|00002ef0| 6f 6e 20 74 68 69 73 20 | 73 79 73 74 65 6d 2c 20 |on this |system, |
|00002f00| 62 75 74 20 6e 6f 20 6d | 61 6e 75 61 6c 20 65 6e |but no m|anual en|
|00002f10| 74 72 79 20 79 65 74 2e | 0a 2e 53 48 20 42 55 47 |try yet.|..SH BUG|
|00002f20| 53 0a 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |S.The nu|mber of |
|00002f30| 69 6e 70 75 74 20 6f 72 | 20 6f 75 74 70 75 74 20 |input or| output |
|00002f40| 66 69 65 6c 64 73 20 6d | 61 79 20 6e 6f 74 20 65 |fields m|ay not e|
|00002f50| 78 63 65 65 64 20 32 35 | 36 20 61 6e 64 0a 74 68 |xceed 25|6 and.th|
|00002f60| 65 20 6d 61 78 69 6d 75 | 6d 20 6c 69 6e 65 20 6c |e maximu|m line l|
|00002f70| 65 6e 67 74 68 20 69 73 | 20 34 30 39 36 20 63 68 |ength is| 4096 ch|
|00002f80| 61 72 61 63 74 65 72 73 | 2e 0a 2e 53 48 20 41 55 |aracters|...SH AU|
|00002f90| 54 48 4f 52 53 0a 54 61 | 6b 65 6e 20 66 72 6f 6d |THORS.Ta|ken from|
|00002fa0| 20 22 54 68 65 20 55 6e | 69 78 20 53 79 73 74 65 | "The Un|ix Syste|
|00002fb0| 6d 22 20 62 79 20 53 2e | 20 52 2e 20 42 6f 75 72 |m" by S.| R. Bour|
|00002fc0| 6e 65 2e 0a 4d 6f 64 69 | 66 69 63 61 74 69 6f 6e |ne..Modi|fication|
|00002fd0| 73 20 62 79 20 57 69 6c | 6c 69 61 6d 20 53 69 6c |s by Wil|liam Sil|
|00002fe0| 76 65 72 74 2e 0a 64 73 | 20 77 68 69 63 68 20 63 |vert..ds| which c|
|00002ff0| 75 74 20 64 6f 65 73 6e | 27 74 2e 20 20 49 20 75 |ut doesn|'t. I u|
|00003000| 66 69 65 6c 64 2f 66 69 | 65 6c 64 2e 63 00 00 00 |field/fi|eld.c...|
|00003010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 20 32 |.... 6|44 . 2|
|00003070| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00003080| 20 20 20 32 37 36 33 20 | 20 34 34 30 34 31 30 30 | 2763 | 4404100|
|00003090| 35 32 32 20 20 20 36 34 | 31 32 00 20 00 00 00 00 |522 64|12. ....|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 2f 2a 20 66 69 65 6c 64 | 20 75 74 69 6c 69 74 79 |/* field| utility|
|00003210| 2c 20 66 72 6f 6d 20 42 | 6f 75 72 6e 65 20 70 70 |, from B|ourne pp|
|00003220| 2e 32 32 38 2d 39 20 2a | 2f 0a 23 69 6e 63 6c 75 |.228-9 *|/.#inclu|
|00003230| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 73 74 61 |de <stdi|o.h>.sta|
|00003240| 74 69 63 20 63 68 61 72 | 20 53 43 43 53 49 44 5b |tic char| SCCSID[|
|00003250| 5d 20 3d 20 22 3c 40 28 | 23 29 66 69 65 6c 64 2e |] = "<@(|#)field.|
|00003260| 63 20 31 2e 31 31 2c 20 | 38 35 2f 30 37 2f 32 33 |c 1.11, |85/07/23|
|00003270| 3e 22 3b 0a 23 64 65 66 | 69 6e 65 20 4d 41 58 46 |>";.#def|ine MAXF|
|00003280| 09 32 35 36 0a 23 64 65 | 66 69 6e 65 20 4d 41 58 |.256.#de|fine MAX|
|00003290| 4c 09 34 30 39 36 0a 23 | 64 65 66 69 6e 65 20 49 |L.4096.#|define I|
|000032a0| 46 53 09 27 5c 74 27 09 | 2f 2a 20 46 69 65 6c 64 |FS.'\t'.|/* Field|
|000032b0| 20 73 65 70 61 72 61 74 | 6f 72 20 69 73 20 74 61 | separat|or is ta|
|000032c0| 62 20 6f 6e 20 69 6e 70 | 75 74 2c 20 2a 2f 0a 23 |b on inp|ut, */.#|
|000032d0| 64 65 66 69 6e 65 20 4f | 46 53 09 27 5c 74 27 09 |define O|FS.'\t'.|
|000032e0| 2f 2a 20 61 6e 64 20 6f | 6e 20 6f 75 74 70 75 74 |/* and o|n output|
|000032f0| 2e 20 2a 2f 0a 0a 69 6e | 74 20 66 76 5b 4d 41 58 |. */..in|t fv[MAX|
|00003300| 46 5d 3b 0a 69 6e 74 20 | 6e 66 3b 0a 69 6e 74 20 |F];.int |nf;.int |
|00003310| 6d 66 3b 0a 63 68 61 72 | 20 2a 66 70 5b 4d 41 58 |mf;.char| *fp[MAX|
|00003320| 46 5d 3b 0a 63 68 61 72 | 20 4c 5b 4d 41 58 4c 5d |F];.char| L[MAXL]|
|00003330| 3b 0a 0a 6d 61 69 6e 28 | 61 72 67 63 2c 61 72 67 |;..main(|argc,arg|
|00003340| 76 29 0a 09 69 6e 74 20 | 61 72 67 63 3b 0a 09 63 |v)..int |argc;..c|
|00003350| 68 61 72 20 2a 61 72 67 | 76 5b 5d 3b 0a 7b 0a 09 |har *arg|v[];.{..|
|00003360| 72 65 67 69 73 74 65 72 | 20 63 68 61 72 20 2a 63 |register| char *c|
|00003370| 70 3b 0a 09 72 65 67 69 | 73 74 65 72 20 63 68 61 |p;..regi|ster cha|
|00003380| 72 20 2a 2a 61 70 3b 0a | 09 72 65 67 69 73 74 65 |r **ap;.|.registe|
|00003390| 72 20 69 6e 74 20 63 3b | 0a 09 69 6e 74 20 66 3b |r int c;|..int f;|
|000033a0| 0a 09 63 68 61 72 20 6f | 70 74 2c 20 66 73 2c 20 |..char o|pt, fs, |
|000033b0| 69 66 73 3d 49 46 53 2c | 20 6f 66 73 3d 4f 46 53 |ifs=IFS,| ofs=OFS|
|000033c0| 3b 0a 0a 09 77 68 69 6c | 65 20 28 61 72 67 63 3e |;...whil|e (argc>|
|000033d0| 31 29 20 7b 0a 09 09 69 | 66 28 73 73 63 61 6e 66 |1) {...i|f(sscanf|
|000033e0| 28 61 72 67 76 5b 31 5d | 2c 20 22 2d 25 63 25 63 |(argv[1]|, "-%c%c|
|000033f0| 22 2c 20 26 6f 70 74 2c | 20 26 66 73 29 20 3d 3d |", &opt,| &fs) ==|
|00003400| 20 32 29 20 7b 0a 09 09 | 09 73 77 69 74 63 68 28 | 2) {...|.switch(|
|00003410| 6f 70 74 29 20 7b 0a 09 | 09 09 63 61 73 65 20 27 |opt) {..|..case '|
|00003420| 74 27 3a 09 2f 2a 20 63 | 68 61 6e 67 65 20 62 6f |t':./* c|hange bo|
|00003430| 74 68 20 66 69 65 6c 64 | 20 73 65 70 61 72 61 74 |th field| separat|
|00003440| 6f 72 73 20 2a 2f 0a 09 | 09 09 09 6f 66 73 20 3d |ors */..|...ofs =|
|00003450| 20 66 73 3b 0a 09 09 09 | 63 61 73 65 20 27 54 27 | fs;....|case 'T'|
|00003460| 3a 09 2f 2a 20 63 68 61 | 6e 67 65 20 6f 6e 6c 79 |:./* cha|nge only|
|00003470| 20 69 66 73 20 2a 2f 0a | 09 09 09 09 69 66 73 20 | ifs */.|....ifs |
|00003480| 3d 20 66 73 3b 0a 09 09 | 09 09 62 72 65 61 6b 3b |= fs;...|..break;|
|00003490| 0a 09 09 09 64 65 66 61 | 75 6c 74 3a 0a 09 09 09 |....defa|ult:....|
|000034a0| 09 70 72 69 6e 74 66 28 | 22 75 73 61 67 65 3a 20 |.printf(|"usage: |
|000034b0| 25 73 20 5b 2d 74 63 5d | 20 5b 20 6e 20 5d 20 2e |%s [-tc]| [ n ] .|
|000034c0| 2e 2e 5c 6e 22 2c 20 61 | 72 67 76 5b 30 5d 29 3b |..\n", a|rgv[0]);|
|000034d0| 0a 09 09 09 09 72 65 74 | 75 72 6e 28 32 29 3b 0a |.....ret|urn(2);.|
|000034e0| 09 09 09 7d 0a 09 09 7d | 0a 09 09 65 6c 73 65 20 |...}...}|...else |
|000034f0| 69 66 28 73 73 63 61 6e | 66 28 61 72 67 76 5b 31 |if(sscan|f(argv[1|
|00003500| 5d 2c 20 22 25 64 22 2c | 20 26 66 76 5b 6e 66 2b |], "%d",| &fv[nf+|
|00003510| 2b 5d 29 20 21 3d 20 31 | 29 20 7b 0a 09 09 09 70 |+]) != 1|) {....p|
|00003520| 72 69 6e 74 66 28 22 75 | 73 61 67 65 3a 20 25 73 |rintf("u|sage: %s|
|00003530| 20 5b 2d 74 63 5d 20 5b | 20 6e 20 5d 20 2e 2e 2e | [-tc] [| n ] ...|
|00003540| 5c 6e 22 2c 20 61 72 67 | 76 5b 30 5d 29 3b 0a 09 |\n", arg|v[0]);..|
|00003550| 09 09 72 65 74 75 72 6e | 28 32 29 3b 0a 09 09 7d |..return|(2);...}|
|00003560| 0a 09 09 61 72 67 63 2d | 2d 3b 20 61 72 67 76 2b |...argc-|-; argv+|
|00003570| 2b 3b 0a 09 7d 0a 0a 09 | 2f 2a 20 72 65 61 64 20 |+;..}...|/* read |
|00003580| 61 6e 64 20 63 6f 70 79 | 20 69 6e 70 75 74 20 2a |and copy| input *|
|00003590| 2f 0a 09 6e 66 2d 2d 3b | 0a 09 63 70 20 3d 20 4c |/..nf--;|..cp = L|
|000035a0| 3b 0a 09 61 70 20 3d 20 | 66 70 3b 0a 09 2a 61 70 |;..ap = |fp;..*ap|
|000035b0| 2b 2b 20 3d 20 63 70 3b | 0a 09 77 68 69 6c 65 28 |++ = cp;|..while(|
|000035c0| 31 29 7b 0a 09 09 63 20 | 3d 20 67 65 74 63 28 73 |1){...c |= getc(s|
|000035d0| 74 64 69 6e 29 3b 0a 09 | 09 69 66 28 63 3d 3d 27 |tdin);..|.if(c=='|
|000035e0| 5c 6e 27 20 7c 7c 20 63 | 3d 3d 20 45 4f 46 29 20 |\n' || c|== EOF) |
|000035f0| 7b 0a 09 09 09 69 6e 74 | 20 66 63 3b 0a 09 09 09 |{....int| fc;....|
|00003600| 69 66 28 63 70 3d 3d 4c | 20 26 26 20 63 3d 3d 45 |if(cp==L| && c==E|
|00003610| 4f 46 29 20 62 72 65 61 | 6b 3b 0a 09 09 09 2a 63 |OF) brea|k;....*c|
|00003620| 70 2b 2b 20 3d 20 30 3b | 0a 09 09 09 6d 66 20 3d |p++ = 0;|....mf =|
|00003630| 20 61 70 2d 66 70 3b 0a | 0a 09 09 09 2f 2a 20 70 | ap-fp;.|..../* p|
|00003640| 72 69 6e 74 20 74 68 69 | 73 20 6c 69 6e 65 20 2a |rint thi|s line *|
|00003650| 2f 0a 09 09 09 66 6f 72 | 28 66 63 20 3d 20 30 3b |/....for|(fc = 0;|
|00003660| 20 66 63 20 3c 3d 20 6e | 66 3b 20 66 63 2b 2b 29 | fc <= n|f; fc++)|
|00003670| 7b 0a 09 09 09 09 70 75 | 74 66 28 66 76 5b 66 63 |{.....pu|tf(fv[fc|
|00003680| 5d 2d 31 29 3b 0a 09 09 | 09 09 69 66 28 66 63 20 |]-1);...|..if(fc |
|00003690| 21 3d 20 6e 66 29 20 70 | 75 74 63 68 61 72 28 6f |!= nf) p|utchar(o|
|000036a0| 66 73 29 3b 0a 09 09 09 | 7d 0a 09 09 09 69 66 28 |fs);....|}....if(|
|000036b0| 63 20 3d 3d 20 45 4f 46 | 29 20 62 72 65 61 6b 3b |c == EOF|) break;|
|000036c0| 0a 09 09 09 70 75 74 63 | 68 61 72 28 27 5c 6e 27 |....putc|har('\n'|
|000036d0| 29 3b 0a 09 09 09 63 70 | 20 3d 20 4c 3b 0a 09 09 |);....cp| = L;...|
|000036e0| 09 61 70 20 3d 20 66 70 | 3b 0a 09 09 09 2a 61 70 |.ap = fp|;....*ap|
|000036f0| 2b 2b 20 3d 20 63 70 3b | 0a 09 09 7d 0a 09 09 65 |++ = cp;|...}...e|
|00003700| 6c 73 65 20 69 66 28 63 | 20 3d 3d 20 69 66 73 29 |lse if(c| == ifs)|
|00003710| 20 7b 0a 09 09 09 2a 63 | 70 2b 2b 20 3d 20 30 3b | {....*c|p++ = 0;|
|00003720| 0a 09 09 09 2a 61 70 2b | 2b 20 3d 20 63 70 3b 0a |....*ap+|+ = cp;.|
|00003730| 09 09 7d 0a 09 09 65 6c | 73 65 20 2a 63 70 2b 2b |..}...el|se *cp++|
|00003740| 20 3d 20 63 3b 0a 09 7d | 0a 09 72 65 74 75 72 6e | = c;..}|..return|
|00003750| 28 30 29 3b 0a 7d 0a 0a | 2f 2a 20 6f 75 74 70 75 |(0);.}..|/* outpu|
|00003760| 74 20 66 69 65 6c 64 20 | 6e 20 66 72 6f 6d 20 63 |t field |n from c|
|00003770| 75 72 72 65 6e 74 20 6c | 69 6e 65 20 2a 2f 0a 70 |urrent l|ine */.p|
|00003780| 75 74 66 28 6e 29 0a 7b | 0a 09 72 65 67 69 73 74 |utf(n).{|..regist|
|00003790| 65 72 20 63 68 61 72 20 | 2a 63 70 20 3d 20 66 70 |er char |*cp = fp|
|000037a0| 5b 6e 5d 3b 0a 09 72 65 | 67 69 73 74 65 72 20 63 |[n];..re|gister c|
|000037b0| 68 61 72 20 63 3b 0a 0a | 09 69 66 28 6e 3c 30 20 |har c;..|.if(n<0 |
|000037c0| 7c 7c 20 6e 3e 3d 6d 66 | 29 20 72 65 74 75 72 6e ||| n>=mf|) return|
|000037d0| 3b 0a 09 77 68 69 6c 65 | 20 28 63 20 3d 20 2a 63 |;..while| (c = *c|
|000037e0| 70 2b 2b 29 20 70 75 74 | 63 68 61 72 28 63 29 3b |p++) put|char(c);|
|000037f0| 0a 7d 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00003800| 66 69 65 6c 64 2f 66 69 | 6e 67 65 72 00 00 00 00 |field/fi|nger....|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00003870| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00003880| 20 20 20 20 34 32 35 20 | 20 34 34 30 34 31 30 30 | 425 | 4404100|
|00003890| 35 32 32 20 20 20 36 33 | 33 34 00 20 00 00 00 00 |522 63|34. ....|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 3a 20 53 69 6c 76 65 72 | 74 20 76 61 72 69 61 6e |: Silver|t varian|
|00003a10| 74 20 6f 66 20 66 69 6e | 67 65 72 20 2d 2d 20 75 |t of fin|ger -- u|
|00003a20| 73 65 20 2d 61 20 66 6f | 72 20 61 6c 6c 20 69 6e |se -a fo|r all in|
|00003a30| 66 6f 0a 46 49 45 4c 44 | 3d 22 66 69 65 6c 64 20 |fo.FIELD|="field |
|00003a40| 2d 74 3a 20 31 20 33 20 | 34 20 35 20 36 22 0a 63 |-t: 1 3 |4 5 6".c|
|00003a50| 61 73 65 20 24 23 20 69 | 6e 0a 30 29 09 66 69 65 |ase $# i|n.0).fie|
|00003a60| 6c 64 20 2d 54 3a 20 31 | 20 35 20 3c 20 2f 65 74 |ld -T: 1| 5 < /et|
|00003a70| 63 2f 70 61 73 73 77 64 | 20 3b 3b 0a 2a 29 09 66 |c/passwd| ;;.*).f|
|00003a80| 6f 72 20 69 0a 09 64 6f | 09 63 61 73 65 20 24 69 |or i..do|.case $i|
|00003a90| 20 69 6e 0a 09 09 2d 61 | 29 09 46 49 45 4c 44 3d | in...-a|).FIELD=|
|00003aa0| 22 63 61 74 20 2d 76 22 | 20 3b 3b 0a 09 09 2d 2a |"cat -v"| ;;...-*|
|00003ab0| 29 09 65 63 68 6f 20 22 | 24 30 3a 20 75 6e 6b 6e |).echo "|$0: unkn|
|00003ac0| 6f 77 6e 20 66 6c 61 67 | 20 24 69 22 20 3b 20 65 |own flag| $i" ; e|
|00003ad0| 78 69 74 20 3b 3b 0a 09 | 09 2a 29 09 67 72 65 70 |xit ;;..|.*).grep|
|00003ae0| 20 22 5e 24 69 3a 22 20 | 2f 65 74 63 2f 70 61 73 | "^$i:" |/etc/pas|
|00003af0| 73 77 64 20 7c 20 24 46 | 49 45 4c 44 20 3b 3b 0a |swd | $F|IELD ;;.|
|00003b00| 09 09 65 73 61 63 0a 09 | 64 6f 6e 65 20 3b 3b 0a |..esac..|done ;;.|
|00003b10| 65 73 61 63 0a 00 00 00 | 00 00 00 00 00 00 00 00 |esac....|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 66 69 65 6c 64 2f 63 68 | 65 63 6b 70 00 00 00 00 |field/ch|eckp....|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 20 32 |.... 7|55 . 2|
|00003c70| 34 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |43 . |12 . |
|00003c80| 20 20 20 20 36 36 36 20 | 20 34 34 30 34 31 30 30 | 666 | 4404100|
|00003c90| 35 32 33 20 20 20 36 33 | 32 37 00 20 00 00 00 00 |523 63|27. ....|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 63 68 65 |#! /bin/|sh.# che|
|00003e10| 63 6b 20 2f 65 74 63 2f | 70 61 73 73 77 64 20 66 |ck /etc/|passwd f|
|00003e20| 6f 72 20 63 68 61 6e 67 | 65 73 20 6f 74 68 65 72 |or chang|es other|
|00003e30| 20 74 68 61 6e 20 6e 65 | 77 20 70 61 73 73 77 6f | than ne|w passwo|
|00003e40| 72 64 73 0a 50 41 54 48 | 3d 2f 75 73 72 2f 6e 65 |rds.PATH|=/usr/ne|
|00003e50| 77 3a 2f 75 73 72 2f 6c | 6f 63 61 6c 3a 2f 75 73 |w:/usr/l|ocal:/us|
|00003e60| 72 2f 62 69 6e 3a 2f 62 | 69 6e 0a 50 41 53 53 57 |r/bin:/b|in.PASSW|
|00003e70| 44 3d 2f 65 74 63 2f 70 | 61 73 73 77 64 0a 53 45 |D=/etc/p|asswd.SE|
|00003e80| 43 55 52 45 3d 2f 75 73 | 72 2f 61 64 6d 2f 73 65 |CURE=/us|r/adm/se|
|00003e90| 63 75 72 69 74 79 0a 53 | 54 4f 50 3d 24 53 45 43 |curity.S|TOP=$SEC|
|00003ea0| 55 52 45 2f 70 61 73 73 | 77 64 0a 54 45 4d 50 3d |URE/pass|wd.TEMP=|
|00003eb0| 2f 74 6d 70 2f 70 61 73 | 73 24 24 0a 44 49 46 46 |/tmp/pas|s$$.DIFF|
|00003ec0| 3d 2f 74 6d 70 2f 64 69 | 66 66 24 24 0a 74 72 61 |=/tmp/di|ff$$.tra|
|00003ed0| 70 20 27 2f 62 69 6e 2f | 72 6d 20 2d 66 20 24 54 |p '/bin/|rm -f $T|
|00003ee0| 45 4d 50 20 24 44 49 46 | 46 3b 65 78 69 74 27 20 |EMP $DIF|F;exit' |
|00003ef0| 30 20 31 20 32 20 33 20 | 31 35 0a 3c 20 24 50 41 |0 1 2 3 |15.< $PA|
|00003f00| 53 53 57 44 20 66 69 65 | 6c 64 20 2d 74 3a 20 31 |SSWD fie|ld -t: 1|
|00003f10| 20 33 20 34 20 35 20 36 | 20 37 20 3e 20 24 54 45 | 3 4 5 6| 7 > $TE|
|00003f20| 4d 50 0a 64 69 66 66 20 | 24 54 45 4d 50 20 24 53 |MP.diff |$TEMP $S|
|00003f30| 54 4f 50 20 3e 20 24 44 | 49 46 46 0a 69 66 09 74 |TOP > $D|IFF.if.t|
|00003f40| 65 73 74 20 2d 73 20 24 | 44 49 46 46 0a 74 68 65 |est -s $|DIFF.the|
|00003f50| 6e 09 65 63 68 6f 20 22 | 53 75 62 6a 65 63 74 3a |n.echo "|Subject:|
|00003f60| 20 43 68 61 6e 67 65 73 | 20 74 6f 20 2f 65 74 63 | Changes| to /etc|
|00003f70| 2f 70 61 73 73 77 64 22 | 20 3e 20 24 54 45 4d 50 |/passwd"| > $TEMP|
|00003f80| 0a 09 63 61 74 20 24 54 | 45 4d 50 20 24 44 49 46 |..cat $T|EMP $DIF|
|00003f90| 46 20 7c 20 6d 61 69 6c | 20 72 6f 6f 74 0a 09 65 |F | mail| root..e|
|00003fa0| 78 69 74 20 31 0a 65 6c | 73 65 0a 09 65 78 69 74 |xit 1.el|se..exit|
|00003fb0| 20 30 0a 66 69 0a 00 00 | 00 00 00 00 00 00 00 00 | 0.fi...|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+