Hi,
with PERL you can read the whole file into a variable.
CSH doesn't allow unlimited number of words to be assigned to a variable.
Most typically you operate on the whole file at a time putting the results in another file.
Unlike sh which has a nice READ command to get the next line of a file, CSH doesn't have a way to get the next line of a file.
The best you can do is simulate the read command.
@ x = 1
set a = `cat file | wc -l`
while ( $x <= $a )
set line = "`head -$x file | tail -1`"
... operate on $line ....
@ x ++
end
hope this helps.