Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2007 21:29:03 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd@celestial.com, freebsd-questions@freebsd.org
Subject:   Re: The worst error message in history belongs to... BIND9!
Message-ID:  <20070704042903.GB3594@ayn.mi.celestial.com>
In-Reply-To: <468b072c.U1AQhNvKe3aLmLhT%perryh@pluto.rain.com>
References:  <200707031344.l63DiEbo098703@dc.cis.okstate.edu> <20070703163610.GA6012@ayn.mi.celestial.com> <468b072c.U1AQhNvKe3aLmLhT%perryh@pluto.rain.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Jul 03, 2007, perryh@pluto.rain.com wrote:
>> >> This is actually just the difference between sh and bash ...
>> >
>> >differences in, say, arithmetic handling and loops can sometimes
>> >mean rewriting parts of shell scripts depending on whether it is
>> >going to run in BSD or Linux.
>>
>> That's a major argument for doing things in python or perl as
>> they are consistent across all platforms ...
>
>If one is going to require the installation of something that may
>not be part of a base system, that something might as well be bash :)

One of the reasons I started using perl almost 20 years ago was
that it was cleaner and more consistent than tying a bunch of
utilities together with the shell (not to mention only having to
master one type of regular expressions :-).

I now use python for the vast majority of my development work
instead of perl as I find it much cleaner with better object
oriented features.

When I write shell scripts, I use a very limited set of features
which are /bin/sh compatible.  As soon as I start having to do
anything much more than run a program against a list of files, I
switch to python.

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Intellectually, teachers fall between education theorists and bright
cocker spaniels. (Probably closer to the education theorists. The AKC has
been doing wonders with spaniels.) If you think I'm kidding look at the
GREs for education majors, whose scores are the lowest of all fields, and
remember that these are the smart ones.'' -- http://www.FredOnEverything.net



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070704042903.GB3594>