Mercurial > repo
view bin/paste @ 2625:872664b66a3e
<elliott> sed -i \'1017s/$/ <Bike> please provide at least two zebrafish you have modified to glow in the dark/\' quotes
author | HackBot |
---|---|
date | Tue, 09 Apr 2013 01:06:16 +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