home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 61 6c 74 2e |Newsgrou|ps: alt.|
|00000010| 73 6f 75 72 63 65 73 0a | 46 72 6f 6d 3a 20 6a 6d |sources.|From: jm|
|00000020| 6e 40 69 62 69 7a 61 2e | 62 65 72 6b 65 6c 65 79 |n@ibiza.|berkeley|
|00000030| 2e 65 64 75 20 28 4a 61 | 6e 20 4d 61 72 6b 20 4e |.edu (Ja|n Mark N|
|00000040| 6f 77 6f 72 6f 6c 73 6b | 69 29 0a 53 75 62 6a 65 |oworolsk|i).Subje|
|00000050| 63 74 3a 20 5b 73 63 69 | 2e 65 6c 65 63 74 72 6f |ct: [sci|.electro|
|00000060| 6e 69 63 73 5d 20 73 70 | 69 63 65 33 20 70 6c 6f |nics] sp|ice3 plo|
|00000070| 74 20 62 65 61 75 74 69 | 66 69 65 72 0a 4d 65 73 |t beauti|fier.Mes|
|00000080| 73 61 67 65 2d 49 44 3a | 20 3c 31 39 39 30 4f 63 |sage-ID:| <1990Oc|
|00000090| 74 31 33 2e 30 34 33 31 | 31 37 2e 31 33 33 39 31 |t13.0431|17.13391|
|000000a0| 40 6d 61 74 68 2e 6c 73 | 61 2e 75 6d 69 63 68 2e |@math.ls|a.umich.|
|000000b0| 65 64 75 3e 0a 44 61 74 | 65 3a 20 53 61 74 2c 20 |edu>.Dat|e: Sat, |
|000000c0| 31 33 20 4f 63 74 20 39 | 30 20 30 34 3a 33 31 3a |13 Oct 9|0 04:31:|
|000000d0| 31 37 20 47 4d 54 0a 0a | 41 72 63 68 69 76 65 2d |17 GMT..|Archive-|
|000000e0| 6e 61 6d 65 3a 20 73 70 | 32 78 67 72 61 70 68 2f |name: sp|2xgraph/|
|000000f0| 31 32 2d 4f 63 74 2d 39 | 30 0a 4f 72 69 67 69 6e |12-Oct-9|0.Origin|
|00000100| 61 6c 2d 70 6f 73 74 69 | 6e 67 2d 62 79 3a 20 6a |al-posti|ng-by: j|
|00000110| 6d 6e 40 69 62 69 7a 61 | 2e 62 65 72 6b 65 6c 65 |mn@ibiza|.berkele|
|00000120| 79 2e 65 64 75 20 28 4a | 61 6e 20 4d 61 72 6b 20 |y.edu (J|an Mark |
|00000130| 4e 6f 77 6f 72 6f 6c 73 | 6b 69 29 0a 4f 72 69 67 |Noworols|ki).Orig|
|00000140| 69 6e 61 6c 2d 73 75 62 | 6a 65 63 74 3a 20 73 70 |inal-sub|ject: sp|
|00000150| 69 63 65 33 20 70 6c 6f | 74 20 62 65 61 75 74 69 |ice3 plo|t beauti|
|00000160| 66 69 65 72 0a 52 65 70 | 6f 73 74 65 64 2d 62 79 |fier.Rep|osted-by|
|00000170| 3a 20 65 6d 76 40 6d 61 | 74 68 2e 6c 73 61 2e 75 |: emv@ma|th.lsa.u|
|00000180| 6d 69 63 68 2e 65 64 75 | 20 28 45 64 77 61 72 64 |mich.edu| (Edward|
|00000190| 20 56 69 65 6c 6d 65 74 | 74 69 29 0a 0a 5b 52 65 | Vielmet|ti)..[Re|
|000001a0| 70 6f 73 74 65 64 20 66 | 72 6f 6d 20 73 63 69 2e |posted f|rom sci.|
|000001b0| 65 6c 65 63 74 72 6f 6e | 69 63 73 2e 0a 43 6f 6d |electron|ics..Com|
|000001c0| 6d 65 6e 74 73 20 6f 6e | 20 74 68 69 73 20 73 65 |ments on| this se|
|000001d0| 72 76 69 63 65 20 74 6f | 20 65 6d 76 40 6d 61 74 |rvice to| emv@mat|
|000001e0| 68 2e 6c 73 61 2e 75 6d | 69 63 68 2e 65 64 75 20 |h.lsa.um|ich.edu |
|000001f0| 28 45 64 77 61 72 64 20 | 56 69 65 6c 6d 65 74 74 |(Edward |Vielmett|
|00000200| 69 29 2e 5d 0a 0a 49 66 | 20 61 6e 79 20 6f 66 20 |i).]..If| any of |
|00000210| 79 6f 75 20 75 73 65 20 | 73 70 69 63 65 33 2c 20 |you use |spice3, |
|00000220| 79 6f 75 20 6e 6f 20 64 | 6f 75 62 74 20 68 61 76 |you no d|oubt hav|
|00000230| 65 20 68 61 64 20 6e 6f | 74 69 63 65 64 20 74 68 |e had no|ticed th|
|00000240| 65 20 6c 6f 77 2c 20 6c | 6f 77 20 71 75 61 6c 69 |e low, l|ow quali|
|00000250| 74 79 0a 6f 66 20 68 61 | 72 64 63 6f 70 79 20 70 |ty.of ha|rdcopy p|
|00000260| 6c 6f 74 73 20 28 49 20 | 61 6d 20 74 61 6c 6b 69 |lots (I |am talki|
|00000270| 6e 67 20 61 62 6f 75 74 | 20 74 68 65 20 6f 6e 65 |ng about| the one|
|00000280| 73 20 72 65 73 75 6c 74 | 69 6e 67 20 66 72 6f 6d |s result|ing from|
|00000290| 20 72 75 6e 6e 69 6e 67 | 20 75 6e 64 65 72 0a 58 | running| under.X|
|000002a0| 77 69 6e 64 6f 77 73 2c | 20 6e 6f 74 20 74 68 65 |windows,| not the|
|000002b0| 20 63 68 61 72 61 72 61 | 63 74 65 72 20 70 6c 6f | charara|cter plo|
|000002c0| 74 73 29 2e 0a 0a 57 65 | 6c 6c 20 49 20 64 69 64 |ts)...We|ll I did|
|000002d0| 2c 20 61 6e 64 20 73 6f | 20 49 20 73 61 74 20 64 |, and so| I sat d|
|000002e0| 6f 77 6e 20 61 6e 64 20 | 77 72 6f 74 65 20 61 20 |own and |wrote a |
|000002f0| 66 69 6c 74 65 72 20 74 | 6f 20 6d 61 6b 65 20 73 |filter t|o make s|
|00000300| 70 69 63 65 33 20 27 70 | 72 69 6e 74 27 0a 73 74 |pice3 'p|rint'.st|
|00000310| 61 74 65 6d 65 6e 74 20 | 6f 75 74 70 75 74 73 20 |atement |outputs |
|00000320| 73 75 69 74 61 62 6c 65 | 20 66 6f 72 20 69 6e 70 |suitable| for inp|
|00000330| 75 74 20 74 6f 20 78 67 | 72 61 70 68 2e 20 57 68 |ut to xg|raph. Wh|
|00000340| 69 63 68 20 69 6e 20 74 | 75 72 6e 20 6d 61 6b 65 |ich in t|urn make|
|00000350| 73 20 72 65 61 6c 6c 79 | 0a 6e 69 63 65 20 67 72 |s really|.nice gr|
|00000360| 61 70 68 73 20 77 68 69 | 63 68 20 79 6f 75 20 63 |aphs whi|ch you c|
|00000370| 61 6e 20 61 6c 73 6f 20 | 69 6e 63 6c 75 64 65 20 |an also |include |
|00000380| 69 6e 20 6c 61 74 65 78 | 20 64 6f 63 75 6d 65 6e |in latex| documen|
|00000390| 74 73 20 69 66 20 79 6f | 75 20 77 61 6e 74 2e 0a |ts if yo|u want..|
|000003a0| 0a 53 6f 6d 65 20 6f 66 | 20 79 6f 75 20 6d 69 67 |.Some of| you mig|
|000003b0| 68 74 20 77 61 6e 74 20 | 74 6f 20 75 73 65 20 69 |ht want |to use i|
|000003c0| 74 2c 20 73 6f 20 68 65 | 72 65 20 69 74 20 69 73 |t, so he|re it is|
|000003d0| 3a 0a 28 68 6f 77 20 74 | 6f 20 67 65 74 20 78 67 |:.(how t|o get xg|
|000003e0| 72 61 70 68 20 69 73 20 | 64 65 73 63 72 69 62 65 |raph is |describe|
|000003f0| 64 20 69 6e 20 74 68 65 | 20 73 68 61 72 20 66 69 |d in the| shar fi|
|00000400| 6c 65 20 61 6c 73 6f 29 | 0a 0a 23 21 20 2f 62 69 |le also)|..#! /bi|
|00000410| 6e 2f 73 68 0a 23 20 54 | 68 69 73 20 69 73 20 61 |n/sh.# T|his is a|
|00000420| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2c 20 | shell a|rchive, |
|00000430| 6d 65 61 6e 69 6e 67 3a | 0a 23 20 31 2e 20 52 65 |meaning:|.# 1. Re|
|00000440| 6d 6f 76 65 20 65 76 65 | 72 79 74 68 69 6e 67 20 |move eve|rything |
|00000450| 61 62 6f 76 65 20 74 68 | 65 20 23 21 20 2f 62 69 |above th|e #! /bi|
|00000460| 6e 2f 73 68 20 6c 69 6e | 65 2e 0a 23 20 32 2e 20 |n/sh lin|e..# 2. |
|00000470| 53 61 76 65 20 74 68 65 | 20 72 65 73 75 6c 74 69 |Save the| resulti|
|00000480| 6e 67 20 74 65 78 74 20 | 69 6e 20 61 20 66 69 6c |ng text |in a fil|
|00000490| 65 2e 0a 23 20 33 2e 20 | 45 78 65 63 75 74 65 20 |e..# 3. |Execute |
|000004a0| 74 68 65 20 66 69 6c 65 | 20 77 69 74 68 20 2f 62 |the file| with /b|
|000004b0| 69 6e 2f 73 68 20 28 6e | 6f 74 20 63 73 68 29 20 |in/sh (n|ot csh) |
|000004c0| 74 6f 20 63 72 65 61 74 | 65 20 74 68 65 20 66 69 |to creat|e the fi|
|000004d0| 6c 65 73 3a 0a 23 09 72 | 65 61 64 6d 65 0a 23 09 |les:.#.r|eadme.#.|
|000004e0| 73 70 32 78 67 72 61 70 | 68 0a 23 09 73 70 32 78 |sp2xgrap|h.#.sp2x|
|000004f0| 67 72 61 70 68 2e 73 68 | 61 72 0a 23 20 54 68 69 |graph.sh|ar.# Thi|
|00000500| 73 20 61 72 63 68 69 76 | 65 20 63 72 65 61 74 65 |s archiv|e create|
|00000510| 64 3a 20 54 68 75 20 4f | 63 74 20 31 31 20 32 32 |d: Thu O|ct 11 22|
|00000520| 3a 30 33 3a 34 36 20 31 | 39 39 30 0a 65 78 70 6f |:03:46 1|990.expo|
|00000530| 72 74 20 50 41 54 48 3b | 20 50 41 54 48 3d 2f 62 |rt PATH;| PATH=/b|
|00000540| 69 6e 3a 24 50 41 54 48 | 0a 69 66 20 74 65 73 74 |in:$PATH|.if test|
|00000550| 20 2d 66 20 27 72 65 61 | 64 6d 65 27 0a 74 68 65 | -f 'rea|dme'.the|
|00000560| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|00000570| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00000580| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00000590| 22 27 72 65 61 64 6d 65 | 27 22 0a 65 6c 73 65 0a |"'readme|'".else.|
|000005a0| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|000005b0| 20 3e 20 27 72 65 61 64 | 6d 65 27 0a 54 68 69 73 | > 'read|me'.This|
|000005c0| 20 73 68 65 6c 6c 20 73 | 63 72 69 70 74 20 69 73 | shell s|cript is|
|000005d0| 20 61 20 66 69 6c 74 65 | 72 20 74 6f 20 68 65 6c | a filte|r to hel|
|000005e0| 70 20 6d 61 6b 65 20 70 | 72 65 73 65 6e 74 61 74 |p make p|resentat|
|000005f0| 69 6f 6e 20 71 75 61 6c | 69 74 79 20 67 72 61 70 |ion qual|ity grap|
|00000600| 68 73 20 66 72 6f 6d 0a | 73 70 69 63 65 33 20 6f |hs from.|spice3 o|
|00000610| 75 74 70 75 74 2c 20 69 | 74 20 66 69 6c 74 65 72 |utput, i|t filter|
|00000620| 73 20 6f 75 74 70 75 74 | 20 66 72 6f 6d 20 73 70 |s output| from sp|
|00000630| 69 63 65 33 20 27 70 72 | 69 6e 74 27 20 73 74 61 |ice3 'pr|int' sta|
|00000640| 74 65 6d 65 6e 74 73 20 | 74 6f 20 61 20 66 6f 72 |tements |to a for|
|00000650| 6d 20 0a 73 75 69 74 61 | 62 6c 65 20 66 6f 72 20 |m .suita|ble for |
|00000660| 69 6e 70 75 74 20 74 6f | 20 78 67 72 61 70 68 2e |input to| xgraph.|
|00000670| 0a 0a 78 67 72 61 70 68 | 20 69 73 20 61 20 70 72 |..xgraph| is a pr|
|00000680| 6f 67 72 61 6d 20 74 6f | 20 70 6c 6f 74 20 64 61 |ogram to| plot da|
|00000690| 74 61 20 73 65 74 73 20 | 6f 6e 20 61 6e 20 58 77 |ta sets |on an Xw|
|000006a0| 69 6e 64 6f 77 73 20 64 | 69 73 70 6c 61 79 2c 20 |indows d|isplay, |
|000006b0| 69 74 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 0a |it is av|ailable.|
|000006c0| 62 79 20 61 6e 6f 6e 79 | 6d 6f 75 73 20 66 74 70 |by anony|mous ftp|
|000006d0| 20 66 72 6f 6d 20 73 68 | 61 6d 62 68 61 6c 61 2e | from sh|ambhala.|
|000006e0| 62 65 72 6b 65 6c 65 79 | 2e 65 64 75 20 28 31 32 |berkeley|.edu (12|
|000006f0| 38 2e 33 32 2e 31 33 32 | 2e 35 34 29 2e 20 54 68 |8.32.132|.54). Th|
|00000700| 65 73 65 20 67 72 61 70 | 68 73 20 63 61 6e 0a 74 |ese grap|hs can.t|
|00000710| 68 65 6e 20 62 65 20 6f | 75 74 70 75 74 20 69 6e |hen be o|utput in|
|00000720| 20 73 65 76 65 72 61 6c | 20 66 6f 72 6d 61 74 73 | several| formats|
|00000730| 20 69 6e 63 6c 75 64 69 | 6e 67 20 48 50 47 4c 2c | includi|ng HPGL,|
|00000740| 20 61 6e 64 20 65 6e 63 | 61 70 73 75 6c 61 74 65 | and enc|apsulate|
|00000750| 64 20 70 6f 73 74 73 63 | 72 69 70 74 2e 0a 0a 52 |d postsc|ript...R|
|00000760| 65 73 75 6c 74 69 6e 67 | 20 6f 75 74 70 75 74 20 |esulting| output |
|00000770| 69 73 20 6d 75 63 68 20 | 62 65 74 74 65 72 20 74 |is much |better t|
|00000780| 68 61 6e 20 77 68 61 74 | 20 79 6f 75 20 63 61 6e |han what| you can|
|00000790| 20 67 65 74 20 66 72 6f | 6d 20 68 61 72 64 63 6f | get fro|m hardco|
|000007a0| 70 69 65 73 0a 6f 66 20 | 70 6c 6f 74 73 20 69 6e |pies.of |plots in|
|000007b0| 20 73 70 69 63 65 33 2c | 20 61 6e 64 20 74 6f 20 | spice3,| and to |
|000007c0| 62 6f 6f 74 20 69 74 20 | 63 61 6e 20 62 65 20 69 |boot it |can be i|
|000007d0| 6e 63 6c 75 64 65 64 20 | 61 73 20 65 6e 63 61 70 |ncluded |as encap|
|000007e0| 73 75 6c 61 74 65 64 20 | 70 6f 73 74 73 63 72 69 |sulated |postscri|
|000007f0| 70 74 0a 69 6e 20 6c 61 | 74 65 78 20 64 6f 63 75 |pt.in la|tex docu|
|00000800| 6d 65 6e 74 73 20 28 64 | 6f 6e 27 74 20 61 73 6b |ments (d|on't ask|
|00000810| 20 6d 65 20 68 6f 77 20 | 74 6f 20 64 6f 20 74 68 | me how |to do th|
|00000820| 69 73 2c 20 49 20 68 61 | 76 65 6e 27 74 20 74 72 |is, I ha|ven't tr|
|00000830| 69 65 64 20 79 65 74 29 | 2e 0a 0a 42 75 67 20 72 |ied yet)|...Bug r|
|00000840| 65 70 6f 72 74 73 20 61 | 6e 64 20 28 70 72 65 66 |eports a|nd (pref|
|00000850| 65 72 61 62 6c 79 29 20 | 69 6d 70 72 6f 76 65 6d |erably) |improvem|
|00000860| 65 6e 74 73 20 74 6f 20 | 6a 6d 6e 40 75 6e 69 74 |ents to |jmn@unit|
|00000870| 65 64 2e 62 65 72 6b 65 | 6c 65 79 2e 65 64 75 0a |ed.berke|ley.edu.|
|00000880| 53 48 41 52 5f 45 4f 46 | 0a 66 69 20 23 20 65 6e |SHAR_EOF|.fi # en|
|00000890| 64 20 6f 66 20 6f 76 65 | 72 77 72 69 74 69 6e 67 |d of ove|rwriting|
|000008a0| 20 63 68 65 63 6b 0a 69 | 66 20 74 65 73 74 20 2d | check.i|f test -|
|000008b0| 66 20 27 73 70 32 78 67 | 72 61 70 68 27 0a 74 68 |f 'sp2xg|raph'.th|
|000008c0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000008d0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|000008e0| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|000008f0| 20 22 27 73 70 32 78 67 | 72 61 70 68 27 22 0a 65 | "'sp2xg|raph'".e|
|00000900| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00000910| 5f 45 4f 46 20 3e 20 27 | 73 70 32 78 67 72 61 70 |_EOF > '|sp2xgrap|
|00000920| 68 27 0a 23 21 2f 62 69 | 6e 2f 63 73 68 20 0a 73 |h'.#!/bi|n/csh .s|
|00000930| 65 74 20 79 6c 61 62 65 | 6c 3d 22 56 6f 6c 74 61 |et ylabe|l="Volta|
|00000940| 67 65 22 0a 73 65 74 20 | 78 6c 61 62 65 6c 3d 22 |ge".set |xlabel="|
|00000950| 54 69 6d 65 22 0a 77 68 | 69 6c 65 20 28 24 23 61 |Time".wh|ile ($#a|
|00000960| 72 67 76 20 3e 20 30 29 | 20 0a 09 73 77 69 74 63 |rgv > 0)| ..switc|
|00000970| 68 20 28 22 24 61 72 67 | 76 5b 31 5d 22 29 0a 09 |h ("$arg|v[1]")..|
|00000980| 63 61 73 65 20 2d 69 3a | 0a 09 09 69 66 20 28 24 |case -i:|...if ($|
|00000990| 23 61 72 67 76 20 3c 31 | 29 20 67 6f 74 6f 20 75 |#argv <1|) goto u|
|000009a0| 73 61 67 65 65 72 72 6f | 72 0a 09 09 73 65 74 20 |sageerro|r...set |
|000009b0| 79 6c 61 62 65 6c 3d 22 | 43 75 72 72 65 6e 74 22 |ylabel="|Current"|
|000009c0| 0a 09 09 73 68 69 66 74 | 0a 09 09 62 72 65 61 6b |...shift|...break|
|000009d0| 73 77 0a 09 63 61 73 65 | 20 2d 66 3a 0a 09 09 69 |sw..case| -f:...i|
|000009e0| 66 20 28 24 23 61 72 67 | 76 20 3c 20 31 29 20 67 |f ($#arg|v < 1) g|
|000009f0| 6f 74 6f 20 75 73 61 67 | 65 65 72 72 6f 72 0a 09 |oto usag|eerror..|
|00000a00| 09 73 65 74 20 78 6c 61 | 62 65 6c 3d 22 46 72 65 |.set xla|bel="Fre|
|00000a10| 71 75 65 6e 63 79 22 0a | 09 09 73 68 69 66 74 0a |quency".|..shift.|
|00000a20| 09 09 62 72 65 61 6b 73 | 77 0a 09 63 61 73 65 20 |..breaks|w..case |
|00000a30| 2d 78 6c 3a 0a 09 09 69 | 66 20 28 24 23 61 72 67 |-xl:...i|f ($#arg|
|00000a40| 76 20 3c 20 32 29 20 67 | 6f 74 6f 20 75 73 61 67 |v < 2) g|oto usag|
|00000a50| 65 65 72 72 6f 72 0a 09 | 09 73 65 74 20 78 6c 61 |eerror..|.set xla|
|00000a60| 62 65 6c 3d 22 24 61 72 | 67 76 5b 32 5d 22 0a 09 |bel="$ar|gv[2]"..|
|00000a70| 09 73 68 69 66 74 0a 09 | 09 73 68 69 66 74 0a 09 |.shift..|.shift..|
|00000a80| 09 62 72 65 61 6b 73 77 | 0a 09 63 61 73 65 20 2d |.breaksw|..case -|
|00000a90| 79 6c 3a 0a 09 09 69 66 | 20 28 24 23 61 72 67 76 |yl:...if| ($#argv|
|00000aa0| 20 3c 20 32 29 20 67 6f | 74 6f 20 75 73 61 67 65 | < 2) go|to usage|
|00000ab0| 65 72 72 6f 72 0a 09 09 | 73 65 74 20 79 6c 61 62 |error...|set ylab|
|00000ac0| 65 6c 3d 22 24 61 72 67 | 76 5b 32 5d 22 0a 09 09 |el="$arg|v[2]"...|
|00000ad0| 73 68 69 66 74 0a 09 09 | 73 68 69 66 74 0a 09 09 |shift...|shift...|
|00000ae0| 62 72 65 61 6b 73 77 0a | 09 63 61 73 65 20 2d 70 |breaksw.|.case -p|
|00000af0| 6e 3a 0a 09 09 69 66 20 | 28 24 23 61 72 67 76 20 |n:...if |($#argv |
|00000b00| 3c 20 32 29 20 67 6f 74 | 6f 20 75 73 61 67 65 65 |< 2) got|o usagee|
|00000b10| 72 72 6f 72 0a 09 09 73 | 65 74 20 70 6c 6f 74 6e |rror...s|et plotn|
|00000b20| 61 6d 65 3d 22 24 61 72 | 67 76 5b 32 5d 22 0a 09 |ame="$ar|gv[2]"..|
|00000b30| 09 73 68 69 66 74 0a 09 | 09 73 68 69 66 74 0a 09 |.shift..|.shift..|
|00000b40| 09 62 72 65 61 6b 73 77 | 0a 09 63 61 73 65 20 2d |.breaksw|..case -|
|00000b50| 73 3a 0a 09 09 73 65 74 | 20 66 6e 09 0a 09 09 69 |s:...set| fn....i|
|00000b60| 66 20 21 28 24 3f 70 6c | 6f 74 6e 61 6d 65 29 20 |f !($?pl|otname) |
|00000b70| 73 65 74 20 70 6c 6f 74 | 6e 61 6d 65 3d 24 66 6e |set plot|name=$fn|
|00000b80| 20 65 6e 64 69 66 0a 09 | 09 73 68 69 66 74 0a 09 | endif..|.shift..|
|00000b90| 09 62 72 65 61 6b 73 77 | 0a 09 64 65 66 61 75 6c |.breaksw|..defaul|
|00000ba0| 74 3a 0a 09 09 73 65 74 | 20 66 6e 3d 24 61 72 67 |t:...set| fn=$arg|
|00000bb0| 76 5b 31 5d 0a 09 09 69 | 66 20 21 28 24 3f 70 6c |v[1]...i|f !($?pl|
|00000bc0| 6f 74 6e 61 6d 65 29 20 | 73 65 74 20 70 6c 6f 74 |otname) |set plot|
|00000bd0| 6e 61 6d 65 3d 24 66 6e | 20 65 6e 64 69 66 0a 09 |name=$fn| endif..|
|00000be0| 09 73 68 69 66 74 0a 09 | 09 62 72 65 61 6b 73 77 |.shift..|.breaksw|
|00000bf0| 0a 09 65 6e 64 73 77 0a | 65 6e 64 0a 0a 69 66 20 |..endsw.|end..if |
|00000c00| 28 24 3f 66 6e 29 20 74 | 68 65 6e 0a 73 65 64 20 |($?fn) t|hen.sed |
|00000c10| 2d 65 20 27 2f 5c 0c 24 | 2f 2c 2f 5e 2d 2d 2d 2d |-e '/\.$|/,/^----|
|00000c20| 2f 64 27 20 2d 65 20 27 | 73 2f 5e 49 6e 64 65 78 |/d' -e '|s/^Index|
|00000c30| 20 20 2a 5b 5e 20 5d 2a | 20 20 2a 2f 5c 22 2f 27 | *[^ ]*| */\"/'|
|00000c40| 20 2d 65 20 27 73 2f 5e | 20 20 2a 2e 2a 24 2f 2f | -e 's/^| *.*$//|
|00000c50| 27 20 2d 65 20 27 2f 5e | 2d 2d 2a 2f 64 27 20 2d |' -e '/^|--*/d' -|
|00000c60| 65 20 27 73 2f 5e 30 20 | 2a 2f 6d 6f 76 65 20 2f |e 's/^0 |*/move /|
|00000c70| 27 20 2d 65 20 27 73 2f | 5e 5b 30 2d 39 5d 2a 2f |' -e 's/|^[0-9]*/|
|00000c80| 2f 27 20 2d 65 20 27 31 | 69 5c 5c 0a 54 69 74 6c |/' -e '1|i\\.Titl|
|00000c90| 65 54 65 78 74 3a 20 27 | 22 24 70 6c 6f 74 6e 61 |eText: '|"$plotna|
|00000ca0| 6d 65 22 27 5c 5c 0a 58 | 55 6e 69 74 54 65 78 74 |me"'\\.X|UnitText|
|00000cb0| 3a 20 27 22 24 78 6c 61 | 62 65 6c 22 27 5c 5c 0a |: '"$xla|bel"'\\.|
|00000cc0| 59 55 6e 69 74 54 65 78 | 74 3a 20 27 22 24 79 6c |YUnitTex|t: '"$yl|
|00000cd0| 61 62 65 6c 22 27 20 27 | 20 2d 65 20 27 73 2f 5c |abel"' '| -e 's/\|
|00000ce0| 2c 5b 20 09 5d 2a 5b 2b | 2d 30 2d 39 65 5d 2a 2f |,[ .]*[+|-0-9e]*/|
|00000cf0| 2f 67 27 20 24 66 6e 0a | 65 6c 73 65 0a 75 73 61 |/g' $fn.|else.usa|
|00000d00| 67 65 3a 0a 65 63 68 6f | 20 2d 6e 0a 65 63 68 6f |ge:.echo| -n.echo|
|00000d10| 20 27 55 73 61 67 65 3a | 27 22 20 24 30 20 5b 6f | 'Usage:|'" $0 [o|
|00000d20| 70 74 69 6f 6e 73 5d 20 | 66 69 6c 65 6e 61 6d 65 |ptions] |filename|
|00000d30| 22 0a 65 63 68 6f 20 22 | 54 68 69 73 20 70 72 6f |".echo "|This pro|
|00000d40| 67 72 61 6d 20 74 72 61 | 6e 73 6c 61 74 65 73 20 |gram tra|nslates |
|00000d50| 73 70 69 63 65 33 20 70 | 72 69 6e 74 20 63 6f 6d |spice3 p|rint com|
|00000d60| 6d 61 6e 64 20 6f 75 74 | 70 75 74 20 74 6f 20 78 |mand out|put to x|
|00000d70| 67 72 61 70 68 20 69 6e | 70 75 74 20 66 6f 72 6d |graph in|put form|
|00000d80| 61 74 2e 22 0a 65 63 68 | 6f 20 22 49 74 20 57 49 |at.".ech|o "It WI|
|00000d90| 4c 4c 20 68 61 6e 64 6c | 65 20 6d 75 6c 74 69 70 |LL handl|e multip|
|00000da0| 6c 65 20 76 61 72 69 61 | 62 6c 65 73 20 69 6e 20 |le varia|bles in |
|00000db0| 6f 6e 65 20 66 69 6c 65 | 2d 20 70 72 6f 76 69 64 |one file|- provid|
|00000dc0| 65 64 20 74 68 65 79 20 | 77 65 72 65 20 70 75 74 |ed they |were put|
|00000dd0| 20 74 68 65 72 65 22 0a | 65 63 68 6f 20 22 62 79 | there".|echo "by|
|00000de0| 20 5f 63 6f 6e 73 65 63 | 75 74 69 76 65 5f 20 70 | _consec|utive_ p|
|00000df0| 72 69 6e 74 20 73 74 61 | 74 65 6d 65 6e 74 73 2e |rint sta|tements.|
|00000e00| 20 69 65 2e 20 27 70 72 | 69 6e 74 20 69 31 20 69 | ie. 'pr|int i1 i|
|00000e10| 32 20 3e 20 66 69 6c 65 | 6e 61 6d 65 27 20 77 69 |2 > file|name' wi|
|00000e20| 6c 6c 20 6e 6f 74 20 77 | 6f 72 6b 22 0a 65 63 68 |ll not w|ork".ech|
|00000e30| 6f 20 22 62 75 74 20 27 | 70 72 69 6e 74 20 69 31 |o "but '|print i1|
|00000e40| 20 3e 20 66 69 6c 65 6e | 61 6d 65 27 20 66 6f 6c | > filen|ame' fol|
|00000e50| 6c 6f 77 65 64 20 62 79 | 20 27 70 72 69 6e 74 20 |lowed by| 'print |
|00000e60| 69 32 20 3e 3e 20 66 69 | 6c 65 6e 61 6d 65 27 20 |i2 >> fi|lename' |
|00000e70| 57 49 4c 4c 20 77 6f 72 | 6b 2e 22 0a 65 63 68 6f |WILL wor|k.".echo|
|00000e80| 20 22 4f 75 74 70 75 74 | 20 69 73 20 6f 6e 20 73 | "Output| is on s|
|00000e90| 74 64 6f 75 74 2e 20 41 | 75 74 68 6f 72 3a 20 6a |tdout. A|uthor: j|
|00000ea0| 6d 6e 40 70 6f 77 65 72 | 2e 62 65 72 6b 65 6c 65 |mn@power|.berkele|
|00000eb0| 79 2e 65 64 75 22 0a 65 | 63 68 6f 20 22 4f 70 74 |y.edu".e|cho "Opt|
|00000ec0| 69 6f 6e 73 20 61 72 65 | 3a 22 0a 65 63 68 6f 20 |ions are|:".echo |
|00000ed0| 22 20 20 2d 69 09 09 53 | 65 74 20 59 41 78 69 73 |" -i..S|et YAxis|
|00000ee0| 4c 61 62 65 6c 20 74 6f | 20 27 43 75 72 72 65 6e |Label to| 'Curren|
|00000ef0| 74 27 20 28 64 65 66 61 | 75 6c 74 20 69 73 20 27 |t' (defa|ult is '|
|00000f00| 56 6f 6c 74 61 67 65 27 | 29 22 0a 65 63 68 6f 20 |Voltage'|)".echo |
|00000f10| 22 20 20 2d 66 20 09 09 | 53 65 74 20 58 61 78 69 |" -f ..|Set Xaxi|
|00000f20| 73 4c 61 62 65 6c 20 74 | 6f 20 27 46 72 65 71 75 |sLabel t|o 'Frequ|
|00000f30| 65 6e 63 79 27 20 28 64 | 65 66 61 75 6c 74 20 69 |ency' (d|efault i|
|00000f40| 73 20 27 54 69 6d 65 27 | 29 22 0a 65 63 68 6f 20 |s 'Time'|)".echo |
|00000f50| 22 20 20 2d 78 6c 20 58 | 4e 61 6d 65 09 53 65 74 |" -xl X|Name.Set|
|00000f60| 20 58 61 78 69 73 4c 61 | 62 65 6c 20 74 6f 20 58 | XaxisLa|bel to X|
|00000f70| 6e 61 6d 65 22 0a 65 63 | 68 6f 20 22 20 20 2d 79 |name".ec|ho " -y|
|00000f80| 6c 20 59 4e 61 6d 65 09 | 53 65 74 20 59 61 78 69 |l YName.|Set Yaxi|
|00000f90| 73 4c 61 62 65 6c 20 74 | 6f 20 59 6e 61 6d 65 22 |sLabel t|o Yname"|
|00000fa0| 0a 65 63 68 6f 20 22 20 | 20 2d 70 6e 20 50 6c 6f |.echo " | -pn Plo|
|00000fb0| 74 4e 61 6d 65 09 53 65 | 74 20 50 6c 6f 74 54 69 |tName.Se|t PlotTi|
|00000fc0| 74 6c 65 20 74 6f 20 50 | 6c 6f 74 4e 61 6d 65 20 |tle to P|lotName |
|00000fd0| 28 64 65 66 61 75 6c 74 | 20 69 73 20 66 69 6c 65 |(default| is file|
|00000fe0| 6e 61 6d 65 29 22 0a 65 | 63 68 6f 20 22 20 20 2d |name)".e|cho " -|
|00000ff0| 73 09 09 54 61 6b 65 20 | 69 6e 70 75 74 20 66 72 |s..Take |input fr|
|00001000| 6f 6d 20 73 74 64 69 6e | 22 0a 65 63 68 6f 20 2d |om stdin|".echo -|
|00001010| 6e 0a 65 63 68 6f 20 22 | 45 78 61 6d 70 6c 65 20 |n.echo "|Example |
|00001020| 55 73 61 67 65 3a 22 0a | 65 63 68 6f 20 22 24 30 |Usage:".|echo "$0|
|00001030| 20 2d 78 6c 20 27 6c 6f | 67 28 66 72 65 71 75 65 | -xl 'lo|g(freque|
|00001040| 6e 63 79 29 27 20 2d 79 | 6c 20 27 47 61 69 6e 28 |ncy)' -y|l 'Gain(|
|00001050| 64 62 29 27 20 2d 70 6e | 20 27 37 34 31 20 50 6c |db)' -pn| '741 Pl|
|00001060| 6f 74 27 20 66 69 6c 65 | 6e 61 6d 65 20 7c 20 78 |ot' file|name | x|
|00001070| 67 72 61 70 68 22 0a 65 | 63 68 6f 20 22 77 69 6c |graph".e|cho "wil|
|00001080| 6c 20 70 6c 6f 74 20 61 | 20 67 72 61 70 68 20 63 |l plot a| graph c|
|00001090| 61 6c 6c 65 64 20 27 37 | 34 31 20 50 6c 6f 74 27 |alled '7|41 Plot'|
|000010a0| 20 77 69 74 68 20 47 61 | 69 6e 28 64 62 29 20 76 | with Ga|in(db) v|
|000010b0| 73 20 6c 6f 67 28 66 72 | 65 71 75 65 6e 63 79 29 |s log(fr|equency)|
|000010c0| 2e 22 0a 65 78 69 74 20 | 31 0a 75 73 61 67 65 65 |.".exit |1.usagee|
|000010d0| 72 72 6f 72 3a 0a 09 65 | 63 68 6f 20 24 61 72 67 |rror:..e|cho $arg|
|000010e0| 76 5b 31 5d 20 6e 65 65 | 64 73 20 6d 6f 72 65 20 |v[1] nee|ds more |
|000010f0| 61 72 67 75 6d 65 6e 74 | 73 21 0a 09 67 6f 74 6f |argument|s!..goto|
|00001100| 20 75 73 61 67 65 0a 0a | 65 6e 64 69 66 0a 53 48 | usage..|endif.SH|
|00001110| 41 52 5f 45 4f 46 0a 63 | 68 6d 6f 64 20 2b 78 20 |AR_EOF.c|hmod +x |
|00001120| 27 73 70 32 78 67 72 61 | 70 68 27 0a 66 69 20 23 |'sp2xgra|ph'.fi #|
|00001130| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00001140| 69 6e 67 20 63 68 65 63 | 6b 0a 69 66 20 74 65 73 |ing chec|k.if tes|
|00001150| 74 20 2d 66 20 27 73 70 | 32 78 67 72 61 70 68 2e |t -f 'sp|2xgraph.|
|00001160| 73 68 61 72 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |shar'.th|en..echo|
|00001170| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00001180| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00001190| 69 6e 67 20 66 69 6c 65 | 20 22 27 73 70 32 78 67 |ing file| "'sp2xg|
|000011a0| 72 61 70 68 2e 73 68 61 | 72 27 22 0a 65 6c 73 65 |raph.sha|r'".else|
|000011b0| 0a 63 61 74 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |.cat << |\SHAR_EO|
|000011c0| 46 20 3e 20 27 73 70 32 | 78 67 72 61 70 68 2e 73 |F > 'sp2|xgraph.s|
|000011d0| 68 61 72 27 0a 0a 53 48 | 41 52 5f 45 4f 46 0a 66 |har'..SH|AR_EOF.f|
|000011e0| 69 20 23 20 65 6e 64 20 | 6f 66 20 6f 76 65 72 77 |i # end |of overw|
|000011f0| 72 69 74 69 6e 67 20 63 | 68 65 63 6b 0a 23 09 45 |riting c|heck.#.E|
|00001200| 6e 64 20 6f 66 20 73 68 | 65 6c 6c 20 61 72 63 68 |nd of sh|ell arch|
|00001210| 69 76 65 0a 65 78 69 74 | 20 30 0a 0a 2d 2d 0a 22 |ive.exit| 0..--."|
|00001220| 54 68 65 72 65 27 73 20 | 61 20 72 65 61 6c 6c 79 |There's |a really|
|00001230| 20 66 69 6e 65 20 6c 69 | 6e 65 20 62 65 74 77 65 | fine li|ne betwe|
|00001240| 65 6e 20 63 6c 65 76 65 | 72 20 61 6e 64 20 73 74 |en cleve|r and st|
|00001250| 75 70 69 64 22 0a 09 09 | 09 09 4e 69 67 65 6c 2d |upid"...|..Nigel-|
|00001260| 20 4c 65 61 64 20 47 75 | 69 74 61 72 20 28 53 70 | Lead Gu|itar (Sp|
|00001270| 69 6e 61 6c 20 54 61 70 | 29 0a 6a 6d 6e 40 75 6e |inal Tap|).jmn@un|
|00001280| 69 74 65 64 2e 62 65 72 | 6b 65 6c 65 79 2e 65 64 |ited.ber|keley.ed|
|00001290| 75 2c 20 6f 72 20 6a 6d | 6e 40 70 6f 77 65 72 2e |u, or jm|n@power.|
|000012a0| 62 65 72 6b 65 6c 65 79 | 2e 65 64 75 0a |berkeley|.edu. |
+--------+-------------------------+-------------------------+--------+--------+