Commit Graph

39 Commits

Author SHA1 Message Date
Trevor Brown
96e918c70e
Correct typo in README. 2018-05-12 15:48:07 -04:00
Andreas Nordal
6ae6eb2976 Project rename: Naziquote → Shellharden 2018-05-12 06:43:25 +02:00
Andreas Nordal
6ea973c20a --besserwisser → --transform 2018-05-12 03:52:41 +02:00
anordal
4011636845 README: Make myself clear 2018-05-06 17:53:12 +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
43e55710b8 Support arithmentic expansion 2018-03-31 16:23:07 +02:00
anordal
12169cf47e Reduce indentation with 2 early returns
Saves 275 tabs!

Use git show -b to look at this diff.
2018-03-31 16:23:07 +02:00
anordal
b1277c5b92 Fix warning: Unnecessary mut 2018-03-31 16:23:07 +02:00
anordal
56bcee8991 Readme: Add screenshots and a few more words 2017-07-31 00:33:55 +02:00
anordal
c991eeafc1 Quote strings with variables holistically 2017-07-31 00:20:35 +02:00
anordal
2b8058a9d4 Simplify is_space()
Non-space control characters are dontcare as far as the use of this predicate is concerned.
2017-07-31 00:20:16 +02:00
anordal
cb26bcbca3 Support escape sequences outside double-quoted strings 2017-07-31 00:20:16 +02:00
anordal
c406cd85c7 Error printing: Skip context when empty 2017-07-31 00:20:16 +02:00
anordal
cfc3ada0d9 Error printing: Color termination also on unexpected EOF 2017-07-31 00:20:16 +02:00
anordal
e44f7257f9 Error printing: Fix crash on non-utf8 context 2017-07-31 00:20:16 +02:00
anordal
4769ea2518 Crashproof against binary files 2017-07-31 00:20:16 +02:00
anordal
0c90f94016 Minimize the shown diff 2017-07-31 00:20:05 +02:00
anordal
103ea25f28 Add 'how to do things safely in bash'.md 2017-05-01 18:23:26 +02:00
anordal
7f4770620e New transformation $* → $@ 2017-02-27 08:57:26 +01:00
anordal
49103658e3 Syntax error display: Fix lf handling and reset color 2017-02-23 18:39:12 +01:00
anordal
82f7c07dba Introduce a "Syntactical pitfall" error, fail on $10 2017-02-23 16:38:52 +01:00
anordal
1d7d68a86f Fail on unexpected EOF 2017-02-17 19:08:41 +01:00
anordal
bda2bfc253 Avoid accidentally supporing "$''" 2017-02-17 19:08:40 +01:00
anordal
5fb49ccbb6 Support complicated heredoc delimiters 2017-02-17 19:08:28 +01:00
anordal
6dc541844b Actually return 1 on failure 2017-02-11 18:01:28 +01:00
anordal
978ccf46e2 New feature: Replace $(pwd) → $PWD 2017-02-10 19:00:41 +01:00
anordal
c2374a5ba9 Refuse to parse non-identifier delimited heredocs 2017-02-04 17:20:34 +01:00
anordal
7b3a11dc8e heredoc 2017-01-28 20:50:50 +01:00
anordal
33aa2d1368 README.md 2017-01-20 00:15:47 +01:00
anordal
c5adf02510 Hi-level opts + --suggest + --help 2017-01-20 00:08:15 +01:00
anordal
6c99400f66 Add options to turn off coloring and replacing 2017-01-20 00:01:14 +01:00
anordal
3920a58d4e Make a function to flush 2017-01-20 00:01:13 +01:00
anordal
53edadd038 don't care if filenames are utf-8 2017-01-20 00:01:12 +01:00
anordal
fe7b3eb221 parses and colors pretty good, needs restructuring 2017-01-20 00:01:11 +01:00
anordal
39c490935f Allow state in each state 2017-01-20 00:00:53 +01:00
anordal
4da92d2af5 rename enum StateType → Situation 2017-01-19 23:53:37 +01:00
anordal
069ab11b2d Grok strings, syntax highlight to prove 2017-01-19 23:53:36 +01:00
anordal
ab3a7684a4 Nullhypothesis: Print the file as-is (reinvent cat) 2017-01-19 23:53:21 +01:00