annotate bin/paste @ 5612:794f3859f02c
<tswett> learn sex is a board game which originated in Britain in the 1870s before spreading throughout Europe in the 1890s. Sex was introduced to the rest of the world by a book, "The Complete Guide to Sex", written and published by Taneb in 1932, based on Taneb\'s extensive experience with a wide variety of forms of European sex.
author |
HackBot |
date |
Thu, 18 Jun 2015 01:06:51 +0000 |
parents |
1bc67ded06c4 |
children |
|
rev |
line source |
0
|
1 #!/bin/bash
|
4598
|
2 if [ "$1" ] && url "$1" 2>/dev/null # Save making a file when it already exists.
|
0
|
3 then
|
4598
|
4 true
|
|
5 else
|
4531
|
6 PASTENUM="$RANDOM"
|
|
7
|
|
8 mkdir -p $HACKENV/paste
|
|
9
|
|
10 url paste/paste."$PASTENUM"
|
4598
|
11 cat -- "${1--}" > $HACKENV/paste/paste."$PASTENUM"
|
0
|
12 fi
|