#!/bin/ksh
# Script name: runit
# Example 10.117

# IFS is the internal field separator and defaults to 
# spaces, tabs, and newlines. 
# In this script it is changed to a colon.
names=Tom:Dick:Harry:John
OLDIFS="$IFS" 				     # save the original value of IFS
IFS=":"
for persons in $names
do
    print Hi $persons
done

IFS="$OLDIFS"	      # reset the IFS to old value

set Jill Jane Jolene	# set positional parameters
for girl in $*
do
    print Howdy $girl
done
