aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 85340f7..a12e648 100755
--- a/kiss
+++ b/kiss
@@ -75,7 +75,7 @@ pop() {
# Remove an item from a "string list". This allows us
# to remove a 'sed' call and reuse this code throughout.
del=$1
- shift "$(($# ? 1 : 0))"
+ shift
for i; do [ "$i" = "$del" ] || printf %s " $i "; done
}