#!/bin/sh url="http://ix.io" form="f:1=" if [ -t 0 ] && [ -n "${1}" ]; then form="${form}@${1}" else form="${form}<-" fi curl --form "${form}" "${url}"