pointtools

Simple point utilities to hold text presentations.
git clone git://r-36.net/pointtools
Log | Files | Refs | LICENSE

commit 809dd8d7ee8c87668c12a4535ed8f59f892631a6
parent 4c5d14714b0fe979ecf2c9447a5fb9468d22425c
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 26 Aug 2018 10:05:35 +0200

Remove uneeded colors, fix point replacement issue.

Thanks to Gerrit Meyerheim <gerrit.meyerheim@pernixmail.de> !

Diffstat:
bin/md2point | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

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