Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #59882
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: Bash topics (Memory Usage) |
| Date | 2019-10-19 13:15 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnqqm341.1ug.dan@djph.net> (permalink) |
| References | <qoej8c$9r5$1@dont-email.me> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Soviet_Mario wrote: > > Is it there sort of a "limit" about how much memory can be > used in BASH scripts (variable, functions and so). As much RAM as you've got, barring some sort of monitor that limits per-user (or per-process, etc). > > How heavy on memory is the heaviest script ever met ? The script? Not very. But I have used scripts on multi-GB files that need to get sorted (or have other "across the entire file" type actions apply). > > sub topic. > > 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) Normally, we'd use quotes for that case (or, depending on the newsreader, _underscore_, *asterisk*, or /slash/ can add the emphasis too.) > 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. > > what topics in general are not suitable for BASH ? > I mean, I think it is very fit for file system manipulation, > absolutely unfit for graphics. And for TEXTUAL elaboration ? System interaction and textual manipulation (e.g. logfiles). If it's "structured" text (XML, HTML, JSON, etc.), then there are better tools than bash. That being said, bash can be the "glue" for working with structured text, or media files (etc), by handling looping over files in a directory and calling the proper tool to process the file (e.g. jq, or imagemagic, ffmpeg, and so on). > > 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". -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl2rDH8ACgkQjhHd8xJ5 ooEYGwf/XMdoo+EGwfDElxdMcp/FRuvUu8ldfhiMvq3HOiBThm8W3hpOpbu+aIiD X54X0CWjLEWIeQ7GC8nElGOoVUvzngExeiSPPJz+yNDgyjJWERlycmhfYKGPm72i uKW5BxZKA1v4eLEnEUnKSPIDmgkVBCVrBvcarhLb21hsf67p0eOjv2eQsrXJyT5M C3tdG4Sd/A2Xn2Zuj9eQKSi3S+iXS2BQM5BHZJmynhy/ZP04075A378i8+pbF/W5 mVL0F6rxGDcK7V3DTnIxy23RIHQM+isE+Wa4GhXo1YfmQ2maIwbO/tSQ82bpYzNi Oa2r3sjXUTTQiCOpkDJDG86Tnw37oA== =F20E -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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