String formatting is hard sometimes
This commit is contained in:
parent
4a4eed00f4
commit
40ee5cd63f
|
@ -20,7 +20,7 @@ addUrl(){
|
||||||
"$(curl -s "$url" | grep '<title' | sed 's/<title>\(.*\)<\/title>/\1/')" \
|
"$(curl -s "$url" | grep '<title' | sed 's/<title>\(.*\)<\/title>/\1/')" \
|
||||||
>> $bookmarks
|
>> $bookmarks
|
||||||
fi
|
fi
|
||||||
printf "added '%s' to '%s\n'" "$url" "$bookmarks"
|
printf "added '%s' to '%s'\n" "$url" "$bookmarks"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue