summaryrefslogtreecommitdiffstats
path: root/tests/sort-args.sh
blob: f801d3b7a6e23a956fea6b7579a8dfdc28f37897 (plain)
1
2
3
4
#!/usr/bin/env bash

args=($({ for arg; do echo "$arg"; done } | sort))
echo "${args[@]}"