Mercurial > repo
view bin/paste @ 2016:16674c4f830c
<oerjan> addquote <Bike> if you say "java" three times to a dark mirror does steele come out and lecture you about operator overloading
author | HackBot |
---|---|
date | Wed, 06 Feb 2013 20:36:14 +0000 |
parents | 629eda98330d |
children | 1c1429d055bc |
line wrap: on
line source
#!/bin/bash if [ ! "$1" ] then PASTENUM="$RANDOM" mkdir -p $HACKENV/paste url paste/paste."$PASTENUM" cat > $HACKENV/paste/paste."$PASTENUM" else # Save making a file when it already exists. url "$1" fi