view paste/paste.30276 @ 1018:b3b03b763b45

<oerjan> addquote <GreyKnight> headache + train with screeching brakes = headache^2 <hagb4rd> hm..headache + train with no screeching brakes = no head <GreyKnight> On the plus side, no headache anymore
author HackBot
date Mon, 10 Dec 2012 23:13:29 +0000
parents edc576a78ad1
children
line wrap: on
line source

#!/bin/bash
if [ ! "$1" ]
then
    PASTE=-
else
    PASTE="$1"
fi

PASTENUM="$RANDOM"

mkdir -p $HACKENV/paste

echo 'http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.'"$PASTENUM"
cat "$PASTE" > $HACKENV/paste/paste."$PASTENUM"