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

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