#!/bin/sh STARTUP="./foo.sh -env {{HOME}}" PARSED=$(echo "${STARTUP}" | sed -e 's/{{/${/g' -e 's/}}/}/g' | eval echo "$(cat -)") printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0m%s\n" "$PARSED" exec env "$PARSED"