From 4983b8fdf822557fa2bee4d12e690da5cfc43fdf Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Fri, 29 Apr 2022 15:58:18 +0200 Subject: Consistent quoting (again) --- basic.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic.bash') diff --git a/basic.bash b/basic.bash index 643c39d..363df0b 100644 --- a/basic.bash +++ b/basic.bash @@ -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" -- cgit v1.2.3