Re: C-shell login script
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Sun, 11 Jun 2006 03:09:33 -0400
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
.
- Follow-Ups:
- Re: C-shell login script
- From: s. keeling
- Re: C-shell login script
- References:
- C-shell login script
- From: surajchem
- Re: C-shell login script
- From: Nico Kadel-Garcia
- Re: C-shell login script
- From: Mark
- Re: C-shell login script
- From: John Hasler
- Re: C-shell login script
- From: Mark
- Re: C-shell login script
- From: s. keeling
- C-shell login script
- Prev by Date: How to escape the { braces } in the tcsh??
- Next by Date: Re: C-shell login script
- Previous by thread: Re: C-shell login script
- Next by thread: Re: C-shell login script
- Index(es):
Relevant Pages
|