Need your help. I've gone through the manual for the tch but still can't figure out how it should work in my case or whether it should work at all. I basically need to extract part of the variable whose value is a six digit number. So I need to drop the first two characters and
retrieve the last four. The example below doesn't work (it would probably work in bash but tcsh HAS to be used):
set VAR1 = value1
set VAR2 =
It comes up with error "Bad : modifier in $ (2)". Apparently, that's coz its bash syntax and not understandable by tcsh, but can't figure out how to do it with tcsh arguments.