Remove redundant \n in tr

This commit is contained in:
LeeW 2015-09-08 20:59:08 +08:00
parent fed97bf8db
commit 6073594656

View file

@ -3,7 +3,7 @@
gitignore_io_url="https://www.gitignore.io/api/"
default_path="$HOME/.gi_list"
gi_list=`cat $default_path | tr "," "\n\n"`
gi_list=`cat $default_path | tr "," "\n"`
update_gi_list() {
curl -L -s "${gitignore_io_url}/list" > ~/.gi_list