diff options
Diffstat (limited to 'tests/sort-args.sh')
-rwxr-xr-x | tests/sort-args.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sort-args.sh b/tests/sort-args.sh new file mode 100755 index 0000000..5214598 --- /dev/null +++ b/tests/sort-args.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +args=($({ for arg; do echo "$arg"; done } | sort)) +echo "${args[@]}" |