Hi,
I wrote a csh script where I want to save in a loop each time a different line from a text file (att_file) in the $name variable.
But it seems not to work.
att_file looks like:
123123123
345345345
345345345
set name = `head -n $count $att_file | tail -n 1 | awk '{print $1}'`
OK but I see no loop in your code
Same remarks as the post #3
Not knowing what errors you see or what you call going wrong it's difficult to suggest anything preserving your given code