From 3990e34dc00d0efd61e04da986e53a2c3f52c007 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 22 Mar 2020 16:26:08 +0200 Subject: [PATCH] kiss: Squish alternatives list --- kiss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kiss b/kiss index a06d10f..2f78c6e 100755 --- a/kiss +++ b/kiss @@ -1254,20 +1254,11 @@ args() { pkg_swap "$@" else - set +f - - log Alternatives: - # Go over each alternative and format the file # name for listing. (pkg_name>usr>bin>ls) - for pkg in "$sys_db/../choices"/*; do + set +f; for pkg in "$sys_db/../choices"/*; do printf '%s\n' "${pkg##*/}" - done | - - sed 's|>| /|; s|>|/|g; /\*/d' - - log note "Think about what you are doing" - log note "for this feature requires thought" + done | sed 's|>| /|; s|>|/|g; /\*/d' fi ;;