Mercurial > repo
view bin/paste @ 1921:499090b72bec
<oerjan> mv wisdom/tanebventions wisdom/tanebvention
author | HackBot |
---|---|
date | Thu, 31 Jan 2013 20:41:57 +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