#!/bin/sh if [ "$1" = "-e" ]; then curl https://unshorten.me/s/"${2:--}" elif [ "$1" = "-s" ]; then curl -F"shorten=${2:--}" https://0x0.st else echo "Wrong arguments" return 1 fi