make newline between urls
This commit is contained in:
parent
d2e42e395b
commit
49d96f273b
|
@ -29,6 +29,7 @@ searchfile() {
|
|||
REPLACE=$(escape "$link")
|
||||
REPLACEWITH=$(escapeReplace '['"$TITLE"']''('"$link"')')
|
||||
sed -i "s/$REPLACE/$REPLACEWITH/" "$1"
|
||||
echo
|
||||
done 3< <(grep -oP '((?<![\(\[])http[s]?:\/\/[^\s]*)' "$1")
|
||||
}
|
||||
export -f searchfile
|
||||
|
|
Loading…
Reference in New Issue