чување bc8f7677bced6b07537f1a1e3a7e63b2ccc997d2 родитељ 65d398aa77b29d8e4e3360c3f73c038279258b5c Аутор: Страхиња Радић <contact@strahinja.org> Датум: Fri, 29 Sep 2023 08:43:32 +0200 test/tree_readme.sh: New file Signed-off-by: Страхиња Радић <contact@strahinja.org> Diffstat:
| A | test/tree_readme.sh | | | 13 | +++++++++++++ |
измењених датотека: 1, додавања: 13(+), брисања: 0(-)
diff --git a/test/tree_readme.sh b/test/tree_readme.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# Requires: +# - table +# https://git.sr.ht/~strahinja/table/ +# - pmpaste +# https://git.sr.ht/~strahinja/dotfiles/tree/master/item/bin/pmpaste +dtree test/test-001.txt | +while IFS= read -r line; do + printf "%s%*s\n" "$line" $((40-${#line})) " " +done | +pmpaste - README | +tsvtable -n -f1:5 -c123 -t | +less -S