Debian Codegraph @

README

raw
1 SOME SCRIPTS WILL NOT RUN AS IS
2
3
4 Note that the source code for certain of the example shell scripts
5 have the "&lt;" and "&gt;" in place of angle brackets (< and >), or &amp; in
6 place of the ampersand (&). This is necessary for the Docbook SGML
7 conversion. If you plan to run these scripts from the enclosed source
8 files, then it will, of course, be necessary to restore the angle
9 brackets or ampersand.
10
11 &lt; becomes <
12 &gt; becomes >
13 &lt;&lt; becomes <<
14 &lt;&lt;&lt; becomes <<<
15 &gt;&gt; becomes >>
16 &amp; becomes &
17
18 In some of the below cases, only the comments are affected, and these scripts
19 require no fixups to execute as expected.
20
21
22 The following sed scriptlet will accomplish the fixup:
23
24 sed -e 's/&lt;/</g' -e 's/&gt;/>/g' SCRIPT.sh > FIXED_SCRIPT.sh
25
26 A followup double-check is advisable, of course.
27
28 =======================================================================
29
30
31 Scripts needing to be altered:
32 -----------------------------
33
34 Du.sh (line 19)
35 encryptedpw.sh (lines 27 and 35)
36 ex57.sh (comment in line 8)
37 ex70.sh (line 3)
38 ex71.sh (line 7)
39 ex71a.sh (line 8)
40 ex71b.sh (line 22)
41 logevents.sh (lines 31, 39-42, 47-8, 54, 56, 58, 61, 63, 67)
42 m4.sh (line 8: "\&amp;" --> \&)
43 pw.sh (comment in line 4)
44 read-r.sh (lines 5, 6, 20, 27)
45 rnd.sh (comments in lines 38, 55, 64)
46 rot13.sh (comment, line 6)
47 rot13a.sh (comment, line 5)
48 here-function.sh (line 16)
49 avoid-subshell.sh (lines 24, 25, and 33)
50 usb.sh (line 28)
51 prepend.sh (lines 18 and 28)
52 array-assign.bash ( comments on lines 18-19)
53 cdll (lines 51-53, 59, 63-69, 82-83, 85, 463, 521, 567-568, 570,
54 580-586, 637, 656-658)
55 directory-info.sh (lines 36, 166, 273 and 353)
56 is-spammer.sh (comments on lines 4, 35, and 51)
57 bashrc (comment on line 4)
58 commentblock.sh (lines 4 and 23)
59 self-document.sh (line 14)
60 self-document2.sh (line 8)
61 dev-tcp.sh (line 14)
62 archiveweblogs.sh (comment in line 4)
63 multiple-processes.sh (line 143)
64 catscripts.sh (lines 12 and 21)
65 is_spammer.bash (comments on various lines)
66 iscan.sh (comment in line 10)
67 Hash.lib, (comments in lines lines 103 and 116: & --> &amp;)
68 (comment in line 3: < --> &lt;, > --> &gt;)
69 hash-example.sh (comment in line 3: < --> &lt;, > --> &gt;)
70 quote-fetch.sh (comment in line 26: &amp; --> &)
71 ftpget.sh (comment in line 28)
72 whx.sh (comment in line 259)
73 pad.sh, (comments in line 6, lines 26, 27, 28, 29, 30, 33, 34).
74 nightly-backup.sh (comment in line 4)
75 tohtml.sh: lines 22-33
76 lines 35-36
77 lines 38-41
78 line 74
79 line 83
80 lines 100-101
81 In-line code block at beginning of "I/O Redirection" chapter, line 41.
82 In-line code block at "mkfifo" entro in "Miscellaneous Commands" section of
83 "External Filters, Programs and Commands" chapter.
84
85 insertion-sort.sh:
86 line 8 (comment)
87 line 44
88 line 45
89 line 57 (two instances)
90
91 tree2.sh:
92 line 38 (comment)
93 line 88
94
95 petals.sh
96 line 56
97
98 realname.sh
99 line 26
100
101 qky.sh
102 line 7
103 line 63
104 line 87
105 line 113
106 (The unaltered, executable script can be downloaded.
107 See: http://bash.deta.in/qky.README.html)
108
109 maned.sh
110 line 6 (comment)
111
112 progress-bar.sh
113 line 26
114 line 30
115 nim.sh
116 line 27
117
118 paragraph-spac3.sh
119 line 6
120
121 sw.sh
122 line 5 (comment)
123
124 here-commsub.sh
125 line 5
126
127 UseGetOpt.sh: line 4 (comment)
128 UseGetOpt-2.sh: line 11 (comment)
129
130 bash64.sh: line 4 (comment)
131
132 speech.sh: line 14