commit 6e61c53c108f165793a2a82a91a4feee7d75be40 parent 4436d35e1542965bc8ce8bb6567ff1f8da6bf1c6 Author: Markus Hanetzok <markus@hanetzok.net> Date: Sun, 10 Sep 2023 22:31:42 +0200 don't pipe into sed Diffstat:
M | wochenbericht.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wochenbericht.sh b/wochenbericht.sh @@ -69,7 +69,7 @@ get_date_range() { vipe_cmd() { # Helper function to call vipe content="$(echo "$1 (DIESE ZEILE LÖSCHEN!)" | vipe)" - cat "$current_tex"/wochenbericht.tex | sed -i "s/$2/$content/g" + sed -i "s/$2/$content/g" "$current_tex/wochenbericht.tex" } ### SCRIPT