Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 10:09:17 +0100 (CET)
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        obrien@FreeBSD.ORG
Cc:        current@FreeBSD.ORG
Subject:   C shell scripts (was: Re: which(1), rewritten in C?)
Message-ID:  <200003030909.KAA72276@hugo10.ka.punkt.de>
In-Reply-To: <20000303005651.A62723@dragon.nuxi.com> from "David O'Brien" at "Mar 3, 2000 00:56:51 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all!

> On Thu, Mar 02, 2000 at 08:47:19PM -0500, Dan Papasian wrote:
> > While this may sound crazy, I was tired of 'which' taking a long
> > time to complete on my 486 dx4/100 when it was under extereme
> > pressure, so I rewrote it in C :)
> > 
> > I don't think that it is worthwhile replacing this perl script
> > with one written in C, but if anyone is interested...
> 
> Why in the world isn't ``which'' written as a csh shell script??

Most probably because C shell scripts should be avoided at any
cost.

See: http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

Regards,
Patrick
-- 
WEB Internet Services Systemhaus GmbH   Scheffelstr. 17a    76135 Karlsruhe
     phone +49 721 9109 0   fax +49 721 9109 100   http://www.punkt.de/
       Patrick M. Hausen   Technical Director   email hausen@punkt.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003030909.KAA72276>