Re: Need help correcting this Bash function
From: Tavis Ormandy (taviso_at_sdf.lonestar.org)
Date: 10/09/04
- Next message: Chris F.A. Johnson: "Re: Need help correcting this Bash function"
- Previous message: Tavis Ormandy: "Re: Need help correcting this Bash function"
- In reply to: Ed Morton: "Re: Need help correcting this Bash function"
- Next in thread: Ed Morton: "Re: Need help correcting this Bash function"
- Reply: Ed Morton: "Re: Need help correcting this Bash function"
- Reply: Phil Powell: "Re: Need help correcting this Bash function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Oct 2004 14:51:55 GMT
On 2004-10-09, Ed Morton <morton@lsupcaemnt.com> wrote:
> He appears to think, as I do, that we're discussing whether or not to
> use bash-sepcific constructs when the equivalent generally-available
> constructs could be used for about the same amount of code and
> efficiency. If that's not what's being discussed, please enlighten us!
answered elsewhere.
> Because there are plenty of people out there running ksh88 and other
> older shells. I use ksh88 because I often have to run scripts on
> machines that don't have bash or other more recent shells installed and,
> since I don't own or administer those machines, I don't want to waste my
> time installing them or correcting my scripts for the brief period when
> I'm using those machines.
So, you have an outdated shell, and want everybody's scripts to support
it?
How thoughtful of you.
> As for the OP asking for help with a "bash script" - that doesn't mean
> he wants or should only get a bash-specific solution. Plenty of people
> post questions here about one tool only to be told that either:
So, how would I ask you for your opinion on something bash related?
"Ed, what do you think of the new brace expansion features in
____***!!!!! ->>>>> BASH <<<<- |!!!!***____"
I mean, how clear does he have to make it?
> a) they're using the tool the wrong way, or
> b) the correct solution is to use a different tool.
Wow, how patronising.
>> Well then, you're lucky that you only ever have to do simple operations.
>
> I very much doubt that's the case, but I suspect that most people would
> use awk or perl for most complex operations anyway.
>
Then you'ld be wrong.
-- ------------------------------------- taviso@sdf.lonestar.org | finger me for my gpg key. -------------------------------------------------------
- Next message: Chris F.A. Johnson: "Re: Need help correcting this Bash function"
- Previous message: Tavis Ormandy: "Re: Need help correcting this Bash function"
- In reply to: Ed Morton: "Re: Need help correcting this Bash function"
- Next in thread: Ed Morton: "Re: Need help correcting this Bash function"
- Reply: Ed Morton: "Re: Need help correcting this Bash function"
- Reply: Phil Powell: "Re: Need help correcting this Bash function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|