Is tcsh 100% compatible with the plain-old csh [on Solaris 9]


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Is tcsh 100% compatible with the plain-old csh [on Solaris 9]
# 1  
Old 04-28-2010
Is tcsh 100% compatible with the plain-old csh [on Solaris 9]

Hi folks

There are about 200 csh scripts (I didn't wrote them). Do all those scripts run with tcsh without modification? Is tcsh 100% compatible with the plain-old csh?

Code:
$ which csh
/usr/bin/csh
$ which tcsh
/usr/bin/tcsh
$ uname -a
SunOS purzelse 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V440

# 2  
Old 04-28-2010
Hi.

From the first line of the tcsh man page:

Code:
tcsh  is  an  enhanced but completely compatible version of the Berkeley UNIX C shell, csh(1).

This User Gave Thanks to Scott For This Post:
# 3  
Old 04-28-2010
There is almost no difference between syntax of csh and tcsh statements. tcsh is essentially csh plus the TENEX command line editor and history handler.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Csh/tcsh : Check the file existance and run the script

Hi, I've to wait until a file generated and once its generated, source another script in Linux terminal. Please help me as this is very very urgent. The code should be something like if ( -e "/abc/xyz/a.txt ) source aaa.csh else sleep This should be repeated till the if... (4 Replies)
Discussion started by: kumar_eee
4 Replies

2. Solaris

is there an veritas volume manager version compatible with solaris x86 machine?

i heard some where veritas volume manager wont work on solaris x86. i have installed vmware into my 32bit xp machine. i am planning to learn veritas.. is there an veritas volume manager version compatible with solaris x86 machine? (2 Replies)
Discussion started by: chidori
2 Replies

3. Shell Programming and Scripting

tcsh/csh: set prompt in production to color red

Hi folks This is our prompt at the moment oracle@pinkipinki:/opt/oracle> grep 'set prompt' .cshrc set prompt = "$user@`uname -n`:$cwd> " We wish to have in production the same prompt, but red. Howto do that? I tried a lot a internet manuals, but it doesn't work. (1 Reply)
Discussion started by: slashdotweenie
1 Replies

4. UNIX for Advanced & Expert Users

solaris 8 libraries compatible solaris 10

Hello, For a company I have to check if it is possible to migrate there environment from a solaris 8 to solaris 10. Is there a tool with which I can check if the libraries running now on the 8 are compatible with the 10? Kind regards (3 Replies)
Discussion started by: chelle007
3 Replies

5. Solaris

UFS on solaris 10, compatible with solaris 8?

we have a server runnning solaris 10 (sparc) this server is attached the a SAN (HP EVA) we created 23 LUN's and filled them with data. the we unmounted them and tried to attach the LUN's to a solaris 8 system. this is where thing get strange... when we just mount the LUN's it works... (9 Replies)
Discussion started by: robsonde
9 Replies

6. Shell Programming and Scripting

Differences between csh and tcsh

What are the differences between csh and tcsh shells ? In one of the shell scripts csh binary is a soft link to tcsh. (1 Reply)
Discussion started by: shafi2all
1 Replies

7. Shell Programming and Scripting

Unexpected end of file..with csh->tcsh

All; Thanks for reading. I'm having a heck of a time with this cshell script that fires off an hp temperature monitor and rotates logs. I keep getting '/opt/temperature/temp.sh: line 22: syntax error: unexpected end of file' when I try to 'sh /opt/temperature/temp.sh" it --script... (3 Replies)
Discussion started by: swjv
3 Replies

8. UNIX for Dummies Questions & Answers

diff between tcsh and csh -f

Hello Am very new to linux/unix, workin in it since 10 days only. I had started with bash and now I need to work in tcsh. I have changed shell for my user profile using 'chsh' I use gedit for script writing. Now in the first line if I write #!/bin/tcsh i get d msg /home/usr/.cshrc: No such... (2 Replies)
Discussion started by: mahendrakamath
2 Replies

9. Solaris

Compatible NICs for Solaris 9 (9/05) x86

Hi, Please can someone recommend me a cheap PCI Network card for Solaris 9 (9/05) for an Intel based PC (x86). I currently have a US Robotics NIC installed, but Solaris does not recognise it and its been too much hassle to find drivers for it etc, so have decided to purchase another NIC that... (3 Replies)
Discussion started by: wajidc
3 Replies

10. UNIX for Dummies Questions & Answers

Print Servers compatible with Solaris

Does anyone have any advice on what print servers to use with Solaris I used to use intel but they dicontinued the model we used. I would just use lpadmin to set them up . Any advice on this would be very helpful. (2 Replies)
Discussion started by: xmildx
2 Replies
Login or Register to Ask a Question