#!/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 "This is the start of my script." date # Display the contents of two predefined keyword variables: # echo "It has the value $SHELL at login." echo "The search's here: $PATH" # Prompt (on stderr), read, and echo two shell variables: # echo 1>&2 "Enter two words:" read one two echo "First is: $one" echo "Second is: $two" echo "This is the end of my script."