Mercurial > repo
view bin/paste @ 2295:2734c1c779b3
<shachaf> addquote <zzo38> I have no problem if you want to use these drugs and make yourself dead and whatever, but making them legal might ruin the economy.
author | HackBot |
---|---|
date | Thu, 28 Feb 2013 04:38:57 +0000 |
parents | 7914d7e0b500 |
children | 03afb1619ef2 |
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