dot

packages and services management
Log | Files | Refs | README

commit 3907fa732fe42c37d199fdcb09bd6b42fe2fffdc
parent 4a432ae16905e77f7fc52bdd09cd34ee0b957d8d
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 31 Jul 2017 18:32:58 +0200

scripts/bin/tree: do not print the full path but only the node

Diffstat:
Mscripts/bin/tree | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/scripts/bin/tree b/scripts/bin/tree @@ -31,6 +31,7 @@ awk '{ for (l = 1; l < NR; l++) { for (i = 1; lines[l"]["i]; i++) printf "%s", lines[l"]["i] + sub(".*/", "", lines[l"]["0]) print lines[l"]["0] } }'