LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 05-03-2017, 02:26 AM   #1
LarryLibrary
LQ Newbie
 
Registered: May 2017
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 05-03-2017, 03:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,970

Rep: Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334Reputation: 7334
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.
 
Old 05-03-2017, 03:48 AM   #3
LarryLibrary
LQ Newbie
 
Registered: May 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Not able to create HERE docs in csh/tcsh linux_nerd Linux - Software 7 09-29-2015 03:49 PM
Error handling in csh/tcsh lucmove Programming 4 06-18-2010 07:07 PM
shell confusion..what is diff between bash, ksh, csh, tcsh..?? servnov Linux - Newbie 7 11-18-2004 08:28 PM
looking for csh or tcsh help 1ernie Linux - Software 1 04-12-2004 05:43 PM
tcsh/csh problem kicker Linux - Newbie 0 05-01-2002 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration