#!/bin/csh -f # beep # ----------------------------------------------------------------------------- # Shell script to beep to get the user's attention, optionally also showing # a text message. # ----------------------------------------------------------------------------- # Usage: # - Typically called from another script when an error occurs. # Assumptions: # Effects: # - Writes beep (Ctrl-G chars) and optional message to stdout. # Notes: # Implementation Notes: # Portability Issues: # Revision History: # $Log$ # ----------------------------------------------------------------------------- if ("$1" == "-h" || "$1" == "--help") then echo "Usage: $0:t [message]" echo "Example: $0:t Hello there..." exit 1 endif echo "$*"