Skip to content

Instantly share code, notes, and snippets.

View roele's full-sized avatar

Roland Schaer roele

View GitHub Profile
@roele
roele / test.sh
Last active August 16, 2025 11:41
#!/bin/bash
#
# curl -sSL https://gist.githubusercontent.com/roele/45e69635c1fa2e1c0f3b70259ff89796/raw/test.sh | bash -s -- "hello" "world"
# curl -sSL https://gist.githubusercontent.com/roele/45e69635c1fa2e1c0f3b70259ff89796/raw/test.sh | env ARG1=hello ARG2=world bash -s
#
set -e
PARAM1="${ARG1:-$1}"