Preface |
|
vii | |
|
|
1 | (8) |
|
|
1 | (2) |
|
|
3 | (1) |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
5 | (2) |
|
Style and Readability: Recap |
|
|
7 | (2) |
|
|
9 | (10) |
|
|
9 | (2) |
|
|
11 | (2) |
|
|
13 | (1) |
|
|
14 | (1) |
|
Developing and Testing for Loops |
|
|
15 | (1) |
|
|
16 | (1) |
|
Style and Readability: Recap |
|
|
17 | (2) |
|
|
19 | (12) |
|
|
19 | (2) |
|
|
21 | (1) |
|
|
21 | (1) |
|
|
21 | (2) |
|
|
23 | (5) |
|
|
28 | (1) |
|
Style and Readability: Recap |
|
|
29 | (2) |
|
|
31 | (12) |
|
|
31 | (1) |
|
|
32 | (1) |
|
|
32 | (1) |
|
|
33 | (1) |
|
Shorthand for dirname or Suffix Removal |
|
|
34 | (1) |
|
|
34 | (4) |
|
Conditional Substitutions |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
39 | (1) |
|
|
39 | (1) |
|
|
40 | (1) |
|
Style and Readability: Recap |
|
|
41 | (2) |
|
5 Expressions and Arithmetic |
|
|
43 | (8) |
|
|
44 | (2) |
|
|
46 | (1) |
|
|
47 | (2) |
|
Style and Readability: Recap |
|
|
49 | (2) |
|
|
51 | (8) |
|
|
51 | (1) |
|
|
52 | (1) |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
55 | (1) |
|
|
56 | (1) |
|
Getting or Using the Date and Time |
|
|
57 | (1) |
|
Printf for Reuse or Debugging |
|
|
58 | (1) |
|
Style and Readability: Recap |
|
|
58 | (1) |
|
|
59 | (14) |
|
|
60 | (1) |
|
|
61 | (4) |
|
|
65 | (4) |
|
A Simple Word Count Example |
|
|
69 | (3) |
|
Style and Readability: Recap |
|
|
72 | (1) |
|
|
73 | (12) |
|
|
73 | (1) |
|
|
74 | (1) |
|
|
75 | (1) |
|
|
76 | (3) |
|
|
79 | (3) |
|
|
82 | (1) |
|
|
83 | (1) |
|
Style and Readability: Recap |
|
|
83 | (2) |
|
|
85 | (16) |
|
|
85 | (1) |
|
|
85 | (1) |
|
|
86 | (3) |
|
|
89 | (1) |
|
Fiddling with $IFS for Fun and Profit, to Read Files |
|
|
89 | (3) |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
94 | (2) |
|
Unofficial bash Strict Mode |
|
|
96 | (1) |
|
|
96 | (1) |
|
|
97 | (1) |
|
Here-Documents and Here-Strings |
|
|
98 | (1) |
|
|
99 | (1) |
|
|
100 | (1) |
|
10 Beyond Idioms: Working with bash |
|
|
101 | (22) |
|
|
102 | (2) |
|
|
104 | (1) |
|
|
104 | (1) |
|
|
104 | (2) |
|
|
106 | (1) |
|
|
107 | (1) |
|
|
108 | (1) |
|
|
109 | (1) |
|
|
110 | (1) |
|
|
110 | (1) |
|
|
111 | (1) |
|
|
112 | (1) |
|
Grepping the Process List |
|
|
113 | (1) |
|
|
114 | (1) |
|
|
115 | (5) |
|
|
120 | (2) |
|
|
122 | (1) |
|
|
122 | (1) |
|
11 Developing Your Style Guide |
|
|
123 | (14) |
|
|
124 | (2) |
|
|
126 | (1) |
|
|
127 | (1) |
|
|
128 | (1) |
|
|
129 | (1) |
|
|
130 | (1) |
|
|
131 | (1) |
|
|
132 | (1) |
|
|
132 | (1) |
|
|
133 | (1) |
|
|
134 | (1) |
|
|
135 | (2) |
Appendix. The bash Idioms Style Guide |
|
137 | (8) |
Index |
|
145 | |