String formatting is hard sometimes

This commit is contained in:
Nox Sluijtman 2023-12-13 17:17:52 +01:00
parent 4a4eed00f4
commit 40ee5cd63f

View file

@ -20,7 +20,7 @@ addUrl(){
"$(curl -s "$url" | grep '<title' | sed 's/<title>\(.*\)<\/title>/\1/')" \
>> $bookmarks
fi
printf "added '%s' to '%s\n'" "$url" "$bookmarks"
printf "added '%s' to '%s'\n" "$url" "$bookmarks"
}