From ff86512d3acca97d9ef37d5ca150298ccecf14d0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 5 Nov 2021 07:49:36 +0200 Subject: [PATCH] kiss: nit --- kiss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kiss b/kiss index be8a92d..8ac067c 100755 --- a/kiss +++ b/kiss @@ -1729,8 +1729,6 @@ pkg_help_ext() { max=$((${#p} > max ? ${#p}+1 : max)) done - IFS=\#$IFS - # Print each extension, grab its description from the second line # in the file and align the output based on the above max. for path do @@ -1738,7 +1736,7 @@ pkg_help_ext() { exec 3< "$path" # Grab the second line in the extension. - { read -r _ && read -r _ cmt; } <&3 + { read -r _ && IFS=\#$IFS read -r _ cmt; } <&3 printf "%b->%b %-${max}s %s\\n" \ "$c1" "$c3" "${path#*/kiss-}" "$cmt"