updated update_gitignore.io.sh

pull/2/head
Hari Sekhon 5 years ago
parent 04dea43369
commit 670256e8a5

@ -37,4 +37,6 @@ url="$(head -n1 <<< "${url/*https:/https:}")"
sed_regex="${header//\//\\/}"
sed -i.bak "/$sed_regex/,\$d" .gitignore
curl "$url" | sed 's/[[:space:]]*$//' | sed -n "/$sed_regex/,\$p" >> .gitignore
curl -sS "$url" |
sed 's/[[:space:]]*$//' |
sed -n "/$sed_regex/,\$p" >> .gitignore

Loading…
Cancel
Save