#!/bin/sh -u # $0 (no arguments) # A script that demonstrates a wide variety of Here Documents. # # -IAN! idallen@ncf.ca July 2001 # Some systems put gzip in /usr/local/bin - add it to PATH # export PATH=/bin:/usr/bin:/usr/local/bin umask 022 if [ "$#" -ne 0 ]; then echo 1>&2 "$0: Expecting zero arguments. You gave me $# ($*)." exit 1 fi ############################################################################ # The most basic Here Document simply copies text onto your screen. # cat <"$tmpfile" <