Re: Variables not passed out of WHILE
In article <7b0pc4-ov1.ln1@xxxxxxxxxxxxxxxxxx>,
Chris F.A. Johnson <cfajohnson@xxxxxxxxx> wrote:
On 2007-03-15, Kenny McCormack wrote:
P.S. This, incidentally, is a good example (and there are many others)
of why using shell as a general purpose programming language (as opposed
to merely using shell as a "host" for a real language like
AWK/perl/whatever) is a bad idea.
On the contrary, it is a good example of why you need to know the
language you are using. The shell is an excellent general-purpose
programming language (but, perhaps, not an all-purpose programming
I fully expected you to say that. But I think it is wrong.
- [OT] Re: Few points to consider
... A shell actually has a dual aspect, and it is probably sensible to ... As a control language it allows: ... * Quick creation of scripts for automating tasks, ...
- Re: TRUE is 0 is FALSE
... explain that, in C, values which compare equal to zero are "false" and values ... We all know that the formal language is written extra formally ... The point of a statement like "to the shell, an exit status of zero is true, ... and a non-zero exit status is false" is to help the reader use existing ...
- Re: Reintroducing fish, the friendly interactive shell
... between shell variables and environment variables. ... A shell may incidentally be a scripting language, ... I think the fish design fulfills the requirements of a shell ... But according to Wikipedia "A macro language ...
- Re: How to convert Infix notation to postfix notation
... When you can suggest a better language for kernels, ... I'm not super excellent at any of those, although I'm pretty good at shell, ... and certainly competent in lua and perl. ...
- Re: help regarding shell script to find out if a directory exists at a given path
... more efficient to use a more powerful language, like perl, python, or ruby. ... Many things you can do in these languages are awkward in bash and the ... are straightforward in the shell. ... languages than on shell programming, and in the 90s focused on learning OO ...