tRemove uneeded colors, fix point replacement issue. - pointtools - Simple point utilities to hold text presentations.
 (HTM) git clone git://r-36.net/pointtools
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 809dd8d7ee8c87668c12a4535ed8f59f892631a6
 (DIR) parent 4c5d14714b0fe979ecf2c9447a5fb9468d22425c
 (HTM) 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(-)
       ---
 (DIR) diff --git a/bin/md2point b/bin/md2point
       t@@ -1,9 +1,5 @@
        #!/bin/sh
        
       -# colors
       -reset="$(tput sgr0)"
       -quoteformat="$(tput setaf 6)"
       -
        mkfilename() {
                printf "%.4d-%s" "$1" "$2" | tr '# :.()/' '_'
                printf ".txt"
       t@@ -37,7 +33,7 @@ do
                        [ -n "$fname" ] && \
                                printf " %s\n" "$line" \
                                | sed 's,        ,        ,' \
       -                        | sed 's,\*,o,' >> $fname
       +                        | sed 's,^\([[:blank:]]*\)\*,\1o,' >> $fname
                        ;;
                esac
        done