#!/bin/csh -f # pause # ------------------------------------------------------------------------- # Shell script to prompt the user with an optionally specified string, # waiting for Enter before resuming. # ------------------------------------------------------------------------- # Revision History: # $Log$ # ------------------------------------------------------------------------- if ($1:q == "-h" || $1:q == "--help") then echo "Usage: $0:t [message]" exit 1 endif set msg = "Hit Enter to continue..." if ($#argv > 0) then set msg = "$*" endif echo -n "$msg " set dummy=$<