long-live tcsh | /etc/csh.cshrc problem on redhat/fedora core Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 There is long-live annoying problem/issue with
redhat/Fedora Core Linux since redhat 7.2, as far as I
know. the '$?variable' expression in /etc/csh.cshrc
file blocks users' csh/tcsh scripts from running all
the time.

give the following test.csh script as an simple
example:

[root@www ~]# cat /var/tmp/test.csh
#!/bin/tcsh -Xvn
echo " I'm here"
[root@www ~]#

[root@www ~]# /var/tmp/test.csh
if ( "$group" == "$user" && $uid > 99 ) then
endif
if ( $?prompt ) then
$?prompt: No match.
[root@www ~]#
 
The script fails debugging. it fails at the line "if
($?prompt) then" inside /etc/csh.cshrc! 

To successfully run and debug csh/tcsh scripts, we
have renamed the /etc/csh.cshrc to
/etc/csh.cshrc_redhatShit since redhat 7.2. 

 Any one can shed a light on this "problem"?

 Thanks.

--Robinson

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux