Mercurial > repo
view bin/paste @ 2001:5a04dec93a1c
<coppro> pastequotes Sgeo
author | HackBot |
---|---|
date | Mon, 04 Feb 2013 17:51:45 +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