2016 Aug 18, 2:57 2011 Jun 20, 2:20"Genius sorting algorithm: Sleep sort 1 Name: Anonymous : 2011-01-20 12:22 Man, am I a genius. Check out this sorting algorithm I just invented.
#!/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
"
humor programming code technical 4chan bash sort sleep-sort sleep 2010 Feb 23, 9:38Think you're a bad ass having installed some obscure and difficult to use Linux distro, then prove how hardcore of a Linux nerd you are with '...Suicide Linux, where any unrecognized command is
parsed as "rm -rf /"...'
humor geek linux bash technical 2007 Mar 21, 12:14This program will tell you how to install an application if you try to use one that it knows about and that you don't have installed.
bash blog opensource tool ubuntu article linux tips 2007 Mar 19, 10:54Tutorials and examples for making scripts for the Unix shell Bash.
howto linux bash reference shell script tutorial programming tips