What are the syntax changes from the shell script to the cshell script?
I just came to know that .sh
files don't use set
and spaces around =
are not allowed, while this i开发者_如何学Cs allowed in a .csh
file.
Is there some place that you can point me to where I can find all these minor differences?
The documentation?
Csh and sh may look similar, but they are different languages. Just like C++ and Java have some similar constructs, but are different languages.
It is fairly common knowledge that Csh programming is considered harmful for a variety of reasons.
(sh does use set but for different purposes)
you can also take a look at this for comparison between shells
精彩评论