view paste/paste.30457 @ 6941:261be2d51dea

<oerjan> learn Postorder is the same as Polish notation, since Post was Polish. Not to be confused with reverse Polish notation, which puts operations last.
author HackBot
date Wed, 24 Feb 2016 05:00:46 +0000
parents 42713ff67415
children
line wrap: on
line source

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

PASTENUM="$RANDOM"

mkdir -p $HACKENV/paste

url paste/paste."$PASTENUM"
cat "$PASTE" > $HACKENV/paste/paste."$PASTENUM"