diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2022-04-29 15:58:18 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2022-04-29 15:58:18 +0200 |
commit | 4983b8fdf822557fa2bee4d12e690da5cfc43fdf (patch) | |
tree | 65c52455bee04eede4d68e61d1e1ec132732abdd /basic.bash | |
parent | cd11e4fa81c13aecf84f3b82de568b4b074ac113 (diff) |
Consistent quoting (again)
Diffstat (limited to 'basic.bash')
-rw-r--r-- | basic.bash | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,8 +36,8 @@ script_dir="${script_path%/*}" function init { tmp_d="$(mktemp -d)" - tmp="$tmp_d/a" - tmp_="$tmp_d/b" + tmp="${tmp_d}/a" + tmp_="${tmp_d}/b" } # $1: file to treat as input: filename @@ -81,7 +81,7 @@ function replace_line sed -Ei " /${1}/ { - r $tmp_ + r ${tmp_} d } " "$tmp" |