#!/bin/sh -u # $0 (no arguments) # A script that reads and echoes two variables. # -IAN! idallen@ncf.ca # Set standard PATH and umask: # export PATH=/bin:/usr/bin umask 022 echo "My shell script is starting now." # Prompt (on stderr), read, and echo two shell variables: # echo 1>&2 "A 2 word input:" read one two echo "Number one is: $one" echo "Number two is: $two" # Display the contents of two predefined keyword variables: # echo "Your shell's using: $PATH" echo "The name is $SHELL when you are here." date echo "My script is ending at the end."