#!/bin/sh
# To narzedzie wysyla STDIN na Twojego maila

if ! command -v curl >/dev/null 2>&1
then
    echo "Potrzebujesz CURLa, aby pusher dzialal"
    exit
fi
if [ ! -t 0 ]; then
    curl -s --data-urlencode data@- push.mikr.us/$1
else
    curl -s push.mikr.us/$1
fi
