Last active
May 22, 2024 13:58
-
-
Save kissgyorgy/f1be5b43e051b0793f3d9483a65e0616 to your computer and use it in GitHub Desktop.
Bash: sleep sort
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function f() { | |
sleep "$1" | |
echo "$1" | |
} | |
while [ -n "$1" ] | |
do | |
f $1 & | |
shift | |
done | |
wait |
I'm glad I could contribute such a huge value to your project! 🤣
I use this when making Minecraft
¿?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
les go!!!! thanks for providing this. it has helped with a project of mine