From eb39aecd70f3b134af703d6a288307f608ef0714 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 2 Apr 2020 11:21:06 +0000 Subject: kiss: Squish alternatives list FossilOrigin-Name: 14afb198e50b12667d964735f21e300d58a36b801984fc36df8feb38b7837416 --- kiss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kiss b/kiss index a676d82..e70a4f7 100755 --- a/kiss +++ b/kiss @@ -1259,20 +1259,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 ;; -- cgit v1.2.3