#!/bin/sh URL="https://wiki.apps.gaiwan.co/$1" if command -v xdg-open >/dev/null then # Linux exec xdg-open "$URL" else # Mac exec open "$URL" fi