LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   csh for centos 6.X? (not tcsh) (https://www.linuxquestions.org/questions/centos-111/csh-for-centos-6-x-not-tcsh-4175605136/)

LarryLibrary 05-03-2017 02:26 AM

csh for centos 6.X? (not tcsh)
 
Recently, our company’s newly bought computers with Core i7 couldn’t drive Cento5.x mouses.

I found out that Centos5.x stopped updating since March 2017, so I attempted to use Centos6.x instead.*

But here comes another problem. Our company has been using csh(not tcsh) to programing for a long time(since HP-UNIX). And it seems like Centos6.x only has tcsh. Can I find csh that supported Centos6.x?

Attached are some difference issues between csh and tcsh that I encountered.

tcsh*

* * * * @ A = ` date '+%d' `*
* * * * @ A = 08 * ### when day is 08 --> @: Badly formed number.*

* * * * @ A = 016*
* * * * @ A++*
* * * * echo $A * ### *--> 15*

* * * * * if ( ` date '+%d' ` < 10 ) echo ok * *### when day is 08 --> if: Badly formed number.

pan64 05-03-2017 03:22 AM

I have:
% which csh
/usr/bin/csh
% ls -l /usr/bin/csh
lrwxrwxrwx 1 root root 9 Nov 11 12:35 /usr/bin/csh -> /bin/tcsh
%
[/code]
so probably you can do a similar link too.

LarryLibrary 05-03-2017 03:48 AM

Quote:

Originally Posted by pan64 (Post 5705520)
I have:
% which csh
/usr/bin/csh
% ls -l /usr/bin/csh
lrwxrwxrwx 1 root root 9 Nov 11 12:35 /usr/bin/csh -> /bin/tcsh
%
[/code]
so probably you can do a similar link too.




Thanks, but I want real "csh" to avoid some problem , not using tcsh to linking csh

(I'm using csh that from "Opensuse 11" at Centos5.x , but here has something wrong on Centos6.x , so I wanna found the csh that can working on Centos6.x)


All times are GMT -5. The time now is 06:32 AM.