Re: C-shell login script



On 2006-06-11, s. keeling wrote:
Mark <notspam@xxxxxxxxxxxxxxxx>:
John Hasler wrote:

Mark writes:
In what way is tcsh deprecated?

For scripting. It's fine for a login shell if you like that sort of
thing. Have you tried ksh?

No, if I ever changed from tcsh as an interactive command shell
I'd probably go to zsh

For scripting I always explicitly use bourne or perl

#!/bin/sh
or
#!/usr/bin/perl -w

My guess (from experience :-) is perl is more portable than sh. Hell,
it even runs on MS-Sh*tdows.

If you want a write-only language, perl is fine.

And zsh rocks!

But you cannot type portable scripts at the command line.

--
Chris F.A. Johnson, author <http://cfaj.freeshell.org>
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
===== My code in this post, if any, assumes the POSIX locale
===== and is released under the GNU General Public Licence
.



Relevant Pages

  • C/C++ interpreter Ch 6.0 available
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.compilers)
  • [ann] C/C++ interpreter Ch 6.0 released
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.programming)
  • Re: Shell Games
    ... Scripting languages like PERL and Bash serve diffrent ... a great book is UNIX Shell ... > Just used a different scripting language. ...
    (freebsd-newbies)
  • [Ann] C/C++ interpreter Ch 5.5 for QNX released
    ... Ch is an embeddable C/C++ interpreter for cross-platform scripting, 2D/3D plotting, numerical computing, shell programming and embedded scripting. ... The new release mainly added Embedded Ch function callback features, more C99 features, and powerful new plotting capabilities, Ch Professional Edition supports smooth surface mesh for 3D plotting. ... functions in static or dynamic binary C/C++ libraries can be executed in Ch script file or Ch command shell without re-compilation. ...
    (comp.os.qnx)
  • [Ann] Embeddable C/C++ interpreter Ch 5.1 released
    ... C/C++ interpreter Ch 5.1, ... embedded scripting. ... 200 utilities in total for cross-platform shell programming and rapid ...
    (comp.compilers)