sleepsort-bash/sleepsort

11 lines
97 B
Plaintext
Raw Normal View History

2016-03-30 19:24:57 +00:00
function sleepsort {
sleep $1
echo $1
}
for elem in "$@"
do
sleepsort ${elem} &
done
wait