remove trailing spaces

This commit is contained in:
creme 2019-08-27 22:13:30 +02:00
parent 4b3d7364f9
commit b80a1c6789
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 17 additions and 17 deletions

28
burrow
View File

@ -133,8 +133,8 @@ parse_input () {
do
argc=$(printf "%s" "$1" | tr '[:upper:]' '[:lower:]')
case $argc in
"quickstart")
arg_quickstart=1
"quickstart")
arg_quickstart=1
;;
"shortlist")
arg_shortlist=1
@ -143,24 +143,24 @@ parse_input () {
if [ $# -gt 1 ]; then
shift
arg_gophermap="${1%/}/"
else
else
arg_gophermap="/"
fi
;;
"phlog")
arg_phlog=1
"phlog")
arg_phlog=1
;;
"gopherdir")
arg_gopherdir=1
"gopherdir")
arg_gopherdir=1
;;
"edit-config")
arg_edit_config=1
"edit-config")
arg_edit_config=1
;;
"update-git")
arg_update_git=1
"update-git")
arg_update_git=1
;;
"rss")
arg_rss=1
"rss")
arg_rss=1
;;
*) printf "Unknown command: %s\\n" "$argc";;
esac
@ -534,7 +534,7 @@ make_rss () {
if printf "%s" "$filename" | grep -q "/gophermap"; then
item_type=1
filename="$( printf "%s" "$filename" | sed "s|gophermap$||")"
else
else
item_type=0
fi
date="$(printf "%s" "$filename" | sed 's|^\./||' | awk 'BEGIN { FS="-" } { print $1; }')"

View File

@ -41,16 +41,16 @@ Display current version information.
.TP
.B -d
Debug mode.
.TP
.TP
.B -h
Show the help.
.SH FILES
.I $XDG_CONFIG_HOME
,
.I ~/.config/burrow/config
,
,
.I ~/.config/burrow
,
,
.I ~/.burrow
,
.I /etc/burrow/config