function f() { sleep "$1" echo "$1" } while [ -n "$1" ] do f "$1" & shift done wait
Works for small, positive numbers. Breaks for VERY small, and negative values. You might need to go & have a cuppa if you use large values. From dis.4chan.org via Otaku
Disclaimer: (I stole this from Internal Affairs.)
All links and references to other websites, organisations or people
not within my control are provided for the
user's convenience only, and should not be taken as endorsement of those
websites, or of the information contained in those websites, nor of
organisations or people referred to. I
also do not implicitly or impliedly endorse any website, organisation
or people who have off-site links to this website.
... But then again; I only link to sites 'cos I see something there that's worth linking to.
0 Comments:
Post a Comment
Back to Jonathan's Liverstone