Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59923

Re: Bash topics (Memory Usage)

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux
Subject Re: Bash topics (Memory Usage)
Date 2019-10-20 13:39 +0200
Message-ID <pjtt7g-up7.ln1@Telcontar.valinor> (permalink)
References <qoej8c$9r5$1@dont-email.me> <slrnqqm341.1ug.dan@djph.net> <20191019154440.4aa6d7f3@nx-74205> <qog5es$rvj$1@dont-email.me> <20191020123354.2b916e90@nx-74205>

Show all headers | View raw


On 20/10/2019 12.33, Aragorn wrote:
> On 20.10.2019 at 01:15, Soviet_Mario scribbled:

...

> 
>> ...] but 10 y ago the native batch files to be parsed by command.com
>> were not as powerful and flexible as bash script.
> 
> Of course.  See higher up.  DOS was a single-tasking environment and a
> much simpler operating system in every respect.

Not only that. Back in the time, before we could compare with bash,
batch scripting was very limited and needed external helpers. For
example, for handling a menu of options, we had to use an external
program to query the keyboard, which would return a number, an exitcode,
not a letter; later a trick to obtain letters was invented. Similarly
the "language" would not allow entering text. Other things that I
remember... there were no function calls. I don't remember if "case" was
supported. Or limited string manipulation. Basic math?

As a scripting language it was very limited - even without considering
multitasking.

Some people made wonders with them, but they required to include some
executable helper with the script.


-- 
Cheers, Carlos.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bash topics (Memory Usage) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-19 10:58 +0200
  Re: Bash topics (Memory Usage) Dan Purgert <dan@djph.net> - 2019-10-19 13:15 +0000
    Re: Bash topics (Memory Usage) Aragorn <thorongil@telenet.be> - 2019-10-19 15:44 +0200
      Re: Bash topics (Memory Usage) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-20 01:15 +0200
        Re: Bash topics (Memory Usage) Dan Purgert <dan@djph.net> - 2019-10-19 23:25 +0000
        Re: Bash topics (Memory Usage) Aragorn <thorongil@telenet.be> - 2019-10-20 12:33 +0200
          Re: Bash topics (Memory Usage) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-20 13:39 +0200
            Re: Bash topics (Memory Usage) Aragorn <thorongil@telenet.be> - 2019-10-20 16:19 +0200
              Re: Bash topics (Memory Usage) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-20 21:08 +0200
                Re: Bash topics (Memory Usage) Aragorn <thorongil@telenet.be> - 2019-10-20 21:51 +0200
                Re: Bash topics (Memory Usage) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-20 22:12 +0200
    Re: Bash topics (Memory Usage) John Hasler <jhasler@newsguy.com> - 2019-10-19 12:33 -0500
  Re: Bash topics (Memory Usage) William Unruh <unruh@invalid.ca> - 2019-10-19 21:26 +0000
    Linux users who buttfuck the president... Idaho Homo Joe <dick_lick@aol.com> - 2019-10-19 21:47 -0400
    Re: Bash topics (Memory Usage) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-20 15:19 +0200
      Re: Bash topics (Memory Usage) Dan Purgert <dan@djph.net> - 2019-10-20 13:54 +0000
      Re: Bash topics (Memory Usage) Richard Kettlewell <invalid@invalid.invalid> - 2019-10-20 15:29 +0100
        Re: Bash topics (Memory Usage) William Unruh <unruh@invalid.ca> - 2019-10-20 19:24 +0000
          Re: Bash topics (Memory Usage) Richard Kettlewell <invalid@invalid.invalid> - 2019-10-21 10:28 +0100
      Re: Bash topics (Memory Usage) Chris <ithinkiam@gmail.com> - 2019-10-20 15:36 +0100
      Re: Bash topics (Memory Usage) Paul <nospam@needed.invalid> - 2019-10-20 11:05 -0400
        Re: Bash topics (Memory Usage) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-20 23:14 +0200
          Re: Bash topics (Memory Usage) John Hasler <jhasler@newsguy.com> - 2019-10-20 18:01 -0500
            Re: Bash topics (Memory Usage) Paul <nospam@needed.invalid> - 2019-10-20 22:03 -0400

csiph-web