Mercurial > repo
view bin/quotes @ 12481:04e80d56b9e5 draft
<b_jonas> slashlearn kitten//The kittens game is "https://kittensgame.com/", an addictive game that went viral for a short time on #esolangs in 2023-01.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 16 May 2023 20:27:56 +0000 |
parents | ad85e082af96 |
children |
line wrap: on
line source
#!/bin/sh allquotes | if [ "$1" ]; then if expr "$1" + 0 >/dev/null 2>&1; then sed "$1q;d" else grep -P -i -- "$1" fi else shuf --random-source=/dev/urandom -n 1; fi