Re: csh question: foreach

From: Colin B. (cbigam_at_somewhereelse.nucleus.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 18:35:01 GMT

In comp.unix.solaris Roger Marquis <not-for-mail@roble.com> wrote:
> Coy Hile <hile@cse.psu.edu> wrote:
>>Joerg Schilling wrote:
>>> Why would somebody like to use csh as login shell?
>>
>>I am a reformed tcsh user. Now I use ksh. I actually feel bad for our
>>users here; their default shell is tcsh.
>
> Point of clarification, csh != tcsh.
>
> Out of curiosity, what compelling command line features
> does ksh offer that bash and tcsh don't?

ksh vs. bash (i.e. the "sh-like shells")
ksh is /bin/sh compatible. bash isn't. End of story.

ksh vs. (t)csh
ksh has all of the scripting abilities I need, has fantastic command-line
editing, and uses an extended set of /bin/sh syntax. csh doesn't offer me
anything more than that, so there's no compelling reason to (re)learn a
substantially different syntax.

Maybe if I were a professional programmer I'd appreciate the C-like syntax
on the command line, but from an admin point of view, it doesn't make much
sense.

Colin



Relevant Pages

  • Re: Writing a "Command Prompt"
    ... > find out about the internals of bsh, csh, tcsh, ksh, etc. in UNIX. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OT: Lets welcome Apple to the 80s
    ... The problem was that ksh was proprietary, so there were only two shells ... available in the '80s; sh and csh. ... I'm sure you're right - but I didn't come across tcsh until later. ... The only shells that that you were pretty much guaranteed to have access ...
    (rec.autos.sport.f1)
  • Re: csh question: foreach
    ... >>I am a reformed tcsh user. ... Now I use ksh. ... > Point of clarification, csh!= tcsh. ... and uses an extended set of /bin/sh syntax. ...
    (comp.unix.shell)
  • Re: csh question: foreach
    ... >>I am a reformed tcsh user. ... Now I use ksh. ... >does ksh offer that bash and tcsh don't? ... The point of this eternal war is that those who use an sh-like shell ...
    (comp.unix.solaris)
  • Re: csh question: foreach
    ... >>I am a reformed tcsh user. ... Now I use ksh. ... >does ksh offer that bash and tcsh don't? ... The point of this eternal war is that those who use an sh-like shell ...
    (comp.unix.shell)