Commit Graph

43 Commits

Author SHA1 Message Date
Andreas Nordal
5fd5d82ffe (fix #26) Howto: Replace echo → printf where it matters 2019-06-03 23:22:20 +02:00
Andreas Nordal
3153d68362 howto: Dependencies 2019-05-02 21:41:30 +00:00
Andreas Nordal
623dbec408 How to: check if a variable exists 2019-03-28 22:59:32 +01:00
Andreas Nordal
4aa879bf4a howto: Commands with better alternatives 2019-02-26 22:02:02 +00:00
Andreas Nordal
1652f09014 howto: Big wording improvement 2019-02-26 22:02:02 +00:00
Andreas Nordal
55fc9ed370 how to: Expand the array example with a loop 2019-02-21 23:33:15 +00:00
Andreas Nordal
0c09ac1108 How to: Looking at negated command's exit status is uncool
fixes #24
2019-01-07 02:37:21 +01:00
anordal
84d5251569 how to: Loop corollary 2018-09-12 21:53:54 +02:00
Andreas Nordal
c5744c47de howto, helptxt: It's called indirect pathname expansion 2018-08-30 18:05:30 +02:00
Andreas Nordal
bbe107f042 how to: Rework the intro 2018-08-30 18:05:30 +02:00
Andreas Nordal
c51022f028 how to: Define "indirect wildcard expansion" 2018-08-12 17:09:29 +02:00
Andreas Nordal
0d02626647 how to: Common section about conditions 2018-08-12 17:09:29 +02:00
Andreas Nordal
4d68207a81 how to: Shorten how to end a bash script 2018-07-13 01:30:50 +02:00
Andreas Nordal
572ae9752c how to: Errexit basics 2018-07-13 01:25:24 +02:00
Andreas Nordal
3b9118b38f how to: Intentional string splitting: Revert to psub
Newline failed with herestring. Revert to process substitution.
2018-07-09 02:33:50 +02:00
Andreas Nordal
2d5ef98893 how to: Intentional string splitting: Correct my sausage fingers 2018-07-09 02:09:21 +02:00
Andreas Nordal
a2b2ace8ae how to: Intentional string splitting: Change recommendation 2018-07-09 01:58:36 +02:00
Andreas Nordal
7d06c5135d how to: Improve weak parts 2018-07-01 14:33:34 +02:00
Andreas Nordal
f6372db0c8 how to: [[ 2018-06-10 22:41:40 +02:00
Andreas Nordal
1e31de2911 how to: String split redux 2018-06-08 00:56:36 +02:00
Andreas Nordal
5027decb56 how to: Improve intro 2018-06-05 00:39:15 +02:00
Andreas Nordal
28516e9751 how to: Fish compat 2018-06-05 00:39:15 +02:00
Andreas Nordal
dcf5fe3148 how to: Backtick: Add reference 2018-06-04 01:38:25 +02:00
Andreas Nordal
7a5a3d64f4 How to end a script 2018-05-28 02:21:37 +02:00
Andreas Nordal
5410f59ef4 how to do things: {} is a group command 2018-05-28 02:21:37 +02:00
Andreas Nordal
8091171829 How to: Read needs errexit guard
Fixes #18
2018-05-26 22:38:24 +02:00
Andreas Nordal
f8f20762c6 how to do things: Nitpick on the later sections 2018-05-22 22:45:48 +02:00
Andreas Nordal
3c715be0d4 how to do things: Braces: Less absolute, explain concerns
Fixes #3
2018-05-20 18:26:39 +02:00
Andreas Nordal
68890c6fa6 how to do things: avoid invoking the shell with improper quoting 2018-05-19 15:40:33 +02:00
Ahmet Alp Balkan
8dca251fef
Update how_to_do_things_safely_in_bash.md 2018-05-17 14:05:12 -07:00
Ahmet Alp Balkan
88c431bd8e
Show how to use local assignment with cmd 2018-05-17 11:53:41 -07:00
Andreas Nordal
28c4144803 How to do things: Work around shellcheck false positive
Fixes #10.
2018-05-17 13:28:29 +02:00
Andreas Nordal
7f67ebe06f How to do things: More open-ended on Almquist 2018-05-16 21:43:40 +02:00
Andreas Nordal
55cf1ccb82 How to do things: Why arrays are fundamental 2018-05-16 00:57:16 +02:00
Andreas Nordal
7717216e1e How to do things: Rm claim about posix and path to sh
No evidence of this in `man 3p system` or `man 1p make`
2018-05-15 21:58:17 +02:00
Andreas Nordal
911c8ed78c How to do tings safely: Add preface, subsectionize first section 2018-05-13 15:09:25 +02:00
anordal
0663edf04f
Merge pull request #2 from MRSharff/master
Fixed a spelling mistake in how_to_do_things_safely_in_bash.md
2018-05-13 10:45:02 +02:00
Andreas Nordal
f678f211e1 How to do things safely: Change hashbang recommendation 2018-05-13 10:35:57 +02:00
Mat Sharff
967a033853 Fixed a spelling mistake in how_to_do_things_safely_in_bash.md 2018-05-12 23:22:37 -07:00
Andreas Nordal
6ae6eb2976 Project rename: Naziquote → Shellharden 2018-05-12 06:43:25 +02:00
anordal
080ab3a0f6 how to do things safely: More on errexit 2018-05-06 14:33:39 +02:00
anordal
8ad7c91338 how to do things safely: Invent a feature test for bash 4.3 2018-04-02 22:09:18 +02:00
anordal
103ea25f28 Add 'how to do things safely in bash'.md 2017-05-01 18:23:26 +02:00