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
9831c0bf52
Stop reinventing eprintln
2019-01-26 11:33:05 +01: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
1fcc978537
(15) Allow "$*"
2018-10-27 12:26:03 +02:00
anordal
e403ff50aa
Get rid of an unreachable panic
2018-10-27 12:23:42 +02:00
anordal
7757f7a9e0
Rm unreachable condition
2018-10-27 12:23:32 +02:00
Andreas Nordal
1d17c61eae
This is version 4.1
2018-09-13 21:45:32 +02:00
anordal
1f8aeec033
Allow unquoted case arms
2018-09-13 21:44:14 +02:00
anordal
a7db05a1cd
Allow unquoted case expressions
2018-09-13 21:44:14 +02:00
anordal
59104301d4
Rename function
2018-09-13 21:44:14 +02:00
anordal
831b503f4b
Allow backtick where quoting is unneeded
2018-09-13 21:44:14 +02:00
anordal
57214b4606
Allow unquoted rvalues
2018-09-13 21:44:14 +02:00
Andreas Nordal
7ae300c7c6
This is version 4.0.1
2018-09-13 21:44:14 +02:00
Andreas Nordal
afbcb85d35
Readme: How to fuzz test
2018-09-13 21:33:33 +02:00
Andreas Nordal
addf86fd96
Fix hang on outer context end trigger within case arm
...
The case arm state was erroneously set up to return when an outer context would,
but the intermediate state, the case state, of course continues until "esac".
The bug was in the control structure parsing code that was new in version 4.0.0.
The hang was detected by afl. An exhaustive search did not find more.
2018-09-13 21:33:33 +02: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
b5680cc378
New slogan
2018-08-12 17:58:18 +02:00
Andreas Nordal
10f16aae58
Give up the manpage. Put content in the help text
...
It is not much anyway.
2018-08-12 17:09:29 +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
7db011a236
Implement --version, refine help text
2018-08-10 20:55:27 +02:00
Andreas Nordal
6aef1c4787
Readme: I happen to have a docker alternative
2018-08-08 21:10:07 +02:00
Andreas Nordal
88afc7fa3b
Readme: Rm leftover hr
2018-08-08 20:42:03 +02:00
Andreas Nordal
5cad32d324
Dockerfile: Build from checked out source
...
Don't grab latest master – you typically want to build a release.
2018-08-08 20:40:23 +02:00
Andreas Nordal
c2efc58ad0
Readme: Regroup docker section
2018-08-08 20:40:23 +02:00
anordal
fdcc664e5f
Merge pull request #20 from sbkg0002/master
...
Add Dockerfile and usage information
2018-08-08 19:05:00 +02:00
Johan Steenhoven
c6dfe32c4b
Only use the shellharden binary within the container.
2018-08-08 14:02:06 +02:00
Andreas Nordal
73b85c3865
Readme: Fix markdown header level inversion
2018-08-08 00:49:59 +02:00
Andreas Nordal
1286afe87b
Readme: Mention distro packages and rust package
2018-08-08 00:42:58 +02:00
Johan Steenhoven
7bedf28829
Add Docker file. Add Docker usage information.
2018-08-06 11:45:29 +02:00
Andreas Nordal
85e76e7d16
This is version 4.0
2018-07-31 22:19:33 +02:00
anordal
53240706cf
README: Recommend building with optimizations on
2018-07-29 23:53:19 +02:00
anordal
de0aeeb12d
Implement the -- option
2018-07-29 23:53:19 +02:00
anordal
554c109805
Rename previously meaningful var name
2018-07-29 23:53:12 +02:00
anordal
651bce6f02
Avoid a case of empty writes
2018-07-29 23:53:00 +02:00
anordal
3f04dfe1f3
Get rid of a supposedly unreachable panic
2018-07-29 21:37:33 +02:00
anordal
020e991566
Color overhaul
...
variables: blue (unreadable on some LCD screens) → greenish "blissful" blue
magic syntax: greenish "blissful" blue → purple
keywords: purple bold → bold
commands: bold → strawberry pink
Heredoc: alien green → "bronskimle" brown
2018-07-29 21:37:33 +02:00
anordal
1308e70dd8
Support bold+italic text-decoration
...
Variable length color codes (shorter on avg).
2018-07-29 21:37:33 +02:00
anordal
8e46e6127d
Fix color asymmetry seen on cmdsub
...
Pretending that the previous color is always COLOR_NORMAL when pushing a
new state might have been an optimization or obsolete hack.
2018-07-29 21:37:33 +02:00
anordal
17dda98ee8
Fix/implement interpretation of fd redirection
2018-07-29 21:34:28 +02:00
anordal
730c58050c
Fix systematic misuse of internal bureaucratic API
2018-07-29 21:34:28 +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