diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-03-11 16:27:00 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-03-11 16:27:00 +0000 |
commit | 3664e0d91881fe98a86a53b623c14c4b0d28e45b (patch) | |
tree | 43f787d628b572d09ab421a4a5654a9892123e50 | |
parent | 53eb7b41bb312ca20e747a5bb77a0408a8a200c9 (diff) | |
download | cpt-3664e0d91881fe98a86a53b623c14c4b0d28e45b.tar.gz |
kiss: Remove shift math
FossilOrigin-Name: 65ced21e42ae58f544d5f7235ade824aeec40caff3902ee170fe436d79236b9f
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |