Fix dir2point for empty rm. - 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 c9cabf113958e40665b11a0fed6c61fecc1bb3d4 (DIR) parent 1299c159e753b6c494bdec06e1f537a9b8f3f5f2 (HTM) Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 22 Jul 2018 17:53:14 +0200 Fix dir2point for empty rm. Diffstat: M bin/dir2point | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/bin/dir2point b/bin/dir2point @@ -5,7 +5,8 @@ then cd "$1" fi -rm *.txt +rm *.txt 2>/dev/null + cat *.md | md2point catpoint *.txt