view paste/paste.30457 @ 9989:9036010405ad

<hppavilion[0]> mkx bin/grwfi//grep -ERsi "$@" wisdom/*
author HackBot
date Fri, 16 Dec 2016 19:46:50 +0000
parents 42713ff67415
children
line wrap: on
line source

#!/bin/bash
if [ ! "$1" ]
then
    PASTE=-
else
    PASTE="$1"
fi

PASTENUM="$RANDOM"

mkdir -p $HACKENV/paste

url paste/paste."$PASTENUM"
cat "$PASTE" > $HACKENV/paste/paste."$PASTENUM"