Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
mugel0190
#!/bin/bash
function f() {
    sleep "$1"
    echo "$1"
}
while [ -n "$1" ]
do
    f "$1" &
    shift
done
wait


example usage:
./sleepsort.bash 5 3 6 3 6 3 1 4 7
— sleepsort
Reposted fromprog21 prog21 viaSpinNE555 SpinNE555

Don't be the product, buy the product!

Schweinderl