Red Hat Bugzilla – Bug 162187
tcsh -n fails where tcsh succeeds
Last modified: 2014-09-08 06:17:25 EDT
Description of problem:
for foo in /etc/profile.d/*.csh ; do
tcsh -n $foo || echo "$foo failed!"
This reports errors on scripts that run with tcsh fine.
Makes writing test scripts hard. :/
It's even worse:
$ tcsh -f -n
> echo foo
> /bin/echo foo
It seems this was broken already in BSD Net/2 csh (only 14 years ago /-: )
Fixed in tcsh-6.14-3. It won't catch much, but at least there should
be no such obvious false positives.