#	Just an example script from "A Practical Guide to The Unix System"
#	by Mark G. Sobell
#
#	I was desperate for some ksh specific shell scripts to test with
#	just type "pr_rep data" from within ksh - it shows what some of the
#	typeset commands do if nothing else.

typeset -uL10 last
typeset -uL8 first
typeset -Z10 amount
typeset -L4 space
IFS="	"
space=" "

cat $1 |
while read last first amount
do
	print "$last $space $first $amount"
done
