#!/usr/bin/ksh93 TMP=file.$$ IFS="" cat <<EOT >$TMP AAA BBB CCC DDD EEE FFF EOT while read LINE do echo $LINE done < $TMP rm $TMP