#!/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
4chan BBS - Genius sorting algorithm: Sleep sort
Posted 2 years ago
266 notes
Tags: sort, algorithm, shell, programming,
The cat who sits like a dude. [d3ftone]
Fluorescein
This chemical is a fluorophore, containing many aromatic groups and...
What’s new in ShortBlogger 1.5.0:
mike stacey
Natalie Smith (UK) - Portfolio