5 ms·
I have a similar setup: function cheat() { cheatcommand=$1 shift; IFS='+' str="$*" if [ "$#" -eq 0 ]; then
by repox 4y ago
I have a similar setup:
function cheat() {
cheatcommand=$1
shift;
IFS='+'
str="$*"
if [ "$#" -eq 0 ]; then
curl cht.sh/$cheatcommand
else
curl cht.sh/$cheatcommand/$str
fi
}