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


Groups > alt.os.linux > #59965

Re: Bash topics (Memory Usage)

From Paul <nospam@needed.invalid>
Newsgroups alt.os.linux
Subject Re: Bash topics (Memory Usage)
Date 2019-10-20 22:03 -0400
Organization A noiseless patient Spider
Message-ID <qoj3kt$8g0$1@dont-email.me> (permalink)
References (1 earlier) <qofv1n$p8o$1@dont-email.me> <qohms9$83v$1@dont-email.me> <qoht2t$1co$1@dont-email.me> <qoiinc$fq2$1@dont-email.me> <87tv839g37.fsf@dhh.gt.org>

Show all headers | View raw


John Hasler wrote:
> Paul writes:
>> And the other thing that helps, is to find some really large example
>> scripts, because they will teach you how an expert structures a large
>> script.
> 
> There shouldn't be any.  Five liners is what Bash is for.

I got an excellent example script.

Around 2000 lines, with all sorts of helper routines for
installing software on Unix boxes. It was proprietary software,
that I used occasionally for similar tasks on my own machine.

I referred to that sample a number of times, when
I wanted to understand how a real scripter thinks.

The danger with the five line scripts, is they're
written by beginners like me :-)

There can also be a myriad of escape sequences for
computer languages, and you might need a separate webpage
to help you with those. How many backslashes or forward slashes
can you put in a row ? How do you quote a quotation mark ?
There are always things like that which you need to understand,
and the solution may be context sensitive. The five line
sample scripts live in some ideal world without spaces in
pathnames and the like.

    Paul

Back to alt.os.linux | Previous | Next — Previous 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