Denys Vlasenko
|
c97df2939e
hush: tweak comment, no code changes
|
6 years ago |
Denys Vlasenko
|
4bf0854248
hush: add a comment on how globbing (should) work
|
6 years ago |
Denys Vlasenko
|
19358cc313
ash,hush: fold shell_builtin_read() way-too-many params into a struct param
|
6 years ago |
Denys Vlasenko
|
fd6f295a98
hush: set IFS to default on startup
|
6 years ago |
Denys Vlasenko
|
e9dccab9f4
hush: fix fallout from FILE->HFILE conversion
|
6 years ago |
Denys Vlasenko
|
c2aa218f23
ash,hush: properly handle ${v//pattern/repl} if pattern starts with /
|
6 years ago |
Denys Vlasenko
|
54fdabda3b
hush: speed up ${var:+ARG} for literal ARGs
|
6 years ago |
Denys Vlasenko
|
a5db1d7354
hush: fix another case where empty "for" wasn't setting exitcode to 0
|
6 years ago |
Denys Vlasenko
|
a8e7441176
hush: disable debug_indent increment/decrement for HUSH_DEBUG < 2 builds
|
6 years ago |
Denys Vlasenko
|
aa449c927d
hush: make "set -x" output don't redirectable when fd#2 redirected
|
6 years ago |
Denys Vlasenko
|
4b70c926bc
hush: make "set -x" output closer to bash
|
6 years ago |
Denys Vlasenko
|
9dda9270df
hush: fix "set -x" output prefix overlapping for v="..`cmd`.." case
|
6 years ago |
Denys Vlasenko
|
186cf49767
hush: in some cases, expand_on_ifs() relied of uninitialized memory
|
6 years ago |
Denys Vlasenko
|
7c5f18a3ba
hush: improve set -x: make "+++" indent level increase in `cmd` and eval.
|
6 years ago |
Denys Vlasenko
|
945e9b05c9
hush: fix/explain corner cases of redirection colliding with script fd
|
6 years ago |
Denys Vlasenko
|
41ef41b3e0
hush: fix nested redirects colliding with script fds
|
6 years ago |
Denys Vlasenko
|
dfc7394763
hush: handle backslash-newline in heredoc terminators
|
6 years ago |
Denys Vlasenko
|
474cb20555
hush: fix handling of heredocs not enclosed in groups where they are "declared"
|
6 years ago |
Denys Vlasenko
|
3675c37b9b
hush: fix heredoc handling in the "cmd <<EOF ;<newline>" case
|
6 years ago |
Denys Vlasenko
|
d73cdbf84c
hush: fix handling of heredocs starting with empty lines
|
6 years ago |
Denys Vlasenko
|
f36caa4071
hush: never glob result of dquoted "${v:+/bin/c*}"
|
6 years ago |
Denys Vlasenko
|
4c3c8a1a61
hush: tidy up code after previous commits
|
6 years ago |
Denys Vlasenko
|
1856740ec0
hush: better names for o_free_unsafe() / o_free(), no logic changes
|
6 years ago |
Denys Vlasenko
|
83e434d5b5
hush: fix handling of '' in ${var:+ARG}
|
6 years ago |
Denys Vlasenko
|
294eb4612c
hush: fix word splitting in ${v:+ARG} - dollar_altvalue1 test
|
6 years ago |
Denys Vlasenko
|
57235beb69
hush: expand_vars_to_list() should not assume it starts new word
|
6 years ago |
Denys Vlasenko
|
18e8b61292
hush: remove pointless "next" var, simplify expand_vars_to_list()
|
6 years ago |
Denys Vlasenko
|
168579a34c
hush: store "ended_in_ifs" flag in o_string
|
6 years ago |
Denys Vlasenko
|
8a6a461504
hush: propagate (output,n) parameters into expand_one_var()
|
6 years ago |
Denys Vlasenko
|
116b50a5c1
hush: make expand_vars_to_list() a bit more sane
|
6 years ago |