[96521] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: BASH scripting question

daemon@ATHENA.MIT.EDU (Ted Maciag)
Tue Oct 27 17:41:57 1998

Date: Tue, 27 Oct 1998 17:41:48 -0500
From: Ted Maciag <tsm@wwnet.net>
Reply-To: tsm@wwnet.net
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com

I agree, with a twist.

Korn is great and can be loaded every where you want it to be.  Good Luck!

-ted


John H Darrah wrote:

> On Tue, 27 Oct 1998, Cameron Simpson wrote:
>
> > On 24 Oct 1998, in message <Pine.LNX.4.05.9810231409110.5138-100000@mallard.itep.ru>
> >
> > Alexei Nefediev <nefediev@heron.itep.ru> wrote:
> >
> > > what should I do to learn my own script to
> > > understand switches and to report about its
> > > usage when started without arguments?
> >
> > Step 1: Never write for "bash" (or the other
> >         dialects like zsh ksh etc) if you can
> >         write for plain vanilla Bourne shell (sh).
> >
>
> WRONG!!  This is just another one of these
> religious statements that confuse many newcomers.
>
> You write in whatever shell language you need to
> do the job, using *ALL* the features that make the
> task easy to write and maintain.
>
> What if you are using csh...? Are you still
> supposed to make it compatible with sh...? Bash is
> no different than awk, perl, sed, csh, python
> which are all scripting languages.
>
> If you are a software developer that *Needs* to be
> compatible with many different Unix systems, then
> it would be a good idea, but *Not* absolutely
> necessary.
>
> For localized tasks you should use *All* the
> features of the shell of your choice and don't
> listen to the religious crap.
>
> --
> John Darrah (u05192)    | Dept: N/C Programming
> Giddens Industries      | Ph: (425) 353-0405 #229
> PO box 3190             | Ph: (206) 767-4212 #229
> Everett  WA    98203    | Fx: (206) 764-9639
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                 http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.



--
Ted Maciag



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post