#!/bin/bash function usage() { echo "Usage: $(basename $0) text to display" exit 0 } -z $1 && { usage; } echo "$1 "|xargs -I {} osascript -e 'display notification "{}" sound name "submarine"'
Advertising: