Avoid appending to preexisting files - pointtools - Simple point utilities to hold text presentations.
 (HTM) git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit fd83f17fab6afefa04c18b6e8f2938b916b9d008
 (DIR) parent 1d4661b2bad4cbf548b70d58ef36cd8eadae5978
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Sun, 26 Apr 2020 11:09:55 +0200
       
       Avoid appending to preexisting files
       
       Previously, multiple md2point calls required manually removing
       output text files between calls as content was always appended to
       the output file. This is no longer the case with this commit, as
       output files are cleared on first write.
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         M bin/md2point                        |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/bin/md2point b/bin/md2point
       @@ -27,7 +27,7 @@ do
                        fname="$(mkfilename "$snum" "$title")"
                        snum=$((snum + 1))
                        printf "\n  %s\n  %s\n\n" \
       -                        "$title" "$(mkunderline $titlelen "=")" >> $fname
       +                        "$title" "$(mkunderline $titlelen "=")" > $fname
                        ;;
                \#pause)
                        fname="$(mkfilename "$snum" "$title")"