diff --git a/paste_holen.sh b/paste_holen.sh new file mode 100644 index 0000000..26647af --- /dev/null +++ b/paste_holen.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +PASTE_ID="$1" # Aufruf: ./paste_holen.sh abc123 + +if [ -z "$PASTE_ID" ]; then + echo "Verwendung: $0 " + exit 1 +fi + +curl -s "https://pastebin.com/raw/$PASTE_ID" +