Mercurial > repo
view paste/paste.12606 @ 12013:45938be0e4ea draft
<kspalaiologos> ` chmod a+x /hackenv/bin/labels.pl
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Thu, 14 Nov 2019 16:13:38 +0000 |
parents | 1bca98188e7f |
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"