Hello all,
I am new to shell scripting.
Can anybody help me regarding reading a file using C-Shell scripting.
I am currently using the following code:
foreach $s (`head logfile`)
echo $s
But this code prints each word in the flile. I want to get each line and process it.

Thanks a lot