Remove uneeded colors, fix point replacement issue.

Thanks to Gerrit Meyerheim <gerrit.meyerheim@pernixmail.de> !
master
Christoph Lohmann 2018-08-26 10:05:35 +02:00
parent 4c5d14714b
commit 809dd8d7ee
1 changed files with 1 additions and 5 deletions

View File

@ -1,9 +1,5 @@
#!/bin/sh #!/bin/sh
# colors
reset="$(tput sgr0)"
quoteformat="$(tput setaf 6)"
mkfilename() { mkfilename() {
printf "%.4d-%s" "$1" "$2" | tr '# :.()/' '_' printf "%.4d-%s" "$1" "$2" | tr '# :.()/' '_'
printf ".txt" printf ".txt"
@ -37,7 +33,7 @@ do
[ -n "$fname" ] && \ [ -n "$fname" ] && \
printf " %s\n" "$line" \ printf " %s\n" "$line" \
| sed 's, , ,' \ | sed 's, , ,' \
| sed 's,\*,o,' >> $fname | sed 's,^\([[:blank:]]*\)\*,\1o,' >> $fname
;; ;;
esac esac
done done