*BSD News Article 71754


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!news-res.gsl.net!news.gsl.net!nntp.coast.net!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD cmd line editor / text editor recommends?
Date: 22 Jun 1996 12:03:17 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <4qgne5$q31@uriah.heep.sax.de>
References: <4psnen$p9h@hermes.athenet.net> <87g27wffhr.fsf@plm.xs4all.nl>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Peter Mutsaers <plm@xs4all.nl> wrote:

> Whatever you choose, I'd *not* use a csh-like shell (like tcsh). The
> csh has a completely different syntax. Usually shell scripts are
> written for the Bourne shell or the Korne shell (ksh). It is nice if
> your interactive shell uses the same syntax.

The latter (and since you need it to prove your stated opinion, the
former claim as well) is a ``YMMV'' item.  I personally fail to see
why using a different shell for interactive work (tcsh) than for
scripting (sh) should cause me any problems.  Actually, i used to do
it this way for years now.  Both languages are far from being the only
computer languages i know about, and i tend to write larger scripts in
Perl instead anyway since it's more efficient.  Once i finished
learning Tcl, i think i will also often find occasions where this
would fit better.

Of course, this is so much a matter of personal taste that it's
useless to recommend either of them in Usenet.  But it's also useless
to think you have to warn users to not use a csh or compatible one,
for the only reason that this is _your_ decision.  It's about in the
same boat as warning users to not use Linux, since this was just your
decision...

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)