Hello,
I'm trying to run a program on a directory (traverse sub dirs too) through my csh script. Arrays support in CSH is appalling, something like associative arrays would have helped me do this so much easier.
Anyway, I want to hold some details extracted from the program and then at the end display this collected details.
But CSH doesn't allow functions like in BASH. So I can't really call the script on files found in sub dirs and get that information back to this script can i?
My other question was how do I add a new line character to the end of a string ?
Say for example:
set myvar
foreach i($numbers)
$myvar = "$myvar 1 \n"
end
"\n" doesn't work.
Please excuse my ignorance, novice shell scriptor here.
Thanks for any help,
raga