From 2223f936dd2b217940f26a884ee311d96326c6f5 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 22 Feb 2021 02:04:15 +0100 Subject: [PATCH] printf should receive variables --- .scripts/rename.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scripts/rename.sh b/.scripts/rename.sh index 035fc5e..4f17c45 100755 --- a/.scripts/rename.sh +++ b/.scripts/rename.sh @@ -86,7 +86,8 @@ prompt=$(cat "$tmpfile") printf "\n%s\n\n" "$prompt" # Confirm with user -printf "%s " "$(format "Proceed with execution? [Y/n]")" +prompt=$(format "Proceed with execution? [Y/n]") +printf "%s " "$prompt" read -r execute # Execute file commands