I have ubuntu 16.04 installed on my local pc and I'm trying to make my work environment as similar to the way it is configured at my job
to achieve that I wanted to use the same tcshrc file (yes, we use tcsh, not sure why...)
anyway, when I try to open a tcsh terminal (or to source ~/.tcshrc for the matter) I'm getting an error:
set: Variable name must begin with a letter.
trying to isolate the cause I found out that the next lines are enough to cause it
#!/bin/tcsh
echo 0
set history = 2000 # this line is not the cause, verified by echoing
echo 1
set savehist = (2000 merge)
echo 2
output:
0
1
set: Variable name must begin with a letter.
when i try to run set savehist = (2000 merge) as a regular shell command the terminal doesn't show any error.
ofcourse that at my job the tcshrc is working fine. in both I have tcsh 6.18.01 installed
any help is welcome
thanks
tcsh
on Mac OS X back in the good old days, 10.0-10.3 ... it sucks as a shell. For interactive use it is sort of OK, except, precisely, when you have a nice script to source ... it is a poor excuse for a shell. I am sure it is a corporate fallacy^H^H^H^H^H^H^Hpolicy. "corporate policies", when you hear that, you know it is brain dead and the "policy" is just some excuse for folly... – thecarpy Nov 21 '17 at 18:40