Fix tab replacements with non-gnu sed - pointtools - Simple point utilities to hold text presentations.
HTML git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 4c5d14714b0fe979ecf2c9447a5fb9468d22425c
DIR parent 58e580f216fb9bf4f3916a9af7a1035835d0316c
HTML Author: Solene Rapenne <solene@perso.pw>
Date: Mon, 13 Aug 2018 09:47:36 +0200
Fix tab replacements with non-gnu sed
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
@@ -36,7 +36,7 @@ do
*)
[ -n "$fname" ] && \
printf " %s\n" "$line" \
- | sed 's,\t, ,' \
+ | sed 's, , ,' \
| sed 's,\*,o,' >> $fname
;;
esac