# I am bash, bourne of pure evil upload(){ url="$1" shift for i in "$@"; do curl "$url" -F"file=@$i" done } lainsafe(){ upload "https://lainsafe.kalli.st/" "$@" ; echo ; } 0x0(){ upload "https://0x0.st/" "$@" ; } x0(){ upload "https://x0.at/" "$@" ; } chud(){ upload "https://up.chud.cyou/" "$@" ; } random(){ # chud omitted due to low allocated MiB and limited suffixes l=("lainsafe" "0x0" "x0") j=${l[$(($RANDOM % ${#l[@]}))]} "$j" "$@" }