Could someone please help me,
I am writing a script file in "ksh"
I want to be able to read the entire contents of a text file
into one variable such as $LIST_TYPE
then when "echo $LIST_TYPE" is runned outside a loop
it displays all elements stored within that variable.
Could some one please provide a example or information?
If this cant be done then what about reading each line into
a separate variable but incrementing that variable name eg.
WHILE read LIST_TYPE
(( COUNT = COUNT + 1))
loop < list.txt