commit 79769a98e3a98e9c17238a4602c1a410b811194c (patch)
parent 8124acc5b0ed6f2d255b55e3052c3f44a99abf64
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 13 Nov 2021 11:54:34 -0500
pretty: Fix ??? display (off by 2 chars)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gc b/gc
@@ -9,7 +9,7 @@ die() {
pretty() {
awk -F" " '
-/^[^01i\.]/ { sub("^.", "", $1); printf " ???| %s\n", $1 }
+/^[^01i\.]/ { sub("^.", "", $1); printf " ???| %s\n", $1 }
/^i/ { sub("^i", "", $1); printf " | %s\n", $1 }
/^0/ { sub("^0", "", $1); links[n++] = sprintf("%s/0%s", $3, $2); printf "%2d TXT| %s\n", n, $1 }
/^1/ { sub("^1", "", $1); links[n++] = sprintf("%s/1%s", $3, $2); printf "%2d DIR| %s\n", n, $1 }