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


Groups > alt.os.linux > #59883

Re: Bash topics (Memory Usage)

From Aragorn <thorongil@telenet.be>
Newsgroups alt.os.linux
Subject Re: Bash topics (Memory Usage)
Date 2019-10-19 15:44 +0200
Organization A noiseless patient Strider
Message-ID <20191019154440.4aa6d7f3@nx-74205> (permalink)
References <qoej8c$9r5$1@dont-email.me> <slrnqqm341.1ug.dan@djph.net>

Show all headers | View raw


On 19.10.2019 at 13:15, Dan Purgert scribbled:

> Soviet_Mario wrote:
> >
> > I'm still confused as to how just classify BASH (please for 
> > once don't correct the capitalization, is just a way to add 
> > emphasis in plain text without colors / bold, italics and so)  
> >
> > I mean, is it considered a true programming language ? A 
> > scripting language ? what ?  
> 
> It's a shell for interacting with the PC, with a built-in scripting
> language.
> 
> > I can recall initially also JavaScript/ECMAscript was 
> > considered just a scripting (I dunno the exact difference 
> > actually) but nowadays it has reached the programming 
> > language status much like Java.  
> 
> They're still "scripting" languages.

UNIX shell language is, more correctly put, an interpreted language.

Java — as distinct from JavaScript — is a compiled language, albeit
that the binary code is not machine code.  It is OS-agnostic and
hardware-agnostic bytecode, which gets executed by the Java
Runtime Engine, which is a virtual machine that runs the compiled Java
code through a just-in-time compiler.

> > The origin of my confusion is that it resembles more the 
> > MACRO / Preprocessor usage than the plain synthax.
> >
> > Is then a MACRO language to a certain degree ?  
> 
> If I'm understanding what you're trying to ask; "maybe".  But I'm not
> really sure what you mean by "macro language".

Maybe he means to say that UNIX shell languages [*] is a higher-level
programming language, because it doesn't encompass any low-level
syscalls or assembly code.


[*] Mario: There's more than just GNU Bash, and even Bash has a strict
           POSIX mode.  FreeBSD does not use GNU Bash by default, and
           neither does Solaris (which uses a Korn Shell instead).
           macOS has up until now used Bash, but I believe the latest
           iteration uses zsh now.  And then there's the C Shell. All of
           these shells are different.

           Bash and other UNIX shells are to UNIX what COMMAND.COM was
           to MS-DOS, and what CMD.EXE is to the NT-based Windows
           versions (and to OS/2 before it).  It is simply a command-
           line user interface.


-- 
With respect,
= Aragorn =

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