Mercurial > repo
view bin/paste @ 779:fb8bb57a0eeb
<oerjan> learn FreeFull is either full of freedom or free of fulldom, we are not sure.
author | HackBot |
---|---|
date | Sat, 06 Oct 2012 20:45:24 +0000 |
parents | e037173e0012 |
children | fa63d5796937 |
line wrap: on
line source
#!/bin/bash if [ ! "$1" ] then PASTE=- else PASTE="$1" fi PASTENUM="$RANDOM" mkdir -p $HACKENV/paste echo 'http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.'"$PASTENUM" cat "$PASTE" > $HACKENV/paste/paste."$PASTENUM"