diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-04-15 19:44:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-04-15 19:44:09 -0400 |
commit | 78d52a7c0e1eef84a61bdb847d6aa83b6dcdccb2 (patch) | |
tree | dd3060c6eed2c593160f87612b52a5ce19dd9a9c /tests/sort-args.sh | |
parent | 5212c26ae12f01ec5fd66f8a3fcb41fb03c43e98 (diff) | |
download | bfs-78d52a7c0e1eef84a61bdb847d6aa83b6dcdccb2.tar.xz |
Implement -exec/-execdir ... +
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[@]}" |