HCoop
/
jackhill
/
mal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd39935
)
Bash: fix \n stripping from sh* output.
author
Chris McCormick
<chris@mccormick.cx>
Sun, 1 Dec 2019 06:21:36 +0000
(14:21 +0800)
committer
Chris McCormick
<chris@mccormick.cx>
Sun, 1 Dec 2019 06:21:36 +0000
(14:21 +0800)
bash/stepA_mal.sh
patch
|
blob
|
blame
|
history
diff --git
a/bash/stepA_mal.sh
b/bash/stepA_mal.sh
index
a5feb34
..
1467a74
100755
(executable)
--- a/
bash/stepA_mal.sh
+++ b/
bash/stepA_mal.sh
@@
-168,7
+168,7
@@
EVAL () {
while read line; do
output="${output}${line}"$'\n'
done < <(eval ${ANON["${r}"]})
- _string "${output%
\\n
}"
+ _string "${output%
$'\n'
}"
return ;;
try__STAR__) EVAL "${a1}" "${env}"
[[ -z "${__ERROR}" ]] && return