Tiny changes
This commit is contained in:
parent
1bd76ea8e1
commit
4a4eed00f4
|
@ -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'" "$url" "$bookmarks"
|
printf "added '%s' to '%s\n'" "$url" "$bookmarks"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ default(){
|
||||||
|
|
||||||
while getopts Rhc: name; do
|
while getopts Rhc: name; do
|
||||||
case $name in
|
case $name in
|
||||||
R) random ;;
|
R) random;;
|
||||||
h) usage ;;
|
h) usage;;
|
||||||
c) menu="$OPTARG";;
|
c) menu="$OPTARG";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue