• Over-Elaborate Shell Scripting

    From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 07:21:40 2026
    From Newsgroup: comp.unix.shell

    When using a computer, laziness is a virtue. This is why we have
    command lines, to help automate the boring and repetitive tasks.

    This article <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-two-variables-and-loops-in-bash/>
    continues the authorrCOs intro to basic command-line concepts. But it
    repeats a failing I see all too often in shell scripting: doing
    complex parsing of the output of some command, when the command itself
    offers an option to produce something closer to the exact output you
    need.

    In this case, he is extracting the names of datasets from the rCLzfs
    listrCY command. And while I have zero experience with ZFS, I can look
    at documentation <https://docs.oracle.com/cd/E18752_01/html/819-5461/gazsu.html>, and
    discover that the command offers the rCL-orCY option where you can select exactly that information you want it to output. It even has rCL-HrCY to simplify the output format right down, specifically to make it easier
    to parse.

    Sure, itrCOs fun to write code. But it can be even more fun to _avoid_
    writing code. RTFM helps.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 03:42:24 2026
    From Newsgroup: comp.unix.shell

    On 3/12/26 03:21, Lawrence DrCOOliveiro wrote:
    When using a computer, laziness is a virtue. This is why we have
    command lines, to help automate the boring and repetitive tasks.

    This article <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-two-variables-and-loops-in-bash/>
    continues the authorrCOs intro to basic command-line concepts. But it
    repeats a failing I see all too often in shell scripting: doing
    complex parsing of the output of some command, when the command itself
    offers an option to produce something closer to the exact output you
    need.

    In this case, he is extracting the names of datasets from the rCLzfs
    listrCY command. And while I have zero experience with ZFS, I can look
    at documentation <https://docs.oracle.com/cd/E18752_01/html/819-5461/gazsu.html>, and
    discover that the command offers the rCL-orCY option where you can select exactly that information you want it to output. It even has rCL-HrCY to simplify the output format right down, specifically to make it easier
    to parse.

    Sure, itrCOs fun to write code. But it can be even more fun to _avoid_ writing code. RTFM helps.


    Shell scripts HAVE THEIR PLACE, I've writ fairly
    long ones ... but any modern suggestion that they
    are the one and only great solution to complex
    problems - no, No, NO !

    Despite my own complaints here, Python is the better
    way to go - if possible - for complex little issues.
    Far clearer.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 09:00:18 2026
    From Newsgroup: comp.unix.shell

    On 3/12/26 08:21, Lawrence DrCOOliveiro wrote:
    When using a computer, laziness is a virtue. This is why we have
    command lines, to help automate the boring and repetitive tasks.

    This article

    <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-two-variables-and-loops-in-bash/>
    continues the authorrCOs intro to basic command-line concepts. But it repeats a failing I see all too often in shell scripting: doing
    complex parsing of the output of some command, when the command itself offers an option to produce something closer to the exact output you
    need.

    Right. I can only agree with you.

    The more general problem is that there's so much stuff about shell
    programming on the web but most of it is sadly of very bad quality.


    In this case, he is extracting the names of datasets from the rCLzfs
    listrCY command. And while I have zero experience with ZFS, I can look
    at documentation <https://docs.oracle.com/cd/E18752_01/html/819-5461/gazsu.html>, and discover that the command offers the rCL-orCY option where you can select exactly that information you want it to output. It even has rCL-HrCY to simplify the output format right down, specifically to make it easier
    to parse.

    The -o is something that I met during the 1990's on AIX (for some of
    its Unix commands; I specifically recall 'ps'). Meanwhile it made its
    way into some more commands also on other Unix systems. Given that
    output of Unix commands was historically (and still is) often awkward
    and inconsistent to parse the -o philosophy was and still is a great
    progress.

    Concerning ZFS; I'm using that meanwhile for many years now. Here my
    experience is that I don't need any own parsing; ZFS provides already
    in a sensible way and in a clear form all I need from it.


    Sure, itrCOs fun to write code. But it can be even more fun to _avoid_ writing code. RTFM helps.

    Right. But on Unixes there's still a lot in a bad quality state and I
    can still hardly avoid own shell programs to automate my tasks.

    Janis

    PS: Sorry for the private email; once again fooled by a new Thunderbird installation with its stupid default GUI arrangements. - Speaking about
    bad software quality state. Hah!

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 10:59:37 2026
    From Newsgroup: comp.unix.shell

    On 3/12/26 09:00, Janis Papanagnou wrote:
    On 3/12/26 08:21, Lawrence DrCOOliveiro wrote:

    This article <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-
    two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    continues the authorrCOs intro to basic command-line concepts. But it repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Right. I can only agree with you.

    The more general problem is that there's so much stuff about shell programming on the web but most of it is sadly of very bad quality.

    It's exactly a paragon for the said many sources of bad quality.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 12:34:32 2026
    From Newsgroup: comp.unix.shell

    In article <EMScnQS_gIv98y_0nZ2dnZfqn_idnZ2d@giganews.com>,
    c186282 <c186282@nnada.net> mysteriously wrote:
    ...
    Shell scripts HAVE THEIR PLACE, I've writ fairly
    long ones ... but any modern suggestion that they
    are the one and only great solution to complex
    problems - no, No, NO !

    Despite my own complaints here, Python is the better
    way to go - if possible - for complex little issues.
    Far clearer.


    This response has nothing to do with the OP.
    --
    "Insisting on perfect safety is for people who don't have the balls to live
    in the real world."

    - Mary Shafer, NASA Ames Dryden -
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 12:44:13 2026
    From Newsgroup: comp.unix.shell

    In article <10ou2q9$1qp29$1@dont-email.me>,
    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
    On 3/12/26 09:00, Janis Papanagnou wrote:
    On 3/12/26 08:21, Lawrence DOliveiro wrote:

    This article
    <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-
    two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    continues the authors intro to basic command-line concepts. But it
    repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Shell scripting seems to bring out the critic in everybody. Nobody likes
    the way other people shell script.

    Or, as I discovered long ago, nobody wants to run someone else's shell
    script. What I mean is that if I hand you a piece of C code, you are quite likely to just compile it and run it, as is. Similar for most other
    languages. But shell, no. Before you will consider running it, you will
    first analyze it and then probably pretty much totally re-write it. And
    this as it should be.

    Something called "Python" (mentioned by another poster) probably falls somewhere in between.
    -- https://www.rollingstone.com/politics/politics-news/the-10-dumbest-things-ever-said-about-global-warming-200530/

    RS contributor Bill McKibben lambasted this analysis in his 2007 book, Deep Economy.
    It's nice to have microelectronics; it's necessary to have lunch, wrote McKibben.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 14:12:21 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 12:44, Kenny McCormack wrote:
    In article <10ou2q9$1qp29$1@dont-email.me>,
    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
    On 3/12/26 09:00, Janis Papanagnou wrote:
    On 3/12/26 08:21, Lawrence DOliveiro wrote:
    >
    > This article
    > <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part- >>> two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    > continues the authors intro to basic command-line concepts. But it
    > repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Shell scripting seems to bring out the critic in everybody. Nobody likes
    the way other people shell script.

    Perhaps that is why I never ever shell script if at all avoidable.
    Like Regexp, and PERL it seems to be the province of wannabe gurus who
    cant code C.

    Or, as I discovered long ago, nobody wants to run someone else's shell script. What I mean is that if I hand you a piece of C code, you are quite likely to just compile it and run it, as is. Similar for most other languages. But shell, no. Before you will consider running it, you will first analyze it and then probably pretty much totally re-write it. And
    this as it should be.

    Something called "Python" (mentioned by another poster) probably falls somewhere in between.

    Indeed. The modern equivalent of basic or turbo pascal
    --
    "An intellectual is a person knowledgeable in one field who speaks out
    only in others...rCY

    Tom Wolfe

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Rich@rich@example.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 15:08:33 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc Kenny McCormack <gazelle@shell.xmission.com> wrote:
    In article <EMScnQS_gIv98y_0nZ2dnZfqn_idnZ2d@giganews.com>,
    c186282 <c186282@nnada.net> mysteriously wrote:
    ...
    Shell scripts HAVE THEIR PLACE, I've writ fairly
    long ones ... but any modern suggestion that they
    are the one and only great solution to complex
    problems - no, No, NO !

    Despite my own complaints here, Python is the better
    way to go - if possible - for complex little issues.
    Far clearer.


    This response has nothing to do with the OP.

    Sadly, that's standard for c186282. All responses, even if partly on
    topic for a given thread, also contain seventeen unrelated tangents as
    well.

    This one just omitted the on topic part.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 15:22:00 2026
    From Newsgroup: comp.unix.shell

    In article <10oukth$240u3$1@dont-email.me>, Rich <rich@example.invalid> wrote: ...
    Sadly, that's standard for c186282.

    Just out of curiosity, what is that (c186282) ?
    --
    In politics and in life, ignorance is not a virtue.
    -- Barack Obama --
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 15:29:26 2026
    From Newsgroup: comp.unix.shell

    In article <10oulmo$102st$1@news.xmission.com>,
    Kenny McCormack <gazelle@shell.xmission.com> wrote:
    In article <10oukth$240u3$1@dont-email.me>, Rich <rich@example.invalid> wrote:
    ...
    Sadly, that's standard for c186282.

    Just out of curiosity, what is that (c186282) ?

    Oops. Now I see. It is the id/nym of the poster.

    Shows how little attention I pay to the names attached to posts.
    --
    The only thing Trump's made great again is Saturday Night Live.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Rich@rich@example.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 16:31:40 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc Kenny McCormack <gazelle@shell.xmission.com> wrote:
    In article <10oukth$240u3$1@dont-email.me>, Rich <rich@example.invalid> wrote:
    ...
    Sadly, that's standard for c186282.

    Just out of curiosity, what is that (c186282) ?

    The nym that user uses as they "name".
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 09:58:16 2026
    From Newsgroup: comp.unix.shell

    On Thu, 12 Mar 2026 14:12:21 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Perhaps that is why I never ever shell script if at all avoidable.
    Like Regexp, and PERL it seems to be the province of wannabe gurus
    who cant code C.

    Horses for courses. C is much more capable for general-purpose work,
    but it requires a lot more wrangling (or an external library) to do
    batch file operations effectively.

    F'rexample, I'm in the process of putting together a home-grown "static
    site generator" for use with a free host that doesn't allow server-side
    stuff like PHP; the job is to assemble complete HTML files for each
    page from header/sidebar templates and page-specific content files.

    It's totally possible to do that in C, but I'd have to either roll my
    own code or pull in non-stdlib dependencies for stuff like enumerating/
    looping over the files in a directory; shell script makes that a first-
    class language feature. And the core of the work (tacking files to each
    other) is likewise something that's easily doable in C, but provided out
    of the box in the shell (it's just what cat is designed and named for.)

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 19:23:17 2026
    From Newsgroup: comp.unix.shell

    On 12.03.26 13:44, Kenny McCormack wrote:
    In article <10ou2q9$1qp29$1@dont-email.me>,
    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
    On 3/12/26 09:00, Janis Papanagnou wrote:
    On 3/12/26 08:21, Lawrence DOliveiro wrote:
    >
    > This article
    > <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part- >>> two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    > continues the authors intro to basic command-line concepts. But it
    > repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Shell scripting seems to bring out the critic in everybody. Nobody likes
    the way other people shell script.

    Maybe. But in this case there's quite some problems with the shell
    code patterns used, violation of accepted patterns; like missing
    quoting, unstable linearisation (instead of safe arrays), useless
    use of cat, use of echo vs. printf, and some more that I forgot
    off the top of my head.


    Or, as I discovered long ago, nobody wants to run someone else's shell script. What I mean is that if I hand you a piece of C code, you are quite likely to just compile it and run it, as is. Similar for most other languages. But shell, no. Before you will consider running it, you will first analyze it and then probably pretty much totally re-write it. And
    this as it should be.

    Shell, or probably generally scripting languages, have the property
    of being able to quickly implement (small) tasks, shell is also (as
    I call it) treacherous, it looks simple but has a lot of pitfalls,
    and folks regularly fail even with the most common long experienced
    measures. Most folks you see seem to make unknowingly a distinction
    between "scripting" and "programming".

    It's easier to look into shell code - and you should look into it
    since you can so easily do dangerous things in shell - whereas for
    the compiled code you need it to be open source to inspect it, it's
    often much longer code and more difficult to spot issues.

    But with sufficient experience, by knowing safe and unsafe code
    patterns, and secondary characteristics (clear programming, flawless
    compiles, syntax checks without platform specific or other issues)
    you can often also see the quality of software packages, shell or
    otherwise, if you look into it.

    It's not the first time that I abandoned shell scripts for obvious
    quality flaws, or fixed the obvious things if it's otherwise worth
    to use it, or (as you say) take the idea and re-implement the task
    in more reliable ways.


    Something called "Python" (mentioned by another poster) probably falls somewhere in between.

    Probably because it lies somewhere between scripting and programming
    language?

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 19:46:22 2026
    From Newsgroup: comp.unix.shell

    On 12.03.26 15:12, The Natural Philosopher wrote:
    On 12/03/2026 12:44, Kenny McCormack wrote:

    Shell scripting seems to bring out the critic in everybody.-a Nobody likes >> the way other people shell script.

    Perhaps that is why I never ever shell script if at all avoidable.

    The application domain of shells and (for example) "C" are quite
    different. There's task that are easy done in shell where there's a
    huge and unnecessary overhead with languages like "C".

    Like Regexp, and PERL it seems to be the province of wannabe gurus who
    cant code C.

    You think that folks can only program [sophisticatedly] in shell *or*
    languages like "C"? - I'm positive that you're wrong.

    The shell language has a lot of peculiarities, though. And you need
    to learn the languages you use (shell or otherwise) in any case. Some
    don't seem to do that, though; for languages like "C" it's mandatory
    to read a textbook, it seems, while for shell I've seen that many use
    existing paragons (good or bad ones) to "learn" it or web pages like
    the one mentioned in this thread.

    Since when I started with Unix I saw most experts know "C" and shell;
    on the Unix platforms you have (and often want to use) both languages.
    With the separation from Unix, the independent development of the "C" languages, things have probably changed later.

    Regexps are a basic key feature of the Unix platforms, something that
    was long missing on other platforms. You need to learn the Regexps,
    though, with simple expressions you can do powerful things, and with
    simple inconsistencies in Regexps you can produce subtle flaws.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Jim Jackson@jj@franjam.org.uk to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 19:38:13 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-12, John Ames <commodorejohn@gmail.com> wrote:
    On Thu, 12 Mar 2026 14:12:21 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Perhaps that is why I never ever shell script if at all avoidable.
    Like Regexp, and PERL it seems to be the province of wannabe gurus
    who cant code C.

    Horses for courses. C is much more capable for general-purpose work,
    but it requires a lot more wrangling (or an external library) to do
    batch file operations effectively.

    F'rexample, I'm in the process of putting together a home-grown "static
    site generator" for use with a free host that doesn't allow server-side
    stuff like PHP; the job is to assemble complete HTML files for each
    page from header/sidebar templates and page-specific content files.

    It's totally possible to do that in C, but I'd have to either roll my
    own code or pull in non-stdlib dependencies for stuff like enumerating/ looping over the files in a directory; shell script makes that a first-
    class language feature. And the core of the work (tacking files to each other) is likewise something that's easily doable in C, but provided out
    of the box in the shell (it's just what cat is designed and named for.)


    I've found perl to be a lot more useful for that sort of thing. I
    suppose if were starting now I'd be using python. But in the 90's eprl
    was the goto scripting language for C programmers.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 20:50:13 2026
    From Newsgroup: comp.unix.shell

    On Thu, 12 Mar 2026 19:23:17 +0100, Janis Papanagnou wrote:

    Probably because it lies somewhere between scripting and programming language?

    No idea what rCLscriptingrCY means in this context. Does it mean the
    language is interpreted, not compiled? Yet nobody ever called BASIC a rCLscriptingrCY language back in the day -- it was always known as a rCLprogrammingrCY language.

    Perl and Python are the same.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 20:18:59 2026
    From Newsgroup: comp.unix.shell

    On Thu, 12 Mar 2026 19:38:13 -0000 (UTC), Jim Jackson wrote:

    I've found perl to be a lot more useful for that sort of thing. I
    suppose if were starting now I'd be using python. But in the 90's eprl
    was the goto scripting language for C programmers.

    That was the '90s... It took me a while to warm up to Python but it
    became the scripting language for GIS applications. It certainly was
    better than VBA.

    Pike is good too but never caught on.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 19:03:32 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 18:46, Janis Papanagnou wrote:
    On 12.03.26 15:12, The Natural Philosopher wrote:
    On 12/03/2026 12:44, Kenny McCormack wrote:

    Shell scripting seems to bring out the critic in everybody.-a Nobody
    likes
    the way other people shell script.

    Perhaps that is why I never ever shell script if at all avoidable.

    The application domain of shells and (for example) "C" are quite
    different. There's task that are easy done in shell where there's a
    huge and unnecessary overhead with languages like "C".

    Like Regexp, and PERL it seems to be the province of wannabe gurus who
    cant code C.

    You think that folks can only program [sophisticatedly] in shell *or* languages like "C"? - I'm positive that you're wrong.

    The shell language has a lot of peculiarities, though. And you need
    to learn the languages you use (shell or otherwise) in any case. Some
    don't seem to do that, though; for languages like "C" it's mandatory
    to read a textbook, it seems, while for shell I've seen that many use existing paragons (good or bad ones) to "learn" it or web pages like
    the one mentioned in this thread.

    Since when I started with Unix I saw most experts know "C" and shell;
    on the Unix platforms you have (and often want to use) both languages.
    With the separation from Unix, the independent development of the "C" languages, things have probably changed later.

    Regexps are a basic key feature of the Unix platforms, something that
    was long missing on other platforms. You need to learn the Regexps,
    though, with simple expressions you can do powerful things, and with
    simple inconsistencies in Regexps you can produce subtle flaws.

    Janis

    As with SQL I have always found it quicker to do anything complex, in C,
    as it is in fact quicker than trying to do it in SQL, or regexp, both in
    terms of design time and indeed execution time.

    There are people who like to master arcane syntaxes and there are people
    who just want an efficient route to a solution.
    --
    "What do you think about Gay Marriage?"
    "I don't."
    "Don't what?"
    "Think about Gay Marriage."


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 19:04:30 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 15:22, Kenny McCormack wrote:
    In article <10oukth$240u3$1@dont-email.me>, Rich <rich@example.invalid> wrote:
    ...
    Sadly, that's standard for c186282.

    Just out of curiosity, what is that (c186282) ?


    An arcane offshoot of C-#...
    --
    "When a true genius appears in the world, you may know him by this sign,
    that the dunces are all in confederacy against him."

    Jonathan Swift.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 20:44:00 2026
    From Newsgroup: comp.unix.shell

    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex, in C,
    as it is in fact quicker than trying to do it in SQL, or regexp, both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Presumed I understood you correctly, then, frankly, you are obviously
    just lacking the necessary expertise and blame Regular Languages (and
    their uses and users) just due to ignorance. There's nothing wrong not
    knowing every aspect of CS and IT, but your generalizing imputations
    based on that are misguided.

    Janis

    There are people who like to master arcane syntaxes and there are people
    who just want an efficient route to a solution.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 07:43:36 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc Kenny McCormack <gazelle@shell.xmission.com> wrote:
    In article <10ou2q9$1qp29$1@dont-email.me>,
    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Shell scripting seems to bring out the critic in everybody. Nobody likes
    the way other people shell script.

    Or, as I discovered long ago, nobody wants to run someone else's shell script. What I mean is that if I hand you a piece of C code, you are quite likely to just compile it and run it, as is. Similar for most other languages. But shell, no. Before you will consider running it, you will first analyze it and then probably pretty much totally re-write it. And
    this as it should be.

    I do read them often (though not nearly all of them, including those
    installed with Linux distros and their packages), but I don't often
    feel the need to rewrite large parts of shell scripts just for the
    sake of style. There are many style arguments with C code too, but
    maybe it's just above your barrier of time and effort to fix those
    for the sake of perceived elegance.

    Something called "Python" (mentioned by another poster) probably falls somewhere in between.

    Python in my experience enforces the re-writing step by inevitably
    requiring a version that's either newer or older than what you have
    available. Although since rewriting in Python only sets you up for
    the same thing later on, I rewrite as a Bash script, assuming
    there are no alternatives available in a sane language.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 20:57:00 2026
    From Newsgroup: comp.unix.shell

    On Thu, 12 Mar 2026 19:38:13 -0000 (UTC), Jim Jackson wrote:

    I've found perl to be a lot more useful for that sort of thing. I
    suppose if were starting now I'd be using python. But in the 90's
    eprl was the goto scripting language for C programmers.

    Perl was the one that blew away the misconception that rCLinterpreted
    languages are slowrCY. And its support for regular expressions and other powerful data-manipulation features was also a big step forward --
    left older interpreted languages like BASIC and REXX in the dust.

    Once that barrier was down, the way was open for other similar-level
    languages to gain popular acceptance. Like Python.

    Because, letrCOs face it, PerlrCOs accumulation of new features over time
    has been, to put it politely, rCLorganicrCY (or, less politely, rCLunorganizedrCY). Python, on the other hand, always had its evolution tempered by considerations of how new features would interact with one
    another.

    The net result was that PythonrCOs core has become very powerful and
    versatile, yet still remaining very small. Perl had a head start of
    years or decades in accumulating a large library of useful add-on
    modules, but Python has managed to leapfrog that by now, just because
    of the sheer extensibility of the core language.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 07:59:02 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc John Ames <commodorejohn@gmail.com> wrote:
    On Thu, 12 Mar 2026 14:12:21 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    Perhaps that is why I never ever shell script if at all avoidable.
    Like Regexp, and PERL it seems to be the province of wannabe gurus
    who cant code C.

    Horses for courses. C is much more capable for general-purpose work,
    but it requires a lot more wrangling (or an external library) to do
    batch file operations effectively.

    F'rexample, I'm in the process of putting together a home-grown "static
    site generator" for use with a free host that doesn't allow server-side
    stuff like PHP; the job is to assemble complete HTML files for each
    page from header/sidebar templates and page-specific content files.

    I've done the same thing using PHP, running the script from the
    command-line to generate the static site. I've done it in Bash
    earlier too, but I ran into things that are just much easier in
    PHP since it's built for generating HTML.

    It's totally possible to do that in C, but I'd have to either roll my
    own code or pull in non-stdlib dependencies for stuff like enumerating/ looping over the files in a directory; shell script makes that a first-
    class language feature. And the core of the work (tacking files to each other) is likewise something that's easily doable in C, but provided out
    of the box in the shell (it's just what cat is designed and named for.)

    I have seen a static site generator written in C, but I don't think
    it was anyone's idea of elegance. A C program that only needs to
    run once (for its author, at least) can cut a _lot_ of corners!

    I am sometimes tempted to use C for dynamic sites, though many
    claim PHP is just as fast these days anyway.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Dan Espen@dan1espen@gmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 17:58:45 2026
    From Newsgroup: comp.unix.shell

    gazelle@shell.xmission.com (Kenny McCormack) writes:

    In article <EMScnQS_gIv98y_0nZ2dnZfqn_idnZ2d@giganews.com>,
    c186282 <c186282@nnada.net> mysteriously wrote:
    ...
    Shell scripts HAVE THEIR PLACE, I've writ fairly
    long ones ... but any modern suggestion that they
    are the one and only great solution to complex
    problems - no, No, NO !

    Despite my own complaints here, Python is the better
    way to go - if possible - for complex little issues.
    Far clearer.

    This response has nothing to do with the OP.

    I know nothing about zfs or the "zfs" command, but Python is loaded with interfaces. Perhaps the "pyzfs" package does provide the "better way to
    go".

    https://pyzfs.readthedocs.io/en/latest/
    --
    Dan Espen
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou@hotmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 03:05:48 2026
    From Newsgroup: comp.unix.shell

    On 12.03.26 21:50, Lawrence DrCOOliveiro wrote:
    On Thu, 12 Mar 2026 19:23:17 +0100, Janis Papanagnou wrote:

    Probably because it lies somewhere between scripting and programming
    language?

    No idea what rCLscriptingrCY means in this context. Does it mean the
    language is interpreted, not compiled?

    You are absolutely right that scripting is a somewhat fuzzy term. But
    there have been made some attempts to identify some commonly accepted
    criteria for "scripting". (There's still no clear definition.)

    In that light please interpret my statement as "what is commonly named
    as scripting"; having some commonly accepted properties of "scripting languages" in mind.

    Personally I say (for example) that I'm doing "shell programming" (not
    shell scripting) to emphasize that it's necessary to not only quickly
    hack a (maybe even throwaway) script but to apply the accepted methods
    of serious software development.

    Yet nobody ever called BASIC a
    rCLscriptingrCY language back in the day -- it was always known as a rCLprogrammingrCY language.

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then
    compiled. So there was no reason (in that respect) to call it anything
    other than a programming languages.

    Frankly, I don't recall when I heard the term "scripting" for the first
    time and in what (language-)context.

    But one aspect - and that should have been clear from the context of
    my previous post - is that in shell you type in the code, and then you
    execute it by interpreting it; you don't compile it, you have no static
    type checking, not even a complete syntax check (unless you explicitly
    invoke a separate explicit syntax check step).

    Perl and Python are the same.

    Sure. A friend of mine is an expert in Perl and he's programming with
    it as I described it above for shell programming.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 03:00:19 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    Perl and Python do the same sort of thing.

    But one aspect - and that should have been clear from the context of
    my previous post - is that in shell you type in the code, and then
    you execute it by interpreting it; you don't compile it, you have no
    static type checking, not even a complete syntax check (unless you
    explicitly invoke a separate explicit syntax check step).

    See my previous post on the distinction between rCLcommandrCY languages
    and rCLprogrammingrCY languages. Shell script being a rCLcommandrCY language
    is a more meaningful distinction from rCLprogrammingrCY languages than
    trying to separate rCLprogrammingrCY languages from rCLscriptingrCY ones.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Thu Mar 12 23:35:18 2026
    From Newsgroup: comp.unix.shell

    On 3/12/26 23:00, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then
    compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    Perl and Python do the same sort of thing.

    But one aspect - and that should have been clear from the context of
    my previous post - is that in shell you type in the code, and then
    you execute it by interpreting it; you don't compile it, you have no
    static type checking, not even a complete syntax check (unless you
    explicitly invoke a separate explicit syntax check step).

    See my previous post on the distinction between rCLcommandrCY languages
    and rCLprogrammingrCY languages. Shell script being a rCLcommandrCY language is a more meaningful distinction from rCLprogrammingrCY languages than
    trying to separate rCLprogrammingrCY languages from rCLscriptingrCY ones.

    IMHO, anything that makes the box "do something"
    useful is a 'programming language' - compiled,
    interpreted or guided by magic fairies.

    Bash is a 'programming language' (though nasty), so
    is Python, so are 'C' and FORTRAN.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou@hotmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 04:59:19 2026
    From Newsgroup: comp.unix.shell

    On 13.03.26 04:00, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then
    compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    I'm not sure I understand your statement correctly. The BASIC system
    I was talking about *did* have a compile to the machine instructions
    step involved that you triggered explicitly by a 'compile' command.


    Perl and Python do the same sort of thing.

    Last time I used Perl I just ran the perl command on a program file
    (if I recall correctly). That was certainly different from the BASIC
    case I described, where syntax checking was interactively done, and
    where an explicit compile step was necessary.


    But one aspect - and that should have been clear from the context of
    my previous post - is that in shell you type in the code, and then
    you execute it by interpreting it; you don't compile it, you have no
    static type checking, not even a complete syntax check (unless you
    explicitly invoke a separate explicit syntax check step).

    See my previous post on the distinction between rCLcommandrCY languages
    and rCLprogrammingrCY languages. Shell script being a rCLcommandrCY language is a more meaningful distinction from rCLprogrammingrCY languages than
    trying to separate rCLprogrammingrCY languages from rCLscriptingrCY ones.

    The Bolsky/Korn's book about The Kornshell has the subtitle "Command
    and Programming Language". - For me that makes perfectly sense; to
    not necessarily have to (exclusively) distinguish between these two
    termini, of course depending on the actual language.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 01:32:36 2026
    From Newsgroup: comp.unix.shell

    On 3/12/26 23:59, Janis Papanagnou wrote:
    On 13.03.26 04:00, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then
    compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    I'm not sure I understand your statement correctly. The BASIC system
    I was talking about *did* have a compile to the machine instructions
    step involved that you triggered explicitly by a 'compile' command.\\


    I did a few large-ish projects using BASIC/BASCOM
    back in the early PC days. So, apparently, BASIC
    was not a computer language - but WAS when I compiled
    it all five minutes later ??? :-)

    Sorry, some want to see a big diff here, I just see
    "organized way to get a box to DO stuff" - which
    includes scripts, compiled or what-the-fuck.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Keith Thompson@Keith.S.Thompson+u@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 03:20:57 2026
    From Newsgroup: comp.unix.shell

    Janis Papanagnou <janis_papanagnou@hotmail.com> writes:
    [...]
    Last time I used Perl I just ran the perl command on a program file
    (if I recall correctly). That was certainly different from the BASIC
    case I described, where syntax checking was interactively done, and
    where an explicit compile step was necessary.
    [...]

    Yes, or you can use a "#!" line and just run the perl script directly
    as a command (at least on Unix-like systems). But in either case,
    there's a lot of stuff going on behind the scenes, including
    compilation from Perl to an internal form that's then interpreted.

    One interesting distinction is that if a Perl or Python
    script/program has a syntax error on the last line, it won't execute.
    A shell script (sh, bash, ksh, zsh, etc.) won't flag the error
    until execution reaches the last line.

    I do not claim that this distinction defines the difference between
    scripting languages and programming languages. That difference
    is not well defined.
    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 11:32:12 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex, in
    C, as it is in fact quicker than trying to do it in SQL, or regexp,
    both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.
    It's very hard to documents a regexp . Or in fact a complex SQL statement.
    And in the latter case I replaced a complex SQL statement by a series of simple statements and some C and the program ran at least 10 times
    faster. (I never found out how long the SQL version ran because I
    aborted it after 6 hours. The C example ran and gave me debugging
    output, and once I had fined tuned it, it took about 40 minutes )


    Presumed I understood you correctly, then, frankly, you are obviously
    just lacking the necessary expertise and blame Regular Languages (and
    their uses and users) just due to ignorance.

    Its not a matter of ignorance. That's what wannabe code gurus like to
    say, because to them 'guru knowledge' is more important than getting the
    job done on time, on budget and leaving code that can actually be
    maintained.

    My point being exactly that to gain the expertise does not lead to a practicable solution *anyway*.



    There's nothing wrong not
    knowing every aspect of CS and IT, but your generalizing imputations
    based on that are misguided.

    Unfortunately you have just made my point for me.

    I have always been under pressure to produce efficient working
    comprehensible and maintainable code in a short time.

    Regexps simply don't fit the bill. Nor do overly complex SQL statements.
    I tried both and gave up after I had already taken longer to produce
    code that ran way slower than a custom solution in C did

    There's even a video about it

    "How on Earth does ^.?$|^(..+?)\1+$ produce primes?"

    https://www.youtube.com/watch?v=5vbk0TwkokM

    18 minutes of documentation to explain one regular expression

    The same algorithm would be just a few lines of python or C and could
    include comments
    --
    Civilization exists by geological consent, subject to change without notice.
    rCo Will Durant

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 11:37:07 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 20:18, rbowman wrote:
    On Thu, 12 Mar 2026 19:38:13 -0000 (UTC), Jim Jackson wrote:

    I've found perl to be a lot more useful for that sort of thing. I
    suppose if were starting now I'd be using python. But in the 90's eprl
    was the goto scripting language for C programmers.

    That was the '90s... It took me a while to warm up to Python but it
    became the scripting language for GIS applications. It certainly was
    better than VBA.

    Pike is good too but never caught on.

    PERL was an advance on shell. But frankly I don't like either much

    My experience is colored by being an employer of coders, and the ones
    that knew C produced more in less time than the ones who had mastered
    regexps and PERL.

    And other people could maintain their code, too.
    --
    In a Time of Universal Deceit, Telling the Truth Is a Revolutionary Act.

    - George Orwell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 11:38:13 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 21:43, Computer Nerd Kev wrote:
    Python in my experience enforces the re-writing step by inevitably
    requiring a version that's either newer or older than what you have available. Although since rewriting in Python only sets you up for
    the same thing later on, I rewrite as a Bash script, assuming
    there are no alternatives available in a sane language.

    That at least shows *some* pragmatism
    --
    rCLIt is hard to imagine a more stupid decision or more dangerous way of making decisions than by putting those decisions in the hands of people
    who pay no price for being wrong.rCY

    Thomas Sowell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 11:44:08 2026
    From Newsgroup: comp.unix.shell

    On 12/03/2026 21:59, Computer Nerd Kev wrote:
    I have seen a static site generator written in C, but I don't think
    it was anyone's idea of elegance. A C program that only needs to
    run once (for its author, at least) can cut a_lot_ of corners!

    I use PHP and javaScript because they are ubiquitous - and totally
    horrible too.
    Some of my PHP calls C code to do the heavy lifting. PHPs implementation
    of the mySQL API is deeply flawed.

    I could, and probably ought to, use C more than php. But its a nasty
    quick hack that works well *enough*. And can be documented as well
    javaScript sucxks worse than an industrial vacuum cleaner, but there
    isn't anything else I know of to implement cient side complexity



    I am sometimes tempted to use C for dynamic sites, though many
    claim PHP is just as fast these days anyway.
    Php is nowhere near as fast as C, but it is for sure *fast enough*. Mostly
    --
    rCLIt is hard to imagine a more stupid decision or more dangerous way of making decisions than by putting those decisions in the hands of people
    who pay no price for being wrong.rCY

    Thomas Sowell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 11:52:56 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 02:05, Janis Papanagnou wrote:
    Frankly, I don't recall when I heard the term "scripting" for the first
    time and in what (language-)context.

    For me the *language* was called *Shell Script*.

    'Script' being a fuzzy analogue of 'interpreted'

    And then 'script' became a generalised term for fast interpreted
    scripts like PERL.

    BUT as with many things, there is no clear definition.
    --
    rCLI know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.rCY

    rCo Leo Tolstoy

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:03:21 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 03:35, c186282 wrote:
    IMHO, anything that makes the box "do something"
    -a useful is a 'programming language' - compiled,
    -a interpreted or guided by magic fairies.

    +1.

    As my old coding buddy used to say 'after all, it's only bits, in
    silicon' (we were writing ROM code).

    And the aim of the game was to arrive at clean simple comprehensible and maintainable workmanlike code that did that job you were being paid to do.

    High level languages were simply a more efficient way to do it than
    Assembler. But we did that, too.


    -a Bash is a 'programming language' (though nasty), so
    -a is Python, so are 'C' and FORTRAN.

    Indeed. And if people spend more time learning how to use the tools they
    have, rather than buying and learning how to use ever new and exciting ones....

    I have some treated wood gateposts...now there are all sorts of ways to
    dig postholes and fix posts in them..but it was a warm early summer day
    so I settled in with spade, which got me down a foot or so, and then the remaining three feet of the holes was dug by lying on the ground and
    using a garden trowel.

    It took a few hours, but the posts went in snug fitting holes packed in
    with surplus clay, and they haven't budged in 10 years.
    --
    In todays liberal progressive conflict-free education system, everyone
    gets full Marx.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:07:09 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 05:32, c186282 wrote:
    On 3/12/26 23:59, Janis Papanagnou wrote:
    On 13.03.26 04:00, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the
    fly, including syntax checks when committing a line, and it was then
    compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    I'm not sure I understand your statement correctly. The BASIC system
    I was talking about *did* have a compile to the machine instructions
    step involved that you triggered explicitly by a 'compile' command.\\


    -a I did a few large-ish projects using BASIC/BASCOM
    -a back in the early PC days. So, apparently, BASIC
    -a was not a computer language - but WAS when I compiled
    -a it all five minutes later ???-a :-)

    -a Sorry, some want to see a big diff here, I just see
    -a "organized way to get a box to DO stuff" - which
    -a includes scripts, compiled or what-the-fuck.

    Back in the day I came across and used enormous accounting systems
    written in BASIC.

    Peachtree software was a commercial suite written in BASIC IIRC.
    --
    The higher up the mountainside
    The greener grows the grass.
    The higher up the monkey climbs
    The more he shows his arse.

    Traditional

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:14:35 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 10:20, Keith Thompson wrote:
    I do not claim that this distinction defines the difference between
    scripting languages and programming languages. That difference
    is not well defined.

    In the end its mere convention.

    To my mind scripting tends to be less complete and more specialised. And probably interpreted. And designed to use standalone *programs* to do
    the heavy lifting.

    Whereas 'language' implies more general application and uses *libraries*
    to do the grunt work.

    Scripts were at the inception ways to invoke batch processing using precompiled programs as components.

    And certainly PERL as well as shell was suitable for that.

    Python, Basic and php all use built in *libraries*.

    I am not claiming that is an exact definition, but its how my mind
    separates the terms...
    --
    Any fool can believe in principles - and most of them do!



    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Pancho@Pancho.Jones@protonmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:48:56 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 12:07, The Natural Philosopher wrote:
    On 13/03/2026 05:32, c186282 wrote:
    On 3/12/26 23:59, Janis Papanagnou wrote:
    On 13.03.26 04:00, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 03:05:48 +0100, Janis Papanagnou wrote:

    One of the first BASIC dialects I programmed in was tokenized on the >>>>> fly, including syntax checks when committing a line, and it was then >>>>> compiled. So there was no reason (in that respect) to call it
    anything other than a programming languages.

    Other than the fact that it didnrCOt actually compile to machine
    language.

    I'm not sure I understand your statement correctly. The BASIC system
    I was talking about *did* have a compile to the machine instructions
    step involved that you triggered explicitly by a 'compile' command.\\


    -a-a I did a few large-ish projects using BASIC/BASCOM
    -a-a back in the early PC days. So, apparently, BASIC
    -a-a was not a computer language - but WAS when I compiled
    -a-a it all five minutes later ???-a :-)

    -a-a Sorry, some want to see a big diff here, I just see
    -a-a "organized way to get a box to DO stuff" - which
    -a-a includes scripts, compiled or what-the-fuck.

    Back in the day I came across and used enormous accounting systems
    written in BASIC.


    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Pancho@Pancho.Jones@protonmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:57:39 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 11:32, The Natural Philosopher wrote:
    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex, in
    C, as it is in fact quicker than trying to do it in SQL, or regexp,
    both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.
    It's very hard to documents a regexp . Or in fact a complex SQL statement. And in the latter case I replaced a complex SQL statement by a series of simple statements and some C and the program ran at least 10 times
    faster. (I never found out how long the SQL version ran because I
    aborted it after 6 hours. The C example ran and gave me debugging
    output, and once I had fined tuned it, it took about 40 minutes )


    People teach or learn SQL from an ivory tower perspective.

    Real life SQL, try to limit a big table query to a max of four tables
    (ideally :-)), + use temporary tables and or cursors.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 13:33:42 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 12:57, Pancho wrote:
    On 3/13/26 11:32, The Natural Philosopher wrote:
    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex,
    in C, as it is in fact quicker than trying to do it in SQL, or
    regexp, both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.
    It's very hard to documents a regexp . Or in fact a complex SQL
    statement.
    And in the latter case I replaced a complex SQL statement by a series
    of simple statements and some C and the program ran at least 10 times
    faster. (I never found out how long the SQL version ran because I
    aborted it after 6 hours. The C example ran and gave me debugging
    output, and once I had fined tuned it, it took about 40 minutes )


    People teach or learn SQL from an ivory tower perspective.

    Real life SQL, try to limit a big table query to a max of four tables (ideally :-)), + use temporary tables and or cursors.

    + use a bit of C code instead. The temporary table then becomes an array
    in C.

    Obviously in the limit this breaks if you run out of memory, but 4
    gigabytes of data is a hell of a lot.

    It was enough to specify the name, address, postcode, borough, county
    and country for every single person in Great Britain....

    Which I had as flat files, and wanted as a normalised data base.



    --
    If you tell a lie big enough and keep repeating it, people will
    eventually come to believe it. The lie can be maintained only for such
    time as the State can shield the people from the political, economic
    and/or military consequences of the lie. It thus becomes vitally
    important for the State to use all of its powers to repress dissent, for
    the truth is the mortal enemy of the lie, and thus by extension, the
    truth is the greatest enemy of the State.

    Joseph Goebbels




    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 08:00:00 2026
    From Newsgroup: comp.unix.shell

    On 13 Mar 2026 07:59:02 +1000
    not@telling.you.invalid (Computer Nerd Kev) wrote:

    I've done the same thing using PHP, running the script from the
    command-line to generate the static site. I've done it in Bash
    earlier too, but I ran into things that are just much easier in
    PHP since it's built for generating HTML.

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 16:03:21 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 15:00, John Ames wrote:
    On 13 Mar 2026 07:59:02 +1000
    not@telling.you.invalid (Computer Nerd Kev) wrote:

    I've done the same thing using PHP, running the script from the
    command-line to generate the static site. I've done it in Bash
    earlier too, but I ran into things that are just much easier in
    PHP since it's built for generating HTML.

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    There is no point in using PHP to generate a *static* site. It is after
    all for *active* sites.
    --
    "If you donrCOt read the news paper, you are un-informed. If you read the
    news paper, you are mis-informed."

    Mark Twain

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 09:26:10 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 16:03:21 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    There is no point in using PHP to generate a *static* site. It is
    after all for *active* sites.

    Allows you to use the same language across the board. A bit unorthodox,
    but I can see the use of it.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 19:02:02 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 16:26, John Ames wrote:
    On Fri, 13 Mar 2026 16:03:21 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    There is no point in using PHP to generate a *static* site. It is
    after all for *active* sites.

    Allows you to use the same language across the board. A bit unorthodox,
    but I can see the use of it.


    But 90% of my php is in fact straight HTML.
    --
    There is nothing a fleet of dispatchable nuclear power plants cannot do
    that cannot be done worse and more expensively and with higher carbon emissions and more adverse environmental impact by adding intermittent renewable energy.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 19:13:25 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 12:07:09 +0000, The Natural Philosopher wrote:

    Back in the day I came across and used enormous accounting systems
    written in BASIC.

    The IBM 5120, an entry level small business computer, came equipped with
    two languages, BASIC and APL. Guess which I used. It included BRADS II,
    sort of a low rent RPG that was written in BASIC.

    Despite the 51xx product designation for the 5100, 5110, and 5120 it had nothing in common with the 5150 PC. Starting at $10000 1980 dollars it and
    the subsequent System 23 were IBM's last shot at small business computers.

    https://grokipedia.com/page/IBM_System%2F23_Datamaster

    The System/23 dropped APL and used a 8085 instead of the homegrown PALM processor but it was still a BASIC computer with BRADS III.

    The System/34 was the next step up the ladder and had RPG, COBOL, FORTRAN,
    and BASIC. The BASIC was compatible with the smaller machines to allow for
    an easy upgrade. It definitely was not a personal computer

    https://www.corestore.org/34.htm
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 12:21:29 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 19:02:02 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Allows you to use the same language across the board. A bit
    unorthodox, but I can see the use of it.

    But 90% of my php is in fact straight HTML.

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav. sidebar)
    once, in a separate file, rather than having to update them manually
    across every single page every time I need to change something. It's
    not *as* useful when it's not happening automagically server-side, but
    it still saves a lot of tedium.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 19:24:26 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 11:37:07 +0000, The Natural Philosopher wrote:

    My experience is colored by being an employer of coders, and the ones
    that knew C produced more in less time than the ones who had mastered
    regexps and PERL.

    Programming rarely used Perl but there was a 'special projects' group that
    was mostly for site specific implementation and several of the people
    favored Perl for the setup and maintenance tasks. As time went on that
    layer was dissolved but their legacy Perl scripts lived on. Programming
    would disavow all knowledge. Most got the job done but they looked like entries into an obfuscated code contest.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 19:33:14 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 11:32:12 +0000, The Natural Philosopher wrote:

    It's very hard to documents a regexp . Or in fact a complex SQL
    statement.
    And in the latter case I replaced a complex SQL statement by a series of simple statements and some C and the program ran at least 10 times
    faster.
    (I never found out how long the SQL version ran because I aborted it
    after 6 hours. The C example ran and gave me debugging output, and once
    I had fined tuned it, it took about 40 minutes )

    We had one support person who spent his spare time crafting SQL
    statements. They would fail on older DB2 systems that had a 4K limit on a statement size. The best part is with a chain of
    CONCAT(CONCAT(CONCAT(.... when a SUBSTR or something fails the whole mess returns NULL.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 20:56:47 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 19:21, John Ames wrote:
    On Fri, 13 Mar 2026 19:02:02 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Allows you to use the same language across the board. A bit
    unorthodox, but I can see the use of it.

    But 90% of my php is in fact straight HTML.

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav. sidebar)
    once, in a separate file, rather than having to update them manually
    across every single page every time I need to change something. It's
    not *as* useful when it's not happening automagically server-side, but
    it still saves a lot of tedium.

    You can do the same with javaScript
    --
    "First, find out who are the people you can not criticise. They are your oppressors."
    - George Orwell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 22:02:29 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-13 13:14, The Natural Philosopher wrote:
    On 13/03/2026 10:20, Keith Thompson wrote:
    I do not claim that this distinction defines the difference between
    scripting languages and programming languages.-a That difference
    is not well defined.

    In the end its mere convention.

    To my mind scripting tends to be less complete and more specialised. And probably interpreted. And designed to use standalone *programs* to do
    the heavy lifting.

    Whereas 'language' implies more general application and uses *libraries*
    to do the grunt work.

    The term 'language' has already very specific characteristics; it
    is about vocabularies and grammar, syntax and semantics, and more.
    (In its common meaning and in its variant as programming language.)

    [...]

    I am not claiming that is an exact definition, but its how my mind
    separates the terms...

    (Here your thinking confuses already well defined termini.)

    We should not muddy long existing clear terms but focus on the yet
    unclear terms we spoke about, to make clear what we personally mean
    for example by "scripting", since that term is not well-defined as
    was already stated.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:08:52 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 19:33, rbowman wrote:
    On Fri, 13 Mar 2026 11:32:12 +0000, The Natural Philosopher wrote:

    It's very hard to documents a regexp . Or in fact a complex SQL
    statement.
    And in the latter case I replaced a complex SQL statement by a series of
    simple statements and some C and the program ran at least 10 times
    faster.
    (I never found out how long the SQL version ran because I aborted it
    after 6 hours. The C example ran and gave me debugging output, and once
    I had fined tuned it, it took about 40 minutes )

    We had one support person who spent his spare time crafting SQL
    statements. They would fail on older DB2 systems that had a 4K limit on a statement size. The best part is with a chain of
    CONCAT(CONCAT(CONCAT(.... when a SUBSTR or something fails the whole mess returns NULL.

    Exactly. And since the statement is atomic, and very nested, as with
    regexp, its very hard to comment or debug.

    At least with a procedural language, you can break it into steps...that
    can be tested and debugged and documented separately.

    And relying on the SQL engine to do optimisation when it doesn't
    necessarily know what you are doing anyway, is a bit optimistic
    --
    rCLIt is hard to imagine a more stupid decision or more dangerous way of making decisions than by putting those decisions in the hands of people
    who pay no price for being wrong.rCY

    Thomas Sowell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 14:14:31 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 20:56:47 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav.
    sidebar) once, in a separate file, rather than having to update
    them manually across every single page every time I need to change something. It's not *as* useful when it's not happening
    automagically server-side, but it still saves a lot of tedium.

    You can do the same with javaScript

    IMNSHO the use of client-side scripting to load and display static page
    content should be considered Objectively Wrong, so...nope.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 22:37:36 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-13 12:32, The Natural Philosopher wrote:
    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex, in
    C, as it is in fact quicker than trying to do it in SQL, or regexp,
    both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.

    One point with repexps is that with them you are able to control
    complexity for a very specific class of tasks; tasks that can be
    described within a Chomsky-3 grammar or expressed by finite state
    machines. A comparable explicitly programmed programming language
    code (say, with a context free grammar) for a respective regexp is
    usually clumsier.

    It's very hard to documents a regexp .

    A regexp is an expression from a language. It is a clear definition
    with rules simpler than of a programming language.

    But you can of course document the regexps you write if it gets too
    complicated (for you or generally). You can also compose regexps to
    manage complexity. Or name them. - You have all options, similar to
    the possibilities that you have in typical programming languages.
    And, as with programming languages, you should learn the language!
    But Regular Expressions are much simpler. While you may find slight
    differences in the meta-syntax the basic principle is the same.

    [snip SQL topic]


    Presumed I understood you correctly, then, frankly, you are obviously
    just lacking the necessary expertise and blame Regular Languages (and
    their uses and users) just due to ignorance.

    Its not a matter of ignorance. That's what wannabe code gurus like to
    say, because to them 'guru knowledge' is more important than getting the
    job done on time, on budget and leaving code that can actually be maintained.

    (I already noticed that you have a very peculiar image in mind.)

    I spoke about the necessity to learn languages, whether regular or
    context free. And that lacking knowledge is just ignorance.

    I'm aware that typical regular expression syntaxes appear cryptic.
    (And I understand the reluctance to learn them.)

    (To move that/your problem to "gurus" you met in your life appears
    to be nothing but a red herring and is obviously only demonstrating
    your unwillingness to learn or understand regexps.)


    My point being exactly that to gain the expertise does not lead to a practicable solution *anyway*.

    Within the naturally given domain of Regular Languages you can use
    them to quickly create usable (practicable) solutions in appropriate requirement contexts. (I do that all the time. They're really very
    useful.)

    There's nothing wrong not
    knowing every aspect of CS and IT, but your generalizing imputations
    based on that are misguided.

    Unfortunately you have just made my point for me.

    I have always been under pressure to produce efficient-a working comprehensible and maintainable code in a short time.

    And regular expressions are one part of it. - Of course, if you don't
    know them, how to use them, what they are for, it may be a hindrance
    to use them efficiently. - As said; you have to learn them. It's not
    different to other things in IT you have to learn. (You don't get it
    for free, by divine inspiration, or else.)


    Regexps simply don't fit the bill. Nor do overly complex SQL statements.
    I tried both and gave up after I had already taken longer to produce
    code that ran way slower than a custom solution in C did

    There's even a video about it

    "How on Earth does ^.?$|^(..+?)\1+$ produce primes?"

    (This is not a Regular Expression; it uses back references. Just BTW.)


    https://www.youtube.com/watch?v=5vbk0TwkokM

    18 minutes of documentation to explain one regular expression

    The same algorithm would be just a few lines of python or C and could include comments

    It wouldn't occur to me to use regexps to create (or match) primes.

    I suggest to not use fancy Youtube videos but a book or basic tutorial
    if you want to get knowledge on that topic.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 07:51:39 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc John Ames <commodorejohn@gmail.com> wrote:
    On 13 Mar 2026 07:59:02 +1000
    not@telling.you.invalid (Computer Nerd Kev) wrote:
    I've done the same thing using PHP, running the script from the
    command-line to generate the static site. I've done it in Bash
    earlier too, but I ran into things that are just much easier in
    PHP since it's built for generating HTML.

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    Check out the ob_* functions for redirecting stdout to a file, then
    you can write code similar to that for dynamic pages.

    Admittedly I did spend hours debugging an issue which turned to be
    where I'd got my file descriptor variables mixed up, which probably
    would have been more noticable with the syntax in Bash.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:52:38 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 21:14, John Ames wrote:
    On Fri, 13 Mar 2026 20:56:47 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav.
    sidebar) once, in a separate file, rather than having to update
    them manually across every single page every time I need to change
    something. It's not *as* useful when it's not happening
    automagically server-side, but it still saves a lot of tedium.

    You can do the same with javaScript

    IMNSHO the use of client-side scripting to load and display static page content should be considered Objectively Wrong, so...nope.


    Christ! There is so much religion here the odour of sanctity is making
    me vomit...
    --
    rCLThe ultimate result of shielding men from the effects of folly is to
    fill the world with fools.rCY

    Herbert Spencer

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:54:01 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 21:37, Janis Papanagnou wrote:
    On 2026-03-13 12:32, The Natural Philosopher wrote:
    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex,
    in C, as it is in fact quicker than trying to do it in SQL, or
    regexp, both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.

    One point with repexps is that with them you are able to control
    complexity for a very specific class of tasks; tasks that can be
    described within a Chomsky-3 grammar or expressed by finite state
    machines. A comparable explicitly programmed programming language
    code (say, with a context free grammar) for a respective regexp is
    usually clumsier.

    It's very hard to documents a regexp .

    A regexp is an expression from a language. It is a clear definition
    with rules simpler than of a programming language.

    But you can of course document the regexps you write if it gets too complicated (for you or generally). You can also compose regexps to
    manage complexity. Or name them. - You have all options, similar to
    the possibilities that you have in typical programming languages.
    And, as with programming languages, you should learn the language!
    But Regular Expressions are much simpler. While you may find slight differences in the meta-syntax the basic principle is the same.

    [snip SQL topic]


    Presumed I understood you correctly, then, frankly, you are obviously
    just lacking the necessary expertise and blame Regular Languages (and
    their uses and users) just due to ignorance.

    Its not a matter of ignorance. That's what wannabe code gurus like to
    say, because to them 'guru knowledge' is more important than getting
    the job done on time, on budget and leaving code that can actually be
    maintained.

    (I already noticed that you have a very peculiar image in mind.)

    I spoke about the necessity to learn languages, whether regular or
    context free. And that lacking knowledge is just ignorance.

    I'm aware that typical regular expression syntaxes appear cryptic.
    (And I understand the reluctance to learn them.)

    (To move that/your problem to "gurus" you met in your life appears
    to be nothing but a red herring and is obviously only demonstrating
    your unwillingness to learn or understand regexps.)


    My point being exactly that to gain the expertise does not lead to a
    practicable solution *anyway*.

    Within the naturally given domain of Regular Languages you can use
    them to quickly create usable (practicable) solutions in appropriate requirement contexts. (I do that all the time. They're really very
    useful.)

    There's nothing wrong not
    knowing every aspect of CS and IT, but your generalizing imputations
    based on that are misguided.

    Unfortunately you have just made my point for me.

    I have always been under pressure to produce efficient-a working
    comprehensible and maintainable code in a short time.

    And regular expressions are one part of it. - Of course, if you don't
    know them, how to use them, what they are for, it may be a hindrance
    to use them efficiently. - As said; you have to learn them. It's not different to other things in IT you have to learn. (You don't get it
    for free, by divine inspiration, or else.)


    Regexps simply don't fit the bill. Nor do overly complex SQL
    statements. I tried both and gave up after I had already taken longer
    to produce code that ran way slower than a custom solution in C did

    There's even a video about it

    "How on Earth does ^.?$|^(..+?)\1+$ produce primes?"

    (This is not a Regular Expression; it uses back references. Just BTW.)


    https://www.youtube.com/watch?v=5vbk0TwkokM

    18 minutes of documentation to explain one regular expression

    The same algorithm would be just a few lines of python or C and could
    include comments

    It wouldn't occur to me to use regexps to create (or match) primes.

    I suggest to not use fancy Youtube videos but a book or basic tutorial
    if you want to get knowledge on that topic.

    Janis


    Another fucking guru.
    Bye
    --
    rCLThe ultimate result of shielding men from the effects of folly is to
    fill the world with fools.rCY

    Herbert Spencer

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:58:16 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 12:57:39 +0000, Pancho wrote:

    Real life SQL, try to limit a big table query to a max of four
    tables (ideally :-)), + use temporary tables and or cursors.

    Real life SQL, use the EXPLAIN statement to find out where the
    bottlenecks are in your query, and fix them.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:59:47 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite different subjects ...
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 15:03:59 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 21:52:38 +0000
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    IMNSHO the use of client-side scripting to load and display static
    page content should be considered Objectively Wrong, so...nope.

    Christ! There is so much religion here the odour of sanctity is
    making me vomit...

    As I'm an ocean and a continent removed from your end of the exchange,
    that's fine by me ;P

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 08:06:43 2026
    From Newsgroup: comp.unix.shell

    In comp.os.linux.misc The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 13/03/2026 15:00, John Ames wrote:
    On 13 Mar 2026 07:59:02 +1000
    not@telling.you.invalid (Computer Nerd Kev) wrote:
    I've done the same thing using PHP, running the script from the
    command-line to generate the static site. I've done it in Bash
    earlier too, but I ran into things that are just much easier in
    PHP since it's built for generating HTML.

    Oh, that's a clever notion! Hadn't thought of doing it that way.

    There is no point in using PHP to generate a *static* site. It is after
    all for *active* sites.

    It comes with all the functions to make generating HTML easier and
    you get the ability to put PHP code inside HTML with <?php ... ?>.
    It's certainly closer to being designed for the task than Bash, or
    especially C with its bare-bones string handling.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 22:08:23 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 14:14:31 -0700, John Ames wrote:

    IMNSHO the use of client-side scripting to load and display static
    page content should be considered Objectively Wrong ...

    I once took a web page created by a friend, displaying a static table
    of information (about CPU processors), and reduced it from nearly a
    megabyte in size down to a little over 100K. I put all the table info
    into JavaScript structures, and had code that ran on page load to
    generate the display tables from that.

    I also added dynamic sorting features, so you could rearrange the
    table by the values of selected columns by clicking on the column
    headings. The sorting code knew something about the units used for
    numeric values in certain columns, so it could, e.g. interpret rCL1MrCY as greater than rCL2KrCY.

    All the work was done in the browser.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Pancho@Pancho.Jones@protonmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:01:19 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 21:58, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 12:57:39 +0000, Pancho wrote:

    Real life SQL, try to limit a big table query to a max of four
    tables (ideally :-)), + use temporary tables and or cursors.

    Real life SQL, use the EXPLAIN statement to find out where the
    bottlenecks are in your query, and fix them.

    Yeah, in the late 1980s, my goal for career advancement was to learn how
    to interpret query plans. I never really did. I mean I sometimes used
    them to spot simple stuff like a missing index, but normally they
    weren't that useful.

    I was just watching a political YouTube thing with Yanis Varoufakis. He reckoned the West was losing in the Ukraine war because they
    deindustrialised, couldn't actually manufacture weapons. Our economies
    had become dominated by people with MBAs. People who were taught
    academic stuff but lacked real practical experience of actually getting
    stuff done. Suggesting SQL problems should be fixed with Query Execution
    Plans feels a bit like an MBA response.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Pancho@Pancho.Jones@protonmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:01:35 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 21:59, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using TuringrCOs universal tape machine?


    No, I like syntactic sugar.

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite different subjects ...

    Ok, I don't understand that comment. Are Turing Machines mathematics or
    are they Computer Science?
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:07:00 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 23:01:19 +0000, Pancho wrote:

    On 3/13/26 21:58, Lawrence DrCOOliveiro wrote:

    On Fri, 13 Mar 2026 12:57:39 +0000, Pancho wrote:

    Real life SQL, try to limit a big table query to a max of four
    tables (ideally :-)), + use temporary tables and or cursors.

    Real life SQL, use the EXPLAIN statement to find out where the
    bottlenecks are in your query, and fix them.

    Yeah, in the late 1980s, my goal for career advancement was to learn how
    to interpret query plans. I never really did. I mean I sometimes used
    them to spot simple stuff like a missing index, but normally they
    weren't that useful.

    I thought EXPLAIN was something that went back to the beginnings of
    SQL. Hard to imagine a DBMS being useful in the real world without it.

    I was just watching a political YouTube thing with Yanis Varoufakis.
    He reckoned the West was losing in the Ukraine war because they deindustrialised, couldn't actually manufacture weapons.

    The US has the weapons, it just has its own internal preoccupations (particularly religious ones) to deal with, which donrCOt necessarily
    align with the rest of the so-called rCYWestrCY. Like this stupid
    distraction with Iran right now.

    Like it or not, the Europeans have to learn to be more independent of
    the US. It means leaving that oh-so-pleasant post-World-War-II comfort
    zone, that they have become addicted to over the last half-century or
    so.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:09:16 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-13, Pancho wrote:

    On 3/13/26 21:59, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?


    No, I like syntactic sugar.

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite
    different subjects ...

    Ok, I don't understand that comment. Are Turing Machines mathematics
    or are they Computer Science?

    They're computer science which is mathematics.

    The complexity or simplicity or convenience or lack thereof of using
    Turing's machine definition is probably irrelevant here. I suppose the
    point Pancho wanted to allude at was precisely that the
    platform/language doesn't matter to determine what's doable or not, at
    least provided that the languages involved are Turing-complete.
    --
    Nuno Silva
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Pancho@Pancho.Jones@protonmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:17:07 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 13:33, The Natural Philosopher wrote:
    On 13/03/2026 12:57, Pancho wrote:
    On 3/13/26 11:32, The Natural Philosopher wrote:
    On 12/03/2026 19:44, Janis Papanagnou wrote:
    On 12.03.26 20:03, The Natural Philosopher wrote:

    As with SQL I have always found it quicker to do anything complex,
    in C, as it is in fact quicker than trying to do it in SQL, or
    regexp, both in terms of design time and indeed execution time.

    Are you saying here that if, for example, you have a pattern to match
    then you would implement that natively in "C" than in regexp?

    Beyond a very limited complexity, yes.
    It's very hard to documents a regexp . Or in fact a complex SQL
    statement.
    And in the latter case I replaced a complex SQL statement by a series
    of simple statements and some C and the program ran at least 10 times
    faster. (I never found out how long the SQL version ran because I
    aborted it after 6 hours. The C example ran and gave me debugging
    output, and once I had fined tuned it, it took about 40 minutes )


    People teach or learn SQL from an ivory tower perspective.

    Real life SQL, try to limit a big table query to a max of four tables
    (ideally :-)), + use temporary tables and or cursors.

    + use a bit of C code instead. The temporary table then becomes an array
    in C.


    Yep by cursors, I meant using a for each loop in a language like C.

    Obviously in the limit this breaks if you run out of memory, but 4
    gigabytes of data is a hell of a lot.


    As I recall you didn't actually get 4 GB in 32 bit machines. Sometimes
    it wasn't enough.

    It was enough to specify the name, address,-a postcode, borough, county
    and country for every single person in Great Britain....

    Which I had as-a flat files, and wanted as a normalised data base.




    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 01:21:22 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 23:17:07 +0000, Pancho wrote:

    Yep by cursors, I meant using a for each loop in a language like C.

    Some languages (like Python) have iterators, which are a natural fit
    for mechanisms that retrieve a query result a record (or a few
    records) at a time, without having to fit them all in memory at once.

    E.g. hererCOs a convenience wrapper which uses the APSW wrapper for
    SQLite in Python to construct a cursor, execute a query, and then
    iterate over the query results, after optionally applying some mapping
    function to them (e.g. turning a result tuple into a field-value
    mapping) -- all in one simple call:

    def db_iter(conn, cmd, values = None, mapfn = lambda x : x) :
    "executes cmd on a new cursor from connection conn and yields" \
    " the results in turn."
    for item in conn.cursor().execute(cmd, values) :
    yield mapfn(item)
    #end for
    #end db_iter
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 02:35:23 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 12:21:29 -0700, John Ames wrote:

    On Fri, 13 Mar 2026 19:02:02 +0000 The Natural Philosopher <tnp@invalid.invalid> wrote:

    Allows you to use the same language across the board. A bit
    unorthodox, but I can see the use of it.

    But 90% of my php is in fact straight HTML.

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav. sidebar)
    once, in a separate file, rather than having to update them manually
    across every single page every time I need to change something. It's not
    *as* useful when it's not happening automagically server-side, but it
    still saves a lot of tedium.

    There is a learning curve but in Python the Flask framework pulls in Jinja
    as the templating engine.

    https://jinja.palletsprojects.com/en/stable/templates/#template-
    inheritance

    We had a programmer who loved PHP (Personal Home Page). I dipped into the
    code a couple of times trying to do minor fixes and it wasn't pretty.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 02:53:27 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 21:08:52 +0000, The Natural Philosopher wrote:

    On 13/03/2026 19:33, rbowman wrote:
    On Fri, 13 Mar 2026 11:32:12 +0000, The Natural Philosopher wrote:

    It's very hard to documents a regexp . Or in fact a complex SQL
    statement.
    And in the latter case I replaced a complex SQL statement by a series
    of simple statements and some C and the program ran at least 10 times
    faster.
    (I never found out how long the SQL version ran because I aborted it
    after 6 hours. The C example ran and gave me debugging output, and
    once I had fined tuned it, it took about 40 minutes )

    We had one support person who spent his spare time crafting SQL
    statements. They would fail on older DB2 systems that had a 4K limit on
    a statement size. The best part is with a chain of
    CONCAT(CONCAT(CONCAT(.... when a SUBSTR or something fails the whole
    mess returns NULL.

    Exactly. And since the statement is atomic, and very nested, as with
    regexp, its very hard to comment or debug.


    Debug was the least of the problem. Understanding what the hell it did was
    the real task. As time went on sites were migrating from DB2 to SQL
    Server. SQL Server has scalar functions but not the same set as DB2 and
    they might work differently.

    In another instance of planning for a future that never came, the original intent was to make the queries 'configurable'. The truth was once a configurable query was developed it got passed down unchanged for years.

    Another attempt to be configurable wound up involving flex, bison, and the flagrant abuse of C macros. The two guys involved used to stand outside smoking, joking, and laughing evilly. I think they did it that way just because they could. It was a maintenance nightmare. One of them quit and
    the other one died leaving a pile of crap for future programmers.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 03:56:33 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-13 23:08, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 14:14:31 -0700, John Ames wrote:

    IMNSHO the use of client-side scripting to load and display static
    page content should be considered Objectively Wrong ...

    I once took a web page created by a friend, displaying a static table
    of information (about CPU processors), and reduced it from nearly a
    megabyte in size down to a little over 100K. I put all the table info
    into JavaScript structures, and had code that ran on page load to
    generate the display tables from that.

    I also added dynamic sorting features, so you could rearrange the
    table by the values of selected columns by clicking on the column
    headings. The sorting code knew something about the units used for
    numeric values in certain columns, so it could, e.g. interpret rCL1MrCY as greater than rCL2KrCY.

    All the work was done in the browser.

    Usually I avoid unnecessary dynamic content if possible. (And
    John had been speaking about static pages.) I also avoid use of
    frameworks or dependencies in general.

    Despite having meanwhile spent many years and created dozens of
    web-pages and various types of content I'm no HTML/CSS/JS expert
    or anything (as I value it). During my engagement with the topic
    I had chosen various methods to address creation of HTML tables.

    Plain bloated handwritten HTHL, use of CSS classes to reduce the
    bloat, accepting the HTML-tags overhead and creating the content
    using shell/awk scripts, using JS featured tables, generating the
    HTML tables by JS, and maybe more that I might have forgot.

    I'm not sure what the real web-technology experts would say. I'd
    certainly try to avoid use of dynamic languages for static pages
    (I don't much like Javascript as language and I sort of hate PHP
    from a programming language perspective; but I regularly used the
    former and [only] in one small case had used the latter).

    I'm not running an own server, so for dynamic content I used JS.
    I observed that you can do a lot to reduce bloat by using CSS.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 04:00:55 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-13 22:54, The Natural Philosopher wrote:

    Another fucking guru.

    Your general stance was already obvious.

    Janis

    Bye


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 03:08:00 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 23:07:00 -0000 (UTC), Lawrence DrCOOliveiro wrote:


    The US has the weapons, it just has its own internal preoccupations (particularly religious ones) to deal with, which donrCOt necessarily
    align with the rest of the so-called rCYWestrCY. Like this stupid
    distraction with Iran right now.

    That goes back to the Reagan era. There were several highly placed people whose game plan was to get all the Jews in Israel to fulfill prophecy and bring on Armageddon and the Second Coming. I think assholes like Huckabee
    are still on that page.

    Gibbon came to the conclusion that one of the main causes for the fall of
    the Roman Empire was Christianity. That may be pertinent to the American Empire too. Why Europeans imported an Asian messiah escapes me.


    Like it or not, the Europeans have to learn to be more independent of
    the US. It means leaving that oh-so-pleasant post-World-War-II comfort
    zone, that they have become addicted to over the last half-century or
    so.

    If the Europeans want to rattle their sabers it would help if they had
    some sabers that weren't rusty and dull. Props to Meloni for saying 'Screw this.' She has bigger balls than Starmer but that's a low bar.
    Muggeseggele describes his equipment.

    https://en.wikipedia.org/wiki/Muggeseggele



    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 03:19:56 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 21:59:47 -0000 (UTC), Lawrence DrCOOliveiro wrote:

    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using TuringrCOs universal tape machine?

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite different subjects ...

    'Computer science' is ambiguous and in some cases refers to rarefied abstractions that are fairly useless. There should be 'practical
    programming' or some other discipline that I don't think falls under mathematics.

    I think that goes back to the '60s. RPI and many other colleges did not
    have a CS program. I forget what the course designation was for FORTRAN IV programming but they didn't know what to do with it and put it in the math department.

    Apropos, Tony Hoare died last week but Quicksort lives on.



    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 23:26:41 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 22:35, rbowman wrote:
    On Fri, 13 Mar 2026 12:21:29 -0700, John Ames wrote:

    On Fri, 13 Mar 2026 19:02:02 +0000 The Natural Philosopher
    <tnp@invalid.invalid> wrote:

    Allows you to use the same language across the board. A bit
    unorthodox, but I can see the use of it.

    But 90% of my php is in fact straight HTML.

    Ditto - but adding PHP (or another preprocessor utility) to the mix
    allows me to write the common sections (header, footer, nav. sidebar)
    once, in a separate file, rather than having to update them manually
    across every single page every time I need to change something. It's not
    *as* useful when it's not happening automagically server-side, but it
    still saves a lot of tedium.

    There is a learning curve but in Python the Flask framework pulls in Jinja
    as the templating engine.

    https://jinja.palletsprojects.com/en/stable/templates/#template-
    inheritance

    We had a programmer who loved PHP (Personal Home Page). I dipped into the code a couple of times trying to do minor fixes and it wasn't pretty.

    Aww ... PHP is OK .. not all *that* different from 'C'.
    However it can be writ, well ... badly.

    If you need a web page to DO SHIT other than just sit
    there and look pretty then you need PHP. I often used
    those 'make yer own page' apps/CMS - cheap - to set up
    the HTML/pages ... the annoying stuff ... and then
    used PHP to add IQ. Worked well, fairly quick. Found
    Joomla to be maybe the best compromise of features,
    though there is a bit of a learning curve compared
    to, say, WordPress.

    Ok, hate to say the name, JavaScript works too ...

    The big 'personal' advantage of PHP is that it
    makes the SERVER do most of the work whereas
    the others burn YOUR cycles.

    Had a web page that asked for a password ... and
    if you failed it ran a JS bit that did lots of
    trig/float stuff in a tight loop - while showing
    a woodcut from Dante's Inferno. Yer fan would
    instantly shift to max gear and the browsers
    would start screaming about overtaxing content :-)

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 04:54:48 2026
    From Newsgroup: comp.unix.shell

    [ It's impressive how things can get OT in *technical* newsgroups.
    Let's at least name it appropriately and label it as such. :-) ]

    On 2026-03-14 04:08, rbowman wrote:
    On Fri, 13 Mar 2026 23:07:00 -0000 (UTC), Lawrence DrCOOliveiro wrote:

    The US has the weapons, it just has its own internal preoccupations
    (particularly religious ones) to deal with, which donrCOt necessarily
    align with the rest of the so-called rCYWestrCY. Like this stupid
    distraction with Iran right now.

    (Association with the "Wag the Dog" movie anyone?)

    [...]

    Gibbon came to the conclusion that one of the main causes for the fall of
    the Roman Empire was Christianity. That may be pertinent to the American Empire too. Why Europeans imported an Asian messiah escapes me.

    (Not sure what you mean by "imported" here.)
    Religious ideas and beliefs don't obey country-borders.
    All the various creeds are ubiquitous around the world.

    Personal beliefs are a personal thing; to each his own.

    Once there's missionaries there's a potential issue.
    Once there's "forced convincing" there's a problem.
    Once there's extreme fanatics there's a huge problem.
    Once there's extreme fanatics equipped with a military
    power there's a really huge, international problem.

    Sadly, the latter is the actual state of affairs.

    The world has far too many religious fanatics (of *any*
    sort) whose countries also have the disastrous military
    power to disrupt the world. The victims are as always,
    "We the people".

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 13 21:32:55 2026
    From Newsgroup: comp.unix.shell



    On 3/13/26 20:08, rbowman wrote:
    On Fri, 13 Mar 2026 23:07:00 -0000 (UTC), Lawrence DrCOOliveiro wrote:


    The US has the weapons, it just has its own internal preoccupations
    (particularly religious ones) to deal with, which donrCOt necessarily
    align with the rest of the so-called rCYWestrCY. Like this stupid
    distraction with Iran right now.

    That goes back to the Reagan era. There were several highly placed people whose game plan was to get all the Jews in Israel to fulfill prophecy and bring on Armageddon and the Second Coming. I think assholes like Huckabee are still on that page.

    Gibbon came to the conclusion that one of the main causes for the fall of
    the Roman Empire was Christianity. That may be pertinent to the American Empire too. Why Europeans imported an Asian messiah escapes me.


    Like it or not, the Europeans have to learn to be more independent of
    the US. It means leaving that oh-so-pleasant post-World-War-II comfort
    zone, that they have become addicted to over the last half-century or
    so.

    If the Europeans want to rattle their sabers it would help if they had
    some sabers that weren't rusty and dull. Props to Meloni for saying 'Screw this.' She has bigger balls than Starmer but that's a low bar.
    Muggeseggele describes his equipment.

    https://en.wikipedia.org/wiki/Muggeseggele

    Europeans did not import, that religion except for members
    of the ruling class who might have been, in the Pagan religions of
    the time sacrificed to return fertility. or good weather to the land.
    They had good reasons to accept an already sacrificed savior to
    keep their own skins intact.
    Other nobles might be squeezed out of the goodies but with
    a conversion to Christianity they might overturn the upper classes.
    Some non-converted families were burned alive in their homes.

    When the Senators became Bishops they chose to institute
    a class system which made sure that shoemaker's sons would stick
    with Dad's last and that the Farmers would not leave the land.
    Exception were made to educate what the Church saw as desirable
    members of society. Usually payment was involved from the
    family to the Church to feed and educate the children who would
    become monks and/or priests. Similarly when a woman became
    a nun her family would pay or if she was wealthy in her own
    endow the institution with her dowry.

    But Rome exported Christianity and so did Constantinople and
    shoved it down the throat of the rest of their Empire.

    bliss
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 04:59:35 2026
    From Newsgroup: comp.unix.shell

    On Fri, 13 Mar 2026 23:26:41 -0400, c186282 wrote:

    If you need a web page to DO SHIT other than just sit there and look
    pretty then you need PHP. I often used those 'make yer own page'
    apps/CMS - cheap - to set up the HTML/pages ... the annoying stuff
    ... and then used PHP to add IQ. Worked well, fairly quick. Found
    Joomla to be maybe the best compromise of features, though there is a
    bit of a learning curve compared to, say, WordPress.

    Never used it. Our SPA used Angular. The browser based apps I did prior to
    the map being incorporated into the Angular project used Node.js/
    Express.js on the backend and the Esri Javascript 3.x API on the fontend
    for the map pieces.

    I did a web app on the Pi yesterday. The Pi reads a I2C DHT11 sensor to
    get the inside temperature and humidity and publishes it so I can get the
    data in the browser on my main machine rather than switching to the Pi. Tomorrow I'll probably expand it to query NOAA for the outside temperature
    and humidity and add it to the page. Python/Flask.

    fwiw, since the Flask package is included in the Pi's system site packages
    I'm not in a venv. Also I spun off a process using
    subprocess.Popen("python", "dht_simple.py") with no problem. The
    subprocess does the actual hardware read and updates the html.

    I suppose PHP was better than FrontPage that used millions of non-breaking spaces to format a page. Like Cobol there is still a lot of it around.
    However if I had a kid in college I would not advise them to use PHP.

    https://kinsta.com/blog/php-vs-angular/

    probably tl;dr. Synopsis:

    "The Angular framework works excellent for building large-scale apps with complexity and need of scalability.

    PHP is an old player, and itrCOs still very much in the game. ItrCOs a good, low-cost option for you to develop a small business website, a portfolio
    site, or even an ecommerce store."


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 02:35:05 2026
    From Newsgroup: comp.unix.shell

    On 3/14/26 00:59, rbowman wrote:
    On Fri, 13 Mar 2026 23:26:41 -0400, c186282 wrote:

    If you need a web page to DO SHIT other than just sit there and look
    pretty then you need PHP. I often used those 'make yer own page'
    apps/CMS - cheap - to set up the HTML/pages ... the annoying stuff
    ... and then used PHP to add IQ. Worked well, fairly quick. Found
    Joomla to be maybe the best compromise of features, though there
    is a
    bit of a learning curve compared to, say, WordPress.

    Never used it. Our SPA used Angular. The browser based apps I did
    prior to
    the map being incorporated into the Angular project used Node.js/
    Express.js on the backend and the Esri Javascript 3.x API on the fontend
    for the map pieces.

    There are a variety of page builders. Some are very
    simple, stuff like WordPress/Joomla fall in the middle.
    However page layout - what/where/pretty-colors - tends
    to be the Most Annoying bit. You can waste a LOT of
    time trying to get it right by yourself.

    However such pages are STUPID ... so PHP is needed
    to add IQ.

    PHP is not all-powerful ... hell, try to get it to
    do anything off the webroot, gotta be creative !
    However it's a LOT better than nothing.

    Did a web app where I didn't want 'them' to have
    much of anything to attack. The "real" web pages
    were hidden off the root. Some PHP trix generated
    a 'fake', temporary, image of the page where the
    real code was off the root. After x-minutes it
    would just be disappeared ... no URL or anything
    to get back to it.

    I did a web app on the Pi yesterday. The Pi reads a I2C DHT11 sensor to
    get the inside temperature and humidity and publishes it so I can get the data in the browser on my main machine rather than switching to the Pi. Tomorrow I'll probably expand it to query NOAA for the outside
    temperature
    and humidity and add it to the page. Python/Flask.

    PIs are great ... but you don't build Industrial Strength
    web pages for them. By the time you make them safe for
    an outwards-facing server, well, the speed issues come up.

    fwiw, since the Flask package is included in the Pi's system site
    packages
    I'm not in a venv. Also I spun off a process using subprocess.Popen("python", "dht_simple.py") with no problem. The
    subprocess does the actual hardware read and updates the html.

    Flask is OK ... not gonna knock it. DO like Python
    abilities too, beats the crap out of other 'script'
    languages. However I still would not do "Industrial"
    using Python. OK for more limited spheres however.

    I suppose PHP was better than FrontPage that used millions of
    non-breaking
    spaces to format a page. Like Cobol there is still a lot of it around. However if I had a kid in college I would not advise them to use PHP.

    https://kinsta.com/blog/php-vs-angular/

    Well, PHP isn't COBOL (I know, I used to do COBOL apps
    in the Ancient World). I think of PHP as a relatively
    easy, readable, way to add IQ to HTML pages. It's not
    a BAD lang, you can do ALMOST anything with it.

    probably tl;dr. Synopsis:

    "The Angular framework works excellent for building large-scale apps with complexity and need of scalability.

    PHP is an old player, and itrCOs still very much in the game. ItrCOs a good, low-cost option for you to develop a small business website, a portfolio site, or even an ecommerce store."

    Correct - do NOT piss on PHP. It was made for a
    particular, valuable, niche purpose and still
    serves that well and simply.

    If you can program 'C' or Pascal then you can
    program PHP with No Problems.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 04:10:20 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 23:19, rbowman wrote:
    On Fri, 13 Mar 2026 21:59:47 -0000 (UTC), Lawrence DrCOOliveiro wrote:

    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite
    different subjects ...

    'Computer science' is ambiguous and in some cases refers to rarefied abstractions that are fairly useless. There should be 'practical
    programming' or some other discipline that I don't think falls under mathematics.

    I think that goes back to the '60s. RPI and many other colleges did not
    have a CS program. I forget what the course designation was for FORTRAN IV programming but they didn't know what to do with it and put it in the math department.

    Apropos, Tony Hoare died last week but Quicksort lives on.

    "Computer Science" has very little do do with
    practical apps. It's closer to, but not quite,
    Pure Math and Stats. It CAN inform practical apps,
    but, really, not so much these days.

    Employers need not hire CS people, waste of money.

    CS *may* have some utility in the developing quantum
    realm however. We'll see.

    As for 'over-elaborate shell scripts' ... seen many,
    written a few. Today it's MUCH better to do the same
    thing in Python. MUCH more readable, comprehensible,
    straight-up capable.

    Yes, I've bitched about Python here, recently, but
    it's still mostly much better than Bash or CSH.
    Those shells were built-up over time ... adding
    ever more weird symbols and syntatic oddities to
    expand the 'language' until they make NO sense
    except for the simplest things.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 06:29:33 2026
    From Newsgroup: comp.unix.shell

    On 3/13/26 19:09, Nuno Silva wrote:
    On 2026-03-13, Pancho wrote:

    On 3/13/26 21:59, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?


    No, I like syntactic sugar.

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite
    different subjects ...

    Ok, I don't understand that comment. Are Turing Machines mathematics
    or are they Computer Science?

    They're computer science which is mathematics.

    The complexity or simplicity or convenience or lack thereof of using
    Turing's machine definition is probably irrelevant here. I suppose the
    point Pancho wanted to allude at was precisely that the
    platform/language doesn't matter to determine what's doable or not, at
    least provided that the languages involved are Turing-complete.


    Is 'Turing Complete' even relevant now ???

    Computerdom kind of started "Wild West" and now
    seems to have returned to that.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 11:07:26 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-12, Janis Papanagnou wrote:

    On 3/12/26 09:00, Janis Papanagnou wrote:
    On 3/12/26 08:21, Lawrence DrCOOliveiro wrote:

    This article

    <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-
    two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    It's a... curious article, the first part of it seems to want to explain
    some operations with variables by repeatedly stating that the syntax is "unsettling".

    Besides the whole thing about relegating bash to some place where it's
    only used as an interactive command interpreter and where it's not a
    "real language"

    -2If you need to write a script for repeated userCoparticularly one
    with significant logical branching and evaluationrCoI strongly
    recommend a rCLreal languagerCY instead of Bash.-+

    -2Although the switch back and forth between referencing hello and
    $hello is deeply unsettling if yourCOre only familiar with rCLrealrCY
    languages,[...]-+

    This is silly, I mean, one of the key strengths of UNIX shells is that
    you can use them to write scripts. In fact, these might be more suitable
    tools for some operations...

    continues the authorrCOs intro to basic command-line concepts. But it
    repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Right. I can only agree with you.

    The more general problem is that there's so much stuff about shell
    programming on the web but most of it is sadly of very bad quality.

    It's exactly a paragon for the said many sources of bad quality.

    I liked the detail near the end where it's apparently *echo* that gets
    rid of the whitespace in the argument, and not the shell's word
    splitting.
    --
    Nuno Silva
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 12:30:54 2026
    From Newsgroup: comp.unix.shell

    On 14/03/2026 03:08, rbowman wrote:
    If the Europeans want to rattle their sabers it would help if they had
    some sabers that weren't rusty and dull.

    Is that why Trump has requested a battalion of anti drone drones and
    operators from Ukraine? I guess he hadn't any cards left to play...
    --
    rCLSome people like to travel by train because it combines the slowness of
    a car with the cramped public exposure of rC?an airplane.rCY

    Dennis Miller


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 12:36:21 2026
    From Newsgroup: comp.unix.shell

    On 13/03/2026 23:01, Pancho wrote:
    On 3/13/26 21:59, Lawrence DrCOOliveiro wrote:
    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?


    No, I like syntactic sugar.

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite
    different subjects ...

    Ok, I don't understand that comment. Are Turing Machines mathematics or
    are they Computer Science?

    No problemo. Just remember the wheel was invented long before anyone calculated the value of Pi.
    --
    There is nothing a fleet of dispatchable nuclear power plants cannot do
    that cannot be done worse and more expensively and with higher carbon emissions and more adverse environmental impact by adding intermittent renewable energy.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 12:38:55 2026
    From Newsgroup: comp.unix.shell

    On 14/03/2026 02:35, rbowman wrote:
    We had a programmer who loved PHP (Personal Home Page). I dipped into the code a couple of times trying to do minor fixes and it wasn't pretty.

    PHP is as ugly as fuck. So is javaScript.

    But they work. And are widely supported,

    Chainsaws are also ugly as fuck.,
    --
    Civilization exists by geological consent, subject to change without notice.
    rCo Will Durant

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 12:49:25 2026
    From Newsgroup: comp.unix.shell

    On 14/03/2026 02:56, Janis Papanagnou wrote:
    I'm not sure what the real web-technology experts would say. I'd
    certainly try to avoid use of dynamic languages for static pages
    (I don't much like Javascript as language and I sort of hate PHP
    from a programming language perspective; but I regularly used the
    former and [only] in one small case had used the latter).


    Horses for courses.

    I think PHP sucks, but if you want, for example, a web page that returns
    the content of a dynamically altering text file on the host, a file
    which is not uniquely identified by name, but by the first line of it's content...and there may be duplicates, but you want the one that has the latest timestamp, a static page wont cut it.

    PHP is a bit quicker than C. And making e.g. Apache use PHP is a well documented piece of cake. Making it run C is a lot more effort.

    I'm not running an own server, so for dynamic content I used JS.
    I observed that you can do a lot to reduce bloat by using CSS.

    Indeed, until your css file itself becomes the bloat.

    Likewise if you want your page to e.g. have a running clock on it, or to update a server without the user having to hit a submit button, or
    indeed have context sensitive menu trees etc, then you needs must use javaShiterao. And deal with all the cruft placed in it by code gurus.
    --
    When plunder becomes a way of life for a group of men in a society, over
    the course of time they create for themselves a legal system that
    authorizes it and a moral code that glorifies it.

    Fr|-d|-ric Bastiat

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 13:02:00 2026
    From Newsgroup: comp.unix.shell

    On 14/03/2026 03:19, rbowman wrote:
    On Fri, 13 Mar 2026 21:59:47 -0000 (UTC), Lawrence DrCOOliveiro wrote:

    On Fri, 13 Mar 2026 12:48:56 +0000, Pancho wrote:

    VAX Basic was widely used on major banking systems. Excel/VBA was
    everywhere.

    Not any more, thank goodness.

    Chruch-Turing Thesis - different languages are just syntactic sugar.

    Ever wonder why we donrCOt write real-world computer programs using
    TuringrCOs universal tape machine?

    ThererCOs a reason why rCLcomputer sciencerCY and rCLmathematicsrCY are quite
    different subjects ...

    'Computer science' is ambiguous and in some cases refers to rarefied abstractions that are fairly useless. There should be 'practical
    programming' or some other discipline that I don't think falls under mathematics.

    It's called 'software engineering'.

    There are books on it., No mention of algorithms, or languages. Plenty
    of mention of source file simplicity, debugging techniques, functional decomposition, software project management, how to deal with
    asynchronicity, source code control, ....etc.

    I skimmed books like that in the university bookshops. I never bought
    more than one comp sci book, and by the time I skimmed the softare
    engineering book, I already knew its contents.

    I think that goes back to the '60s. RPI and many other colleges did not
    have a CS program. I forget what the course designation was for FORTRAN IV programming but they didn't know what to do with it and put it in the math department.

    Programming was all self taught by intrelligent people and what they
    learnt in practical terms became software engineering.

    I had a GF who decided that a degree in chemistry only led to a job in
    an explosives factory, so she joined an IBM code house and learnt COBOL
    and indeed software engineering. IBM was damned good on the organisation
    of big software projects.

    I taught myself Z80 assembler, and as a hardware engineer, it all made
    perfect sense.

    No compsci involved in either of our careers.
    --
    Of what good are dead warriors? rCa Warriors are those who desire battle
    more than peace. Those who seek battle despite peace. Those who thump
    their spears on the ground and talk of honor. Those who leap high the
    battle dance and dream of glory rCa The good of dead warriors, Mother, is
    that they are dead.
    Sheri S Tepper: The Awakeners.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 13:18:02 2026
    From Newsgroup: comp.unix.shell

    In article <10p2m68$3tanm$1@dont-email.me>,
    Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
    [ It's impressive how things can get OT in *technical* newsgroups.
    Let's at least name it appropriately and label it as such. :-) ]

    That's always been my view. That it is a good and useful thing to change
    the Subject: line as the thread evolves. However, some people think
    otherwise, and I have been criticized in the past for doing so.
    Apparently, users of cruddy newsreaders (basically, re-purposed email
    clients, such as Thunderbird, etc) have problems with keeping the thread together if you change the Subject:. Pity, but they should just switch to using a real newsreader.

    Changing the Subject: allows you to read the posts in a thread that are of interest and skip past the ones that aren't. And, in most cases, the
    so-called "technical" posts are boring (see below for why this is so in
    this instance) and I much more enjoy the religious/political/social/commentary-on-others-posting-habits ones instead.

    Two comments on this thread in particular:

    1) This thread went off the rails from the first response. Nobody has
    said anything related to the OP and when you get right down to it,
    there really isn't much of anything *to* say. It was a bitch-and-whine
    thread from the onset.

    2) People almost immediately from the onset used this thread to puff up
    their own favorite language(s) and bitch about the ones they don't like.
    They should have changed the Subject: right then and there.
    --
    The randomly chosen signature file that would have appeared here is more than 4 lines long. As such, it violates one or more Usenet RFCs. In order to remain in compliance with said RFCs, the actual sig can be found at the following URL:
    http://user.xmission.com/~gazelle/Sigs/Windows
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 15:28:42 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-14 09:10, c186282 wrote:
    On 3/13/26 23:19, rbowman wrote:

    Apropos, Tony Hoare died last week but Quicksort lives on.

    Oh! - Thanks for the info; I missed it.


    -a "Computer Science" has very little do do with
    -a practical apps. It's closer to, but not quite,
    -a Pure Math and Stats. It CAN inform practical apps,
    -a but, really, not so much these days.

    This is plain wrong! (I have to suppose that you haven't
    learned CS if you are uttering such nonsense. - Or else;
    where have you learned "your CS"?) You have obviously no
    idea about its topics. - Jesus! It's really been a very
    very long time that I've heard such utter nonsense spread!


    -a Employers need not hire CS people, waste of money.

    And we can see the quality degradation of such decisions.


    -a CS *may* have some utility in the developing quantum
    -a realm however. We'll see.

    This is still mostly only a research topic.

    -a [...]

    -a Yes, I've bitched about Python here, recently, but
    -a it's still mostly much better than Bash or CSH.
    -a Those shells were built-up over time ... adding
    -a ever more weird symbols and syntatic oddities to
    -a expand the 'language' until they make NO sense
    -a except for the simplest things.

    You obviously have little knowledge about shells. POSIX
    shells (ksh, bash, zsh, etc.) have a huge standardized
    stable base. While historically they have added sensible
    features, you see that these had to a large degree found
    their way from one shell to the others even where going
    beyond the standardized POSIX base. (And Csh is neither
    advised for programming nor is there any stable single
    version in the first place.)

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 15:53:12 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-14 12:07, Nuno Silva wrote:
    <https://arstechnica.com/gadgets/2021/09/command-line-wizardry-part-
    two-variables-and-loops-in-bash/>

    I took the time to look more closely into that link above.

    It's a... curious article, the first part of it seems to want to explain
    some operations with variables by repeatedly stating that the syntax is "unsettling".

    Besides the whole thing about relegating bash to some place where it's
    only used as an interactive command interpreter and where it's not a
    "real language"

    -2If you need to write a script for repeated userCoparticularly one
    with significant logical branching and evaluationrCoI strongly
    recommend a rCLreal languagerCY instead of Bash.-+

    -2Although the switch back and forth between referencing hello and
    $hello is deeply unsettling if yourCOre only familiar with rCLrealrCY
    languages,[...]-+

    I see you wasted your time reading all the gory details. :-)

    Your quotes show that the article is even worse than I thought.
    The author obviously an ignorant, probably self-educated fellow.

    Sadly, the world seems to get filled with such "experts". - So
    we might be lucky if the AIs will replace most of them soon. :-/
    (No, I'm just sarcastic.)


    This is silly, I mean, one of the key strengths of UNIX shells is that
    you can use them to write scripts. In fact, these might be more suitable tools for some operations...

    > continues the authorrCOs intro to basic command-line concepts. But it >>> > repeats a failing I see all too often in shell scripting: [...]

    Not only "a [one] failing"; it's full of bad coding practices!
    (I suggest to abstain from it.)

    Right. I can only agree with you.

    The more general problem is that there's so much stuff about shell
    programming on the web but most of it is sadly of very bad quality.

    It's exactly a paragon for the said many sources of bad quality.

    I liked the detail near the end where it's apparently *echo* that gets
    rid of the whitespace in the argument, and not the shell's word
    splitting.

    I'm not sure what specific part you have in mind. - Close to the
    end I see for example

    echo zfs destroy \"$snap\"

    A form with escapes that I'd never had written that way.

    There's a lot other things of arguable quality; pipelines with three
    greps and a sed, for example. Or unnecessary escapes after the pipe
    symbol. Or using shell's 'while' loop where other tools process such
    data better. - Not all those things are critical in any way, but I
    also wouldn't call them the most sophisticated approach. - But then
    we also see recommended patterns he used (like 'IFS= read -r').

    And the same author advertises at the end another article of him:
    "Learn to think in sed, awk, and grep". But he fails to make use e.g.
    of awk in his zfs-multi-grep-loop command pipelines.

    Janis

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 13:06:43 2026
    From Newsgroup: comp.unix.shell

    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is 'survival of anything not too screwed up to live.' The x86 architecture wasn't the
    best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct (yet)...

    A million years of dinosaurs and now just jackdaws.
    --
    Those who want slavery should have the grace to name it by its proper
    name. They must face the full meaning of that which they are advocating
    or condoning; the full, exact, specific meaning of collectivism, of its logical implications, of the principles upon which it is based, and of
    the ultimate consequences to which these principles will lead. They must
    face it, then decide whether this is what they want or not.

    Ayn Rand.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 09:52:56 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is 'survival of
    anything not too screwed up to live.'-a The x86 architecture wasn't the
    best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct (yet)...

    A million years of dinosaurs and now just jackdaws.

    50 million years of dinosaurs !

    It IS odd how all but the birdy side of the
    entire line disappeared so completely. Hey,
    maybe it was space alien 'big game hunters' !

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 14:21:33 2026
    From Newsgroup: comp.unix.shell

    On 16/03/2026 13:52, c186282 wrote:
    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is
    'survival of
    anything not too screwed up to live.'-a The x86 architecture wasn't the
    best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.

    -a 50 million years of dinosaurs !


    I stand corrected...

    -a It IS odd how all but the birdy side of the
    -a entire line disappeared so completely. Hey,
    -a maybe it was space alien 'big game hunters' !


    They fell through cracks in reality that the birds flew over?
    --
    The biggest threat to humanity comes from socialism, which has utterly diverted our attention away from what really matters to our existential survival, to indulging in navel gazing and faux moral investigations
    into what the world ought to be, whilst we fail utterly to deal with
    what it actually is.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 14:35:56 2026
    From Newsgroup: comp.unix.shell

    The Natural Philosopher <tnp@invalid.invalid> writes:
    On 16/03/2026 13:52, c186282 wrote:
    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is
    'survival of anything not too screwed up to live.'-a The x86
    architecture wasn't the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.
    -a 50 million years of dinosaurs !

    I stand corrected...

    Nearer 168M years!

    -a It IS odd how all but the birdy side of the
    -a entire line disappeared so completely. Hey,
    -a maybe it was space alien 'big game hunters' !

    They fell through cracks in reality that the birds flew over?

    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From John Ames@commodorejohn@gmail.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 08:21:32 2026
    From Newsgroup: comp.unix.shell

    On 14 Mar 2026 02:35:23 GMT
    rbowman <bowman@montana.com> wrote:

    We had a programmer who loved PHP (Personal Home Page). I dipped into
    the code a couple of times trying to do minor fixes and it wasn't
    pretty.

    Definitely would not class it as one of my favorite languages (and I've
    heard tell that it was even jankier in the Bad Old Days,) but for
    simple HTML preprocessor duties it does the job well enough. If I were
    trying to build any kind of large-scale Web application I'd probably be
    more inclined to think about my options and choice of tooling.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 10:39:56 2026
    From Newsgroup: comp.unix.shell



    On 3/16/26 07:35, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    On 16/03/2026 13:52, c186282 wrote:
    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is
    'survival of anything not too screwed up to live.'-a The x86
    architecture wasn't the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.
    -a 50 million years of dinosaurs !

    I stand corrected...

    Nearer 168M years!

    -a It IS odd how all but the birdy side of the
    -a entire line disappeared so completely. Hey,
    -a maybe it was space alien 'big game hunters' !

    They fell through cracks in reality that the birds flew over?

    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.


    Anything big that could not eat carrion and hide or fly well was extincted but some
    ancient lineages survived because they could hide underground and eat
    carrion. Such are our antecedents. Very small mammalian animals like
    rats or mice survived. So did
    a lot of pesky insects and birds and small burrowing reptiles,
    amphibians and worms.
    Plants whose seeds were in the ground survived as well to grow back as
    trees and the
    rest.

    bliss
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 17:44:55 2026
    From Newsgroup: comp.unix.shell

    On 16/03/2026 14:35, Richard Kettlewell wrote:
    A 10km asteroid will really mess a planet up.

    But not nearly as much as 100ppm of atmospheric CO2, allegedly...
    --
    "First, find out who are the people you can not criticise. They are your oppressors."
    - George Orwell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 17:48:14 2026
    From Newsgroup: comp.unix.shell

    On 16/03/2026 15:21, John Ames wrote:
    On 14 Mar 2026 02:35:23 GMT
    rbowman <bowman@montana.com> wrote:

    We had a programmer who loved PHP (Personal Home Page). I dipped into
    the code a couple of times trying to do minor fixes and it wasn't
    pretty.

    Definitely would not class it as one of my favorite languages (and I've
    heard tell that it was even jankier in the Bad Old Days,) but for
    simple HTML preprocessor duties it does the job well enough. If I were
    trying to build any kind of large-scale Web application I'd probably be
    more inclined to think about my options and choice of tooling.

    I thought it was Peters Home Page, whatever...

    PHP gets ugly, at scale. But at least it has include files. And the
    ability to call another program.

    Or you can write libraries for it in C.
    --
    Labour - a bunch of rich people convincing poor people to vote for rich
    people by telling poor people that "other" rich people are the reason
    they are poor.

    Peter Thompson

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Richard Harnden@richard.nospam@gmail.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 18:03:41 2026
    From Newsgroup: comp.unix.shell

    On 16/03/2026 14:35, Richard Kettlewell wrote:
    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    It's amazing that the meteor missed the visitor centre in AZ ;)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 11:09:46 2026
    From Newsgroup: comp.unix.shell



    On 3/16/26 11:03, Richard Harnden wrote:
    On 16/03/2026 14:35, Richard Kettlewell wrote:
    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    It's amazing that the meteor missed the visitor centre in AZ ;)

    That meteor in Arizona was small next to the big one in the Yucatan peninsula. But the visitor center in Arizona was saved by time. ;^)

    bliss
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 19:44:42 2026
    From Newsgroup: comp.unix.shell

    On Mon, 16 Mar 2026 05:11:30 -0400, c186282 wrote:


    I got into Linux back when RH/Slack/OSu came on 5-1/4 disks at the
    superstore. Don't think Python existed yet.
    If you wanted a 'script' then you did it in Bash or one of the
    others.

    Python predates Linux by a little although it was way behind Perl in popularity. Python 2 came out in 2000. Red Hat Linux not only included the infamous gcc 2.96 that couldn't compile the kernel and a Python version
    that broke existing scripts. As I've said, it took me 25 years to give
    Fedora a chance.

    Fortunately I skipped Py2 ... kept hearing Py3 was coming out and
    would be kind-of different. Why learn the 'wrong way' ?

    The Esri Desktop installation included Python 2, which they started to use
    as VBA faded away. ActiveState Python was also useful since it had Win32 extensions. I did have to do some rework for Python 3. It wasn't as bad
    as some of the other transitions like Angular.js to Angular. It didn't
    affect me but Visual Basic to VB.NET was a real mess.


    Config files CAN be good - or HELL. All kinds of weird, often
    poorly/non-documented stuff in them.
    The X system is a particular pain. I still remember trying to get
    original X in RH to see my monitor,
    KB and mouse ... took a couple days of fooling around, sometimes
    shooting in the dark. Was younger then however ...

    I don't have a problem with config files, either the old ini style or the newer xml or JSON types but I wasn't familiar with rxvt. I tweak xterm
    in .Xresources but in this case another config where most of the work is
    done is included in .Xresourcces like your MX. Hopefully the hack for the
    vim cursor in xterm also works.

    DSL has gotten fatter since its reboot and is up to 900 MB which
    still isn't bad in the time of 4 GB+ isos.
    My original DSL wasn't terrible, version 2 could sometimes get to
    20mbs. My 'new and improved'
    5G thingie almost never gets to 20mbs, 15 is about the top almost all
    the time, under 10 more common.

    DSL -- Damn Small Linux. I don't know anything about the other DSL. afaik
    it never made it past the city line and didn't even have total coverage in town.


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 19:49:02 2026
    From Newsgroup: comp.unix.shell

    On Mon, 16 Mar 2026 13:06:43 +0000, The Natural Philosopher wrote:

    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is 'survival
    of anything not too screwed up to live.' The x86 architecture wasn't
    the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.

    When I lived in New Hampshire there was a place in one of the bays where I could catch horseshoe crabs by hand. It was strictly catch and release; I
    only wanted to look at an extremely successful design up close.

    https://en.wikipedia.org/wiki/Horseshoe_crab
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 19:53:54 2026
    From Newsgroup: comp.unix.shell

    On Mon, 16 Mar 2026 18:03:41 +0000, Richard Harnden wrote:

    On 16/03/2026 14:35, Richard Kettlewell wrote:
    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    It's amazing that the meteor missed the visitor centre in AZ ;)

    Ah, that one. It might have changed but their signage along the highways
    very closely resembled those for National Parks. I had a National Park
    pass and was rather put out when I found out it was a private attraction.

    Years later I lucked out and got a Golden Age pass or whatever it's called
    for $10, good for my lifetime. They still exist but they are quite a bit
    more expensive.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 20:25:23 2026
    From Newsgroup: comp.unix.shell

    On 16/03/2026 18:03, Richard Harnden wrote:
    On 16/03/2026 14:35, Richard Kettlewell wrote:
    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    It's amazing that the meteor missed the visitor centre in AZ ;)

    It's the Will Of God
    --
    "First, find out who are the people you can not criticise. They are your oppressors."
    - George Orwell

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 13:29:49 2026
    From Newsgroup: comp.unix.shell



    On 3/16/26 12:44, rbowman wrote:
    On Mon, 16 Mar 2026 05:11:30 -0400, c186282 wrote:


    I got into Linux back when RH/Slack/OSu came on 5-1/4 disks at the
    superstore. Don't think Python existed yet.
    If you wanted a 'script' then you did it in Bash or one of the
    others.

    Python predates Linux by a little although it was way behind Perl in popularity. Python 2 came out in 2000. Red Hat Linux not only included the infamous gcc 2.96 that couldn't compile the kernel and a Python version
    that broke existing scripts. As I've said, it took me 25 years to give
    Fedora a chance.

    Fortunately I skipped Py2 ... kept hearing Py3 was coming out and
    would be kind-of different. Why learn the 'wrong way' ?

    The Esri Desktop installation included Python 2, which they started to use
    as VBA faded away. ActiveState Python was also useful since it had Win32 extensions. I did have to do some rework for Python 3. It wasn't as bad
    as some of the other transitions like Angular.js to Angular. It didn't
    affect me but Visual Basic to VB.NET was a real mess.


    Config files CAN be good - or HELL. All kinds of weird, often
    poorly/non-documented stuff in them.
    The X system is a particular pain. I still remember trying to get
    original X in RH to see my monitor,
    KB and mouse ... took a couple days of fooling around, sometimes
    shooting in the dark. Was younger then however ...

    I don't have a problem with config files, either the old ini style or the newer xml or JSON types but I wasn't familiar with rxvt. I tweak xterm
    in .Xresources but in this case another config where most of the work is
    done is included in .Xresourcces like your MX. Hopefully the hack for the
    vim cursor in xterm also works.

    > DSL has gotten fatter since its reboot and is up to 900 MB which
    > still isn't bad in the time of 4 GB+ isos.
    My original DSL wasn't terrible, version 2 could sometimes get to
    20mbs. My 'new and improved'
    5G thingie almost never gets to 20mbs, 15 is about the top almost all
    the time, under 10 more common.

    DSL -- Damn Small Linux. I don't know anything about the other DSL. afaik
    it never made it past the city line and didn't even have total coverage in town.

    A man who administers our SF-LUG mailing list help put together
    Damned Small Linux. That is San Francisco Linux Users Group by the way.
    It was
    very handy in the days of CD drives because you could tuck it in a
    pocket from
    a 3.5 inch CD and run a computer sometimes fixing the base system. I never used it for that but others did. I used Knoppix on a 5.25 inch CD to remove
    a Windows password once or twice that was Knoppix 3.4 I believe. I got it
    with a laarge paperback Knoppix for Dummies or some such title at a
    Borders Book Store. In the early 2000s.

    Digital Subscriber Lines depend on proximaty to a Telephone exchange and
    I am fortunate enough to have picked an apartment before the Internet in the 1960s and 1970s about half a mile from the local exchange. I knew nothing abour computers then because they were big expensive room-sized devices that private citizens could not afford. Maybe we had so-called
    Mini-Computers no
    larger than a desk but I did not know much about them then.

    I learned that you could use them to write books from a famous SF author from a column in Analog SF magazine. He was using CPM which
    was not a cheap thing at the time. A friend of mine was building a computer
    in her bedroom and when I asked her how large a computer was needed
    to do word processing and she said 64 Kilobytes so that was CPM as well.
    When i surveyed the field of affordable in the 1980s I decided that the Commodore 64 was the best for me.
    From there eventually to the AmigaOS then on to Mandriva LInux in 2006.

    Best choices i ever made aside from those I do not discuss.
    bliss




    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 00:02:45 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-16, Bobbie Sellers <bliss-sf4ever@dslextreme.com> wrote:

    I learned that you could use them to write books from a famous SF author from a column in Analog SF magazine. He was using CPM which
    was not a cheap thing at the time.

    Sounds like Jerry Pournelle. His regular Byte column was fun to read,
    at least until it turned into an endless account of trying to get
    Windows boxes to work. He gave each of his computers a name; the
    IBM PC was called Lucy because he found that, like the Peanuts comic
    strip character, it was quite a fussbudget.
    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 00:24:09 2026
    From Newsgroup: comp.unix.shell

    On Mon, 16 Mar 2026 13:29:49 -0700, Bobbie Sellers wrote:

    I used Knoppix on a 5.25 inch CD to remove a Windows password once or
    twice that was Knoppix 3.4 I believe. I got it with a laarge paperback Knoppix for Dummies or some such title at a Borders Book Store. In the
    early 2000s.


    Knoppix is still around. Like Tails I don't think you can install it so I can't play with it is a VM.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 00:36:06 2026
    From Newsgroup: comp.unix.shell

    On Tue, 17 Mar 2026 00:02:45 GMT, Charlie Gibbs wrote:

    On 2026-03-16, Bobbie Sellers <bliss-sf4ever@dslextreme.com> wrote:

    I learned that you could use them to write books from a famous SF
    author from a column in Analog SF magazine. He was using CPM which was
    not a cheap thing at the time.

    Sounds like Jerry Pournelle. His regular Byte column was fun to read,
    at least until it turned into an endless account of trying to get
    Windows boxes to work. He gave each of his computers a name; the IBM PC
    was called Lucy because he found that, like the Peanuts comic strip character, it was quite a fussbudget.

    I miss him and I also miss the era when Byte was more hardware oriented
    with Ciacia's column. iirc he thought the sun rose on WordPerfect.

    Damn Small Linux includes quite a few lightweight applications, one of
    which is AbiWord. I don't have a use for a word processor but that one is
    more my speed than LibreOffice, OpenOffice, or OneOffice. I did use
    WordStar since it was bundled on a CP/M machine and was better that vi
    (the real Bill Joy vi).
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 22:38:02 2026
    From Newsgroup: comp.unix.shell



    On 3/16/26 17:24, rbowman wrote:
    On Mon, 16 Mar 2026 13:29:49 -0700, Bobbie Sellers wrote:

    I used Knoppix on a 5.25 inch CD to remove a Windows password once or
    twice that was Knoppix 3.4, I believe. I got it with a laarge paperback
    Knoppix for Dummies or some such title at a Borders Book Store. In the
    early 2000s.


    Knoppix is still around. Like Tails I don't think you can install it so I can't play with it is a VM.

    A Knoppix install gives you a Debian or used to do that. It is best as a Live DVD
    or a Flash Drive. Every so often I go to Knopper's site and make sure
    that I have the
    most current but not much new lately since he wrote his own
    initialization program to
    avoid systemd.

    I had a ot more energy before I turned 65 but since then 23 years I no longer
    install much, but my basic PCLinuxOS keeps me busy.

    bliss- Dell Precision 7730- PCLOS 2026.03- Linux 6.12.76 pclos1- KDE
    Plasma 6.6.2
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 01:57:45 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 10:21, The Natural Philosopher wrote:
    On 16/03/2026 13:52, c186282 wrote:
    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is
    'survival of
    anything not too screwed up to live.'-a The x86 architecture wasn't the >>>> best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.

    -a-a 50 million years of dinosaurs !


    I stand corrected...

    -a-a It IS odd how all but the birdy side of the
    -a-a entire line disappeared so completely. Hey,
    -a-a maybe it was space alien 'big game hunters' !


    They fell through cracks in reality that the birds flew over?

    Probably something LIKE that ... the birdies could
    fly all over looking for bits to eat. The landlubbers
    couldn't.

    Still ... random chance ... you'd expect a bit more
    of SUCH a prolific biological branch to persist.
    Reptiles/amphibians/mammals sure did. Something kinda
    weird about that.

    Alas, 50 million years and NO pyramids or tablets
    inscribed with Saurian wisdom ... and yea, higher
    tech societies leave a huge chem/artifact signature
    that WOULD last 65 million years. Ain't found it.

    It appears that 'intelligence' is NOT very much
    selected for. Big nasty pointy teeth, yea.

    Now if the dinos just had Linux ..... :-)

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 02:05:40 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 10:35, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    On 16/03/2026 13:52, c186282 wrote:
    On 3/16/26 09:06, The Natural Philosopher wrote:
    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is
    'survival of anything not too screwed up to live.'-a The x86
    architecture wasn't the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.
    -a 50 million years of dinosaurs !

    I stand corrected...

    Nearer 168M years!

    Depends on def of 'dinosaur'. There were 'family'
    going back that far ... but the ones WE usually
    think of were of later origin - Jurassic/Triassic.

    Anyway - no cities, no pyramids, no tablets, no
    industrial waste ... 168 million years of NO GAIN.

    "Intelligence" is SERIOUSLY ABNORMAL in the DarwinVerse.

    -a It IS odd how all but the birdy side of the
    -a entire line disappeared so completely. Hey,
    -a maybe it was space alien 'big game hunters' !

    They fell through cracks in reality that the birds flew over?

    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    But ALL the Dinos went out - SUCH a numerous/diverse
    base. Big ones, medium ones, little ones ... ALL gone.
    Reptiles survived. Amphibians survived. Mammals survived.
    Crabs and octopi too.

    So, what's up here ???

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 02:08:20 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 11:21, John Ames wrote:
    On 14 Mar 2026 02:35:23 GMT
    rbowman <bowman@montana.com> wrote:

    We had a programmer who loved PHP (Personal Home Page). I dipped into
    the code a couple of times trying to do minor fixes and it wasn't
    pretty.

    Definitely would not class it as one of my favorite languages (and I've
    heard tell that it was even jankier in the Bad Old Days,) but for
    simple HTML preprocessor duties it does the job well enough. If I were
    trying to build any kind of large-scale Web application I'd probably be
    more inclined to think about my options and choice of tooling.

    PHP is perfectly good and suited for adding IQ to
    web apps. Don't knock it.

    And it's not THAT hard to program ... closer to 'C'
    in philosophy and structure. Did a lot of it and
    will again as-needed.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 02:10:10 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 14:03, Richard Harnden wrote:
    On 16/03/2026 14:35, Richard Kettlewell wrote:
    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    It's amazing that the meteor missed the visitor centre in AZ ;)

    Continental drift :-)

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 02:59:35 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 15:49, rbowman wrote:
    On Mon, 16 Mar 2026 13:06:43 +0000, The Natural Philosopher wrote:

    On 15/03/2026 20:44, rbowman wrote:
    In a larger view I think 'survival of the fittest' really is 'survival
    of anything not too screwed up to live.' The x86 architecture wasn't
    the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.

    When I lived in New Hampshire there was a place in one of the bays where I could catch horseshoe crabs by hand. It was strictly catch and release; I only wanted to look at an extremely successful design up close.

    https://en.wikipedia.org/wiki/Horseshoe_crab

    They ARE one of the most successful evolutionary
    products. Ugly, but ultra-functional.

    By VOLUME though, look at ants and things like
    clams/shellfish some insects and especially bacteria.

    Frankly, if a space alien probe zooms by Earth, it
    will report "Entirely single-celled life with just
    a tiny smattering of multi-cellular forms".

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 03:18:35 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 20:36, rbowman wrote:
    On Tue, 17 Mar 2026 00:02:45 GMT, Charlie Gibbs wrote:

    On 2026-03-16, Bobbie Sellers <bliss-sf4ever@dslextreme.com> wrote:

    I learned that you could use them to write books from a famous SF
    author from a column in Analog SF magazine. He was using CPM which was
    not a cheap thing at the time.

    Sounds like Jerry Pournelle. His regular Byte column was fun to read,
    at least until it turned into an endless account of trying to get
    Windows boxes to work. He gave each of his computers a name; the IBM PC
    was called Lucy because he found that, like the Peanuts comic strip
    character, it was quite a fussbudget.

    I miss him and I also miss the era when Byte was more hardware oriented
    with Ciacia's column. iirc he thought the sun rose on WordPerfect.

    I kept buying Circuit Cellar mag until the very end.

    You can find all the old Byte mags online ... though
    the reader isn't especially friendly.

    Damn Small Linux includes quite a few lightweight applications, one of
    which is AbiWord. I don't have a use for a word processor but that one is more my speed than LibreOffice, OpenOffice, or OneOffice. I did use
    WordStar since it was bundled on a CP/M machine and was better that vi
    (the real Bill Joy vi).

    DSL is a good idea - right to the point without all
    the gloss and BS. Slitaz is kind of in the same zone,
    but it's a bit of a challenge to permanently install
    it these days.

    WordStar and close clones WERE good. Again, simple and
    to the point. 99.999% of the time you don't NEED a
    damned typesetting app.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 18:38:17 2026
    From Newsgroup: comp.unix.shell

    On Sat, 14 Mar 2026 02:35:05 -0400, c186282 wrote:

    Correct - do NOT piss on PHP. It was made for a particular, valuable,
    niche purpose and still serves that well and simply.

    It does but it isn't useful for most of the browser based maps I did. For work I used the Esri Javascript API but Leaflet is a popular open source.

    https://leafletjs.com/

    You serve up the original page, but as you pan the map the client side is making many calls to a tile server to get the png pieces for the base map.

    https://tile.openstreetmap.org/13/4090/2724.png

    is an example. In Brave and Firefox <Ctrl><Shift><I> will bring up the developer tools panel. Select the network tab and you'll see all the
    calls.

    That would be difficult if not impossible to do server side. Back in the
    day I used FastCGI and C.

    https://en.wikipedia.org/wiki/FastCGI

    I knew C and PHP wasn't very attractive. I understand it has improved. I didn't do any web stuff for ten or twelve years when I was tasked with developing a web map to replace a standalone that was locked to Visual C++ 6.0. By then Javascript was the way to go for both the front and back
    ends.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 18:58:50 2026
    From Newsgroup: comp.unix.shell

    On Sat, 14 Mar 2026 15:28:42 +0100, Janis Papanagnou wrote:

    This is plain wrong! (I have to suppose that you haven't learned CS if
    you are uttering such nonsense. - Or else; where have you learned "your
    CS"?) You have obviously no idea about its topics. - Jesus! It's really
    been a very very long time that I've heard such utter nonsense spread!

    The local university calls it Computer Science/Programming (CSCI).

    https://catalog.umt.edu/courses/csci/

    I may not have been interviewing the cream of the crop but my impression
    of recent graduates wasn't very good. In all fairness UM isn't
    technically oriented. The forestry department does turn out pretty good
    GIS people though.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 19:07:28 2026
    From Newsgroup: comp.unix.shell

    On Sat, 14 Mar 2026 12:49:25 +0000, The Natural Philosopher wrote:

    PHP is a bit quicker than C. And making e.g. Apache use PHP is a well documented piece of cake. Making it run C is a lot more effort.

    I don't know what the current status is but at one time Apache/FastCGI
    using C was a reasonable approach. Anything I've done in the last 10 years uses node/express on the backend. Deno and bun are challenging node but I don't see an advantage at this point. Neither are particularly stable.



    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 22:34:52 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-14, Janis Papanagnou wrote:

    On 2026-03-14 12:07, Nuno Silva wrote:


    The more general problem is that there's so much stuff about shell
    programming on the web but most of it is sadly of very bad quality.

    It's exactly a paragon for the said many sources of bad quality.

    I liked the detail near the end where it's apparently *echo* that gets
    rid of the whitespace in the argument, and not the shell's word
    splitting.

    I'm not sure what specific part you have in mind. - Close to the
    end I see for example

    echo zfs destroy \"$snap\"

    A form with escapes that I'd never had written that way.

    In the section before that, I think.

    It's the last paragraph before the code block(s) before the heading
    "Putting it all together":

    -2One last note: echo itself will mangle leading spaces, so if you
    just echo $x instead of echo "$x" (note the quotation marks), yourCOll
    see stripped leading and trailing spaces, even though the content of
    the variable itself isnrCOt stripped. This is the very devil to figure
    out if you donrCOt already know whatrCOs going on!-+
    --
    Nuno Silva
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sat Mar 14 22:14:50 2026
    From Newsgroup: comp.unix.shell

    On 3/14/26 18:34, Nuno Silva wrote:
    On 2026-03-14, Janis Papanagnou wrote:

    On 2026-03-14 12:07, Nuno Silva wrote:


    The more general problem is that there's so much stuff about shell
    programming on the web but most of it is sadly of very bad quality.

    It's exactly a paragon for the said many sources of bad quality.

    I liked the detail near the end where it's apparently *echo* that gets
    rid of the whitespace in the argument, and not the shell's word
    splitting.

    I'm not sure what specific part you have in mind. - Close to the
    end I see for example

    echo zfs destroy \"$snap\"

    A form with escapes that I'd never had written that way.

    In the section before that, I think.

    It's the last paragraph before the code block(s) before the heading
    "Putting it all together":

    -2One last note: echo itself will mangle leading spaces, so if you
    just echo $x instead of echo "$x" (note the quotation marks), yourCOll
    see stripped leading and trailing spaces, even though the content of
    the variable itself isnrCOt stripped. This is the very devil to figure
    out if you donrCOt already know whatrCOs going on!-+

    Unless this is a 'self-ed' project, just use Python.

    Copy/Paste stuff from online BASH examples for small
    needs.

    I've done kinda long Bash scripts in the past, but
    can't rec doing so today.

    C-Shell is maybe a little more interesting, as it
    kinda-sorta has a 'C' look and feel. Indeed it
    is one of the things that first attracted me to
    the Unix/Linux world.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From ram@ram@zedat.fu-berlin.de (Stefan Ram) to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 02:20:49 2026
    From Newsgroup: comp.unix.shell

    Nuno Silva <nunojsilva@invalid.invalid> wrote or quoted:
    -2One last note: echo itself will mangle leading spaces,

    When you input "echo $x", the shell substitutes "$x" by the value of
    x with leading and trailing spaces stripped. The shell, not echo!


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 04:55:33 2026
    From Newsgroup: comp.unix.shell

    On Sat, 14 Mar 2026 22:14:50 -0400, c186282 wrote:

    C-Shell is maybe a little more interesting, as it kinda-sorta has a
    'C' look and feel. Indeed it is one of the things that first
    attracted me to the Unix/Linux world.

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 04:01:10 2026
    From Newsgroup: comp.unix.shell

    On 3/15/26 00:55, rbowman wrote:
    On Sat, 14 Mar 2026 22:14:50 -0400, c186282 wrote:

    C-Shell is maybe a little more interesting, as it kinda-sorta has a
    'C' look and feel. Indeed it is one of the things that first
    attracted me to the Unix/Linux world.

    My preference was tcsh, but in the early '90s bash conquered the Linux domain.

    It did.

    But that doesn't make it "best" :-)

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Nuno Silva@nunojsilva@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 08:08:42 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-15, Stefan Ram wrote:

    Nuno Silva <nunojsilva@invalid.invalid> wrote or quoted:
    -2One last note: echo itself will mangle leading spaces,

    When you input "echo $x", the shell substitutes "$x" by the value of
    x with leading and trailing spaces stripped. The shell, not echo!

    Indeed. Sounds like the kind of thing to explain properly in a
    tutorial. The actual explanation might actually be less complex or
    confusing (or surprising) than this.
    --
    Nuno Silva
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 12:30:16 2026
    From Newsgroup: comp.unix.shell

    In article <oaGcnU0J4P_H-iv0nZ2dnZfqn_adnZ2d@giganews.com>,
    c186282 <c186282@nnada.net> wrote:
    On 3/15/26 00:55, rbowman wrote:
    On Sat, 14 Mar 2026 22:14:50 -0400, c186282 wrote:

    C-Shell is maybe a little more interesting, as it kinda-sorta has a
    'C' look and feel. Indeed it is one of the things that first
    attracted me to the Unix/Linux world.

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.

    It did.

    But that doesn't make it "best" :-)

    Actually, it does. But being "the best" doesn't mean it is any good.

    And, the thing is, this last applies to a lot of things in life. People
    will say "Our system is the best" and they are right, only because, unfortunately, no one has yet found anything better. But that doesn't mean that system is any good, and, in fact, often it is really lousy.

    Disclaimer: I actually think bash is a pretty good and useful tool/shell/language, but it does have a lot of, um, er, quirks.
    --
    I'll give him credit for one thing: He is (& will be) the most quotable President
    ever. Books have been written about (GW) Bushisms, but Dubya's got nothing on Trump.

    Tremendously wet - from the standpoint of water.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 12:38:06 2026
    From Newsgroup: comp.unix.shell

    On 15/03/2026 08:01, c186282 wrote:
    On 3/15/26 00:55, rbowman wrote:

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.

    -a It did.

    -a But that doesn't make it "best"-a :-)


    Ah, that's deep philosophy.

    Survival not of the best and fittest, but just the ones that happened to
    be in the right place at the right time...
    --
    Climate is what you expect but weather is what you get.
    Mark Twain

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 12:39:51 2026
    From Newsgroup: comp.unix.shell

    On 15/03/2026 12:30, Kenny McCormack wrote:
    But that doesn't make it "best" EfOe
    Actually, it does. But being "the best" doesn't mean it is any good.

    And, the thing is, this last applies to a lot of things in life. People
    will say "Our system is the best" and they are right, only because, unfortunately, no one has yet found anything better. But that doesn't mean that system is any good, and, in fact, often it is really lousy.

    Indeed.

    What survives the vagaries of Existencerao is...that which survives the vagaries of existence...so far, anyway.
    --
    Climate is what you expect but weather is what you get.
    Mark Twain

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 12:39:56 2026
    From Newsgroup: comp.unix.shell

    In article <10p5peb$uf3i$1@dont-email.me>,
    Nuno Silva <nunojsilva@invalid.invalid> wrote:
    On 2026-03-15, Stefan Ram wrote:

    Nuno Silva <nunojsilva@invalid.invalid> wrote or quoted:
    One last note: echo itself will mangle leading spaces,

    When you input "echo $x", the shell substitutes "$x" by the value of
    x with leading and trailing spaces stripped. The shell, not echo!

    Indeed. Sounds like the kind of thing to explain properly in a
    tutorial. The actual explanation might actually be less complex or
    confusing (or surprising) than this.

    The funny thing is that even though the explanation is wrong on technical grounds, on many levels (which I won't enumerate here), the fact is that *functionally*, it is actually OK. I.e., if a low level programmer is
    looking for a way to print out a string with leading and trailing spaces removed, this is one (not very good, but let's not get into that) way to do
    it.

    I think that that's the bar that a lot of these "tutorials" are aiming for.
    --
    To be evangelical is to spend every waking moment hovering around
    two emotional states: fear and rage. Evangelicals are seriously the
    angriest and most vicious bunch of self-pitying, constantly-moaning
    whinybutts I've ever encountered.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 20:44:37 2026
    From Newsgroup: comp.unix.shell

    On Sun, 15 Mar 2026 04:01:10 -0400, c186282 wrote:

    On 3/15/26 00:55, rbowman wrote:
    On Sat, 14 Mar 2026 22:14:50 -0400, c186282 wrote:

    C-Shell is maybe a little more interesting, as it kinda-sorta has
    a 'C' look and feel. Indeed it is one of the things that first
    attracted me to the Unix/Linux world.

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.

    It did.

    But that doesn't make it "best" :-)

    In a larger view I think 'survival of the fittest' really is 'survival of anything not too screwed up to live.' The x86 architecture wasn't the
    best either, but here we are.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 20:45:55 2026
    From Newsgroup: comp.unix.shell

    On Sun, 15 Mar 2026 12:30:16 -0000 (UTC), Kenny McCormack wrote:

    Disclaimer: I actually think bash is a pretty good and useful tool/shell/language, but it does have a lot of, um, er, quirks.

    The biggest thing I hit was my tcsh aliases had to be converted to
    functions.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 20:47:54 2026
    From Newsgroup: comp.unix.shell

    On Sun, 15 Mar 2026 12:38:06 +0000, The Natural Philosopher wrote:

    On 15/03/2026 08:01, c186282 wrote:
    On 3/15/26 00:55, rbowman wrote:

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.

    -a It did.

    -a But that doesn't make it "best"-a :-)


    Ah, that's deep philosophy.

    Survival not of the best and fittest, but just the ones that happened to
    be in the right place at the right time...

    Then the not so best and fittest coddle their own.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 23:20:30 2026
    From Newsgroup: comp.unix.shell

    In article <n1ok43FkshvU8@mid.individual.net>,
    rbowman <bowman@montana.com> wrote:
    On Sun, 15 Mar 2026 12:30:16 -0000 (UTC), Kenny McCormack wrote:

    Disclaimer: I actually think bash is a pretty good and useful
    tool/shell/language, but it does have a lot of, um, er, quirks.

    The biggest thing I hit was my tcsh aliases had to be converted to >functions.

    Yeah, aliases in bash are a real foo-up, because they can't (meaningfully)
    take parameters. It would have been better (IMHO) not to have had them in
    the language at all. Note that the syntax for accessing alias parameters
    in [t]csh is totally weird, but it does work.

    (This next comment is left general/non-specific; there's a lot I could say
    in the way of details/examples, but I haven't the inclination at the moment
    to do so)
    The implementation of arrays, and specifically associative arrays, is full
    of gotchas. It does all work, but it feels like a landmine. Lots of "pitfalls".

    Mind you, I am not singling bash out; I understand the reasons why it is
    the way it is, and it is still my scripting language of choice. But I find
    it annoying when I hit a landmine...
    --
    "You can safely assume that you have created God in your own image when
    it turns out that God hates all the same people you do." -- Anne Lamott

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 02:03:31 2026
    From Newsgroup: comp.unix.shell

    On Sun, 15 Mar 2026 23:20:30 -0000 (UTC), Kenny McCormack wrote:

    Yeah, aliases in bash are a real foo-up, because they can't
    (meaningfully)
    take parameters. It would have been better (IMHO) not to have had them
    in the language at all. Note that the syntax for accessing alias
    parameters in [t]csh is totally weird, but it does work.

    Not that weird in the context of sed, awk, Perl, and so forth.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 02:41:32 2026
    From Newsgroup: comp.unix.shell

    In article <n1p6njFnv3tU3@mid.individual.net>,
    rbowman <bowman@montana.com> wrote:
    On Sun, 15 Mar 2026 23:20:30 -0000 (UTC), Kenny McCormack wrote:

    Yeah, aliases in bash are a real foo-up, because they can't
    (meaningfully)
    take parameters. It would have been better (IMHO) not to have had them
    in the language at all. Note that the syntax for accessing alias
    parameters in [t]csh is totally weird, but it does work.

    Not that weird in the context of sed, awk, Perl, and so forth.

    I think you are implying that the args would be accessed as $1, $2, etc, as
    is the case in (Bourne-ish) shells and AWK (and others...).

    But that's not how it works in csh/tcsh. The args to an alias are accessed
    via a weird syntax like \!:2 for the second arg.
    --
    In politics and in life, ignorance is not a virtue.
    -- Barack Obama --
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Sun Mar 15 23:36:31 2026
    From Newsgroup: comp.unix.shell

    On 3/15/26 16:44, rbowman wrote:
    On Sun, 15 Mar 2026 04:01:10 -0400, c186282 wrote:

    On 3/15/26 00:55, rbowman wrote:
    On Sat, 14 Mar 2026 22:14:50 -0400, c186282 wrote:

    C-Shell is maybe a little more interesting, as it kinda-sorta has >>>> a 'C' look and feel. Indeed it is one of the things that first
    attracted me to the Unix/Linux world.

    My preference was tcsh, but in the early '90s bash conquered the Linux
    domain.

    It did.

    But that doesn't make it "best" :-)

    In a larger view I think 'survival of the fittest' really is 'survival of anything not too screwed up to live.' The x86 architecture wasn't the
    best either, but here we are.

    Sometimes it's "fittest", sometimes just because
    whatever is the Neato New Popular Thing and just
    becomes entrenched.

    Bash is just fine for what it was intended to be,
    more or less as good as the other shells. CSH/TCSH
    do have the advantage or their 'C'- like look and
    feel, which might make it easier for other-world
    'C' programmers to feel at home with. ZSH has some
    plusses too.

    I know there are a few in these groups who feel that
    writing a 3000 line Bash script is the preferable
    way to do almost anything in -IX ... but, come ON now !
    Bash has been added to and added to - each time using
    weirder syntactic tricks to squeeze in added functionality.
    Unless you commit a LOT of time to becoming a Bash guru,
    well ...

    Biggest thing I ever wrote in Bash was a version of
    my company backup plan, about 600 active lines. However
    the job was kind of 'modular' so I could copy and slightly
    tweak the backup sections above. It worked fine, but
    was very annoying to mod. Went back to a Python,
    then Pascal, version.

    As for CPUs ... I still think the 68000 was the 'most
    beautiful'. I did see some articles saying how upgrade
    to the more modern multi-core+ shit would have required
    a seriously major redesign. All you'd have was a kinda
    fake version, using the familiar op-codes. IBM ensured
    the '86 chips would be more popular, so Motorola decided
    it wasn't worth the money to seriously redesign.

    Maybe this is one of those cases were "more popular"
    translated into an undeserved "best" ? Paradise lost.

    Today the best 'shell' lang is Python, hands down.
    Hell, even M$ started sneaking in Python stuff WAY,
    back ... Vista at least, maybe even XP (been too
    long to remember).

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 05:48:51 2026
    From Newsgroup: comp.unix.shell

    On Sun, 15 Mar 2026 23:36:31 -0400, c186282 wrote:

    Biggest thing I ever wrote in Bash was a version of my company backup
    plan, about 600 active lines. However the job was kind of 'modular'
    so I could copy and slightly tweak the backup sections above. It
    worked fine, but was very annoying to mod. Went back to a Python,
    then Pascal, version.

    All I've ever done w.r.t bash is tweaks to .bashrc. By the time I
    reluctantly moved to bash I was already using Python for most tasks.
    Didn't need to learn a new shell.

    I stumble into enough unwanted learning experiences. I install Damn Small Linux in a VM on the Fedora box. No problem. The terminal is URxvt and the damn thing was semi-transparent. .Xresources includes a file down
    the .config rathole that had transparent set to false. However there's
    also a 'shade' that was set to 50 which apparently means half-transparent.
    0 did the trick. It also gives you a choice of Fluxbox or JWM.

    DSL has gotten fatter since its reboot and is up to 900 MB which still
    isn't bad in the time of 4 GB+ isos.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Mon Mar 16 05:11:30 2026
    From Newsgroup: comp.unix.shell

    On 3/16/26 01:48, rbowman wrote:
    On Sun, 15 Mar 2026 23:36:31 -0400, c186282 wrote:

    Biggest thing I ever wrote in Bash was a version of my company
    backup
    plan, about 600 active lines. However the job was kind of 'modular'
    so I could copy and slightly tweak the backup sections above. It
    worked fine, but was very annoying to mod. Went back to a Python,
    then Pascal, version.

    All I've ever done w.r.t bash is tweaks to .bashrc. By the time I reluctantly moved to bash I was already using Python for most tasks.
    Didn't need to learn a new shell.

    Worked out well for you !

    I got into Linux back when RH/Slack/OSu came on 5-1/4
    disks at the superstore. Don't think Python existed yet.
    If you wanted a 'script' then you did it in Bash or
    one of the others.

    Fortunately I skipped Py2 ... kept hearing Py3 was
    coming out and would be kind-of different. Why learn
    the 'wrong way' ?

    I stumble into enough unwanted learning experiences. I install Damn Small Linux in a VM on the Fedora box. No problem. The terminal is URxvt
    and the
    damn thing was semi-transparent. .Xresources includes a file down
    the .config rathole that had transparent set to false. However there's
    also a 'shade' that was set to 50 which apparently means
    half-transparent.
    0 did the trick. It also gives you a choice of Fluxbox or JWM.
    I always use LXDE or XFCE ... and both use LightDM.
    Makes it easy to do auto-login on work boxes and
    you can set SOME video junk in there. The options,
    mostly commented out, DO come with a good one-liner
    doc that explains each one. Of course X lies below,
    like a shark.

    Config files CAN be good - or HELL. All kinds of
    weird, often poorly/non-documented stuff in them.
    The X system is a particular pain. I still remember
    trying to get original X in RH to see my monitor,
    KB and mouse ... took a couple days of fooling
    around, sometimes shooting in the dark. Was younger
    then however ...

    Several years back I installed MX on a laptop - and
    the screen was nearly black. There was no GUI gadget
    for it. Most of the advice said to set one thing, but
    it got reset on every reboot. FINALLY found an
    obscure undocumented line WAY deep down in the files,
    a config imported by another config. Just hateful.

    In theory it IS still better than the M$ "We know
    what's best for you" approach.


    DSL has gotten fatter since its reboot and is up to 900 MB which still
    isn't bad in the time of 4 GB+ isos.
    My original DSL wasn't terrible, version 2 could
    sometimes get to 20mbs. My 'new and improved'
    5G thingie almost never gets to 20mbs, 15 is about
    the top almost all the time, under 10 more common.

    On the other hand it IS cheaper, and since I don't
    stream 8k movies.

    Right NOW ... fast.com sez I get 8.0mbs, 11 with the
    re-test. Wow, 33 on a later re-test !!! That won't
    last. Got used to gigabit at ye olde office alas,
    download three distros at the same time and they'd
    be done before you could hit the head ... :-)


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 13:33:25 2026
    From Newsgroup: comp.unix.shell

    On 19/03/2026 03:30, c186282 wrote:
    OTOH, CNC-style machines for milling/printing
    -a circuit boards HAVE become much cheaper. Not
    -a as clean as a Weller soldering iron, but they
    -a maybe CAN get it done in some cases.

    -a My old employer ... betcha they still have all
    -a my corrosive stuff for etching circuit boards
    -a in the box marked "toxic/hazardous" in the
    -a back room somewhere .....

    I bought a kit to make some boards. It didn't work. It was about $40.

    I sent some drawings to china and got back perfect boards in 10 days.
    Cost was about $25. Back in the day a prototype set of boards would be
    several hundred dollars - thousands in today;s money

    One can even get surface mount stuff assembled!
    --
    ThererCOs a mighty big difference between good, sound reasons and reasons
    that sound good.

    Burton Hillis (William Vaughn, American columnist)

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 13:33:53 2026
    From Newsgroup: comp.unix.shell

    On 19/03/2026 05:36, rbowman wrote:
    On Wed, 18 Mar 2026 23:30:29 -0400, c186282 wrote:

    My old employer ... betcha they still have all my corrosive stuff for
    etching circuit boards in the box marked "toxic/hazardous" in the
    back room somewhere .....

    Ferrous oxide? Stuff is evil.

    Ferric chloride.
    --
    rCLIt is hard to imagine a more stupid decision or more dangerous way of making decisions than by putting those decisions in the hands of people
    who pay no price for being wrong.rCY

    Thomas Sowell

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 18:18:44 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-19, c186282 <c186282@nnada.net> wrote:

    LOVED the early 20th tax forms ... "How much
    did you make this year ? See chart. Pay the
    indicated amount" ... half a page ... no
    bullshit, no deductions, no games.

    Oh, like the Canadian version:

    1. How much money did you make?
    2. Send it in!
    3. Add 7% GST.
    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 19:16:43 2026
    From Newsgroup: comp.unix.shell

    On Thu, 19 Mar 2026 03:59:20 -0400, c186282 wrote:

    Actually it's a concentrated ferrous chloride solution with a little
    hydrochloric acid added.

    Brain spasm. Rust wouldn't do much. I didn't add the HCL.
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 20:34:50 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-19 20:16, rbowman wrote:
    On Thu, 19 Mar 2026 03:59:20 -0400, c186282 wrote:

    Actually it's a concentrated ferrous chloride solution with a little
    hydrochloric acid added.

    Brain spasm. Rust wouldn't do much. I didn't add the HCL.

    If I wouldn't know better the keyword "Rust" could make us hope that
    the thread has finally found its way back to a topical post about
    shell or Linux. Alas, with HCl mentioned you're still speaking about
    physical corrosion, I suppose. - Or is that all-caps "HCL" rather an abbreviation for some Hypervised Command Language?

    Janis

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Fri Mar 20 02:45:49 2026
    From Newsgroup: comp.unix.shell

    On 3/19/26 15:16, rbowman wrote:
    On Thu, 19 Mar 2026 03:59:20 -0400, c186282 wrote:

    Actually it's a concentrated ferrous chloride solution with a little
    hydrochloric acid added.

    Brain spasm. Rust wouldn't do much. I didn't add the HCL.

    Actually, my mistake, it's FERRIC chloride with
    a dash of HCL.

    Dissolves the shit out of copper ... and aluminum
    and probably several other metals.

    Anyway, you can still get the coated boards
    and the etchant pretty cheap. Works. Did a
    lot of boards that way.

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Fri Mar 20 03:23:38 2026
    From Newsgroup: comp.unix.shell

    On 3/19/26 15:34, Janis Papanagnou wrote:
    On 2026-03-19 20:16, rbowman wrote:
    On Thu, 19 Mar 2026 03:59:20 -0400, c186282 wrote:

    -a-a-a Actually it's a concentrated ferrous chloride solution with a little >>> -a-a-a hydrochloric acid added.

    Brain spasm. Rust wouldn't do much. I didn't add the HCL.

    If I wouldn't know better the keyword "Rust" could make us hope that
    the thread has finally found its way back to a topical post about
    shell or Linux. Alas, with HCl mentioned you're still speaking about
    physical corrosion, I suppose. - Or is that all-caps "HCL" rather an abbreviation for some Hypervised Command Language?

    Computers run on electronics - and this is
    an 'electronics' sub-topic.

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Janis Papanagnou@janis_papanagnou+ng@hotmail.com to comp.unix.shell,comp.os.linux.misc on Fri Mar 20 12:28:06 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-20 08:23, c186282 wrote:
    On 3/19/26 15:34, Janis Papanagnou wrote:
    On 2026-03-19 20:16, rbowman wrote:
    On Thu, 19 Mar 2026 03:59:20 -0400, c186282 wrote:

    -a-a-a Actually it's a concentrated ferrous chloride solution with a
    little
    -a-a-a hydrochloric acid added.

    Brain spasm. Rust wouldn't do much. I didn't add the HCL.

    If I wouldn't know better the keyword "Rust" could make us hope that
    the thread has finally found its way back to a topical post about
    shell or Linux. Alas, with HCl mentioned you're still speaking about
    physical corrosion, I suppose. - Or is that all-caps "HCL" rather an
    abbreviation for some Hypervised Command Language?

    -a Computers run on electronics - and this is
    -a an 'electronics' sub-topic.

    A bit far fetched; shells and Linux OS - which are the topical areas! -
    run on computers, and then computers are built usually on electronics,
    and electronics imply printed circuit board, and printed circuit board
    are created by chemical processes, and the used substances are A and B.

    This all has nothing to do with shells or Linux.

    But that said; you completely missed the humorous intention of my post
    in the first place.

    Have fun!

    Janis

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 18:13:17 2026
    From Newsgroup: comp.unix.shell

    On Tue, 17 Mar 2026 03:18:35 -0400, c186282 wrote:


    I kept buying Circuit Cellar mag until the very end.

    What end?

    https://circuitcellar.com/

    I let my subscription lapse but should pick it up again. I had a big stack
    of back issues and figured I'd get around to them when I retired. Most of
    the stuff is history now, PIC vs. AVR and so forth.
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.unix.shell,comp.os.linux.misc on Tue Mar 17 19:35:23 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-17, c186282 <c186282@nnada.net> wrote:

    On 3/16/26 10:35, Richard Kettlewell wrote:

    The Natural Philosopher <tnp@invalid.invalid> writes:

    On 16/03/2026 13:52, c186282 wrote:

    On 3/16/26 09:06, The Natural Philosopher wrote:

    On 15/03/2026 20:44, rbowman wrote:

    In a larger view I think 'survival of the fittest' really is
    'survival of anything not too screwed up to live.'-a The x86
    architecture wasn't the best either, but here we are.

    Yes. The world is comprised of things that haven't become extinct
    (yet)...

    A million years of dinosaurs and now just jackdaws.
    -a 50 million years of dinosaurs !

    I stand corrected...

    Nearer 168M years!

    Depends on def of 'dinosaur'. There were 'family'
    going back that far ... but the ones WE usually
    think of were of later origin - Jurassic/Triassic.

    Anyway - no cities, no pyramids, no tablets, no
    industrial waste ... 168 million years of NO GAIN.

    "Intelligence" is SERIOUSLY ABNORMAL in the DarwinVerse.

    -a It IS odd how all but the birdy side of the
    -a entire line disappeared so completely. Hey,
    -a maybe it was space alien 'big game hunters' !

    They fell through cracks in reality that the birds flew over?

    I gather than most of the birds and rather a lot of mammals went exinct
    too. A 10km asteroid will really mess a planet up.

    But ALL the Dinos went out - SUCH a numerous/diverse
    base. Big ones, medium ones, little ones ... ALL gone.
    Reptiles survived. Amphibians survived. Mammals survived.
    Crabs and octopi too.

    So, what's up here ???

    https://www.youtube.com/watch?v=KHMZ5qWBxr0

    (I saw these guys af a folk festival once. Good fun.)
    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Wed Mar 18 03:00:08 2026
    From Newsgroup: comp.unix.shell

    On 3/17/26 14:13, rbowman wrote:
    On Tue, 17 Mar 2026 03:18:35 -0400, c186282 wrote:


    I kept buying Circuit Cellar mag until the very end.

    What end?

    https://circuitcellar.com/

    I let my subscription lapse but should pick it up again. I had a big stack
    of back issues and figured I'd get around to them when I retired. Most of
    the stuff is history now, PIC vs. AVR and so forth.

    Well, "The End" was when Steve bowed-out - and
    I think there was a slight break in publication.
    SOMEWHERE I have the 'farewell' mag in the pile.

    Alas, 'the tech' has become much different now.
    Steve always said his favorite programming
    language was 'solder'. Today the tech is two
    or three levels more complex, all ICs. With
    the ultra-shrinking of chips now Normal Humans
    can't even do-it-yourself. 3mm thru-hole is
    about the practical limit even for younger
    eyes and hands (did a bunch of those, Dremel
    drill-press and micro-bits and pointy irons).

    Oh, circuitcellar.com ... the front page seems to
    be little but ads for various semiconductor corps
    and the 'home' page mostly "news" rather than mostly
    of 'how-to' stuff. Is SOME how-too ... using a Pico
    to watchdog local wifi. Of course ANY active box can
    do that easily with a few lines of Bash ... don't
    need a Pico. All of my boxes send simple stats every
    10 minutes as-is.

    Right now I have five 'active boxes' ... three
    BMax/Beelink jobbies and two PIs mostly dedicated
    to special needs that run 24/7.

    Just got in a Pi3 ... and Day/Nite IR cam. This
    will go into a weatherproof box. Pi3 because
    they can handle at least one cam and 'motion'
    while running cool enough so they don't need
    fans or major vent. 4's/5's run too hot for
    a small sealed plastic box.

    Still have one blind spot on my property, this
    Pi3 unit should fix that.

    Commercial IP cam ? How BORING ! :-)

    Anyway, won't subscribe to CC now. Not nearly
    as useful as it was.


    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Wed Mar 18 18:19:57 2026
    From Newsgroup: comp.unix.shell

    On Wed, 18 Mar 2026 03:00:08 -0400, c186282 wrote:

    Alas, 'the tech' has become much different now.
    Steve always said his favorite programming language was 'solder'.
    Today the tech is two or three levels more complex, all ICs. With the
    ultra-shrinking of chips now Normal Humans can't even do-it-yourself.
    3mm thru-hole is about the practical limit even for younger eyes and
    hands (did a bunch of those, Dremel drill-press and micro-bits and
    pointy irons).

    Soldering the headers on boards like the Pico if I screw up and order the headerless version is about the limit of my soldering abilities any more.
    Even for that I use a magnifier. I never even tried surface mount.
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.unix.shell,comp.os.linux.misc on Wed Mar 18 18:29:34 2026
    From Newsgroup: comp.unix.shell

    On 18/03/2026 18:19, rbowman wrote:
    On Wed, 18 Mar 2026 03:00:08 -0400, c186282 wrote:

    Alas, 'the tech' has become much different now.
    Steve always said his favorite programming language was 'solder'.
    Today the tech is two or three levels more complex, all ICs. With the
    ultra-shrinking of chips now Normal Humans can't even do-it-yourself.
    3mm thru-hole is about the practical limit even for younger eyes and
    hands (did a bunch of those, Dremel drill-press and micro-bits and
    pointy irons).

    Soldering the headers on boards like the Pico if I screw up and order the headerless version is about the limit of my soldering abilities any more. Even for that I use a magnifier. I never even tried surface mount.

    That's about where I stand too. 0.1" pitch I can just about handle

    Solder paste, solder balls and hot air is above my pay grade
    --
    The lifetime of any political organisation is about three years before
    its been subverted by the people it tried to warn you about.

    Anon.

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Wed Mar 18 23:07:08 2026
    From Newsgroup: comp.unix.shell

    On 3/18/26 14:19, rbowman wrote:
    On Wed, 18 Mar 2026 03:00:08 -0400, c186282 wrote:

    Alas, 'the tech' has become much different now.
    Steve always said his favorite programming language was 'solder'.
    Today the tech is two or three levels more complex, all ICs. With the
    ultra-shrinking of chips now Normal Humans can't even do-it-yourself.
    3mm thru-hole is about the practical limit even for younger eyes and
    hands (did a bunch of those, Dremel drill-press and micro-bits and
    pointy irons).

    Soldering the headers on boards like the Pico if I screw up and order the headerless version is about the limit of my soldering abilities any more. Even for that I use a magnifier. I never even tried surface mount.

    HAVE one of those magnifier headsets too :-)
    It's hanging on a shelf three feet away ...

    NEEDED it for the 3mm work.

    Under 3mm ... forget it.

    Really liked the Rabbit-2000 boards, GREAT ! However
    by Rabbit-3000 they went to TOO TINY stuff, you could
    not do much by hand any more. Tragic. Had to kinda
    compensate with Ards. Not AS capable ... but you
    could still DO stuff without robo-machinery or
    mystery 3rd-party manufacturers who'd pirate your
    CC number.

    Anyway, I miss the "Steve Era" ... things were
    more interesting/possible/fun then. Steve was
    brilliant when it came to getting the most from
    the least/simplest.

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Wed Mar 18 23:30:29 2026
    From Newsgroup: comp.unix.shell

    On 3/18/26 14:29, The Natural Philosopher wrote:
    On 18/03/2026 18:19, rbowman wrote:
    On Wed, 18 Mar 2026 03:00:08 -0400, c186282 wrote:

    -a-a-a Alas, 'the tech' has become much different now.
    -a-a-a Steve always said his favorite programming language was 'solder'. >>> -a-a-a Today the tech is two or three levels more complex, all ICs. With >>> the
    -a-a-a ultra-shrinking of chips now Normal Humans can't even do-it-
    yourself.
    -a-a-a 3mm thru-hole is about the practical limit even for younger eyes and >>> -a-a-a hands (did a bunch of those, Dremel drill-press and micro-bits and >>> -a-a-a pointy irons).

    Soldering the headers on boards like the Pico if I screw up and order the
    headerless version is about the limit of my soldering abilities any more.
    Even for that I use a magnifier. I never even tried surface mount.

    That's about where I stand too. 0.1" pitch I can just about-a handle

    Solder paste, solder balls and hot air is above my pay grade

    Tried some of that ... sorry ... it's just
    too much, too small, too big a PAIN. 3mm
    through-hole is about IT for normal humans.

    Fortunately the Ards and a few others still
    have the human-addressable hardware headers.
    "The Best" kind of depends on what you MEAN ...
    and 'human-usable' figures into that a lot
    for me. Judging by Ard/Pi sales, it means
    a lot to a LOT of other people too.

    Still have a kit for overlaying solder-paste
    masks for SMDs ... used ONCE - and did NOT
    love it. Yea, I understand the 'miniature'
    thing, but ........

    OTOH, CNC-style machines for milling/printing
    circuit boards HAVE become much cheaper. Not
    as clean as a Weller soldering iron, but they
    maybe CAN get it done in some cases.

    My old employer ... betcha they still have all
    my corrosive stuff for etching circuit boards
    in the box marked "toxic/hazardous" in the
    back room somewhere ..... :-)

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 05:36:14 2026
    From Newsgroup: comp.unix.shell

    On Wed, 18 Mar 2026 23:30:29 -0400, c186282 wrote:

    My old employer ... betcha they still have all my corrosive stuff for
    etching circuit boards in the box marked "toxic/hazardous" in the
    back room somewhere .....

    Ferrous oxide? Stuff is evil.
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From Charlie Gibbs@cgibbs@kltpzyxm.invalid to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 05:51:56 2026
    From Newsgroup: comp.unix.shell

    On 2026-03-19, rbowman <bowman@montana.com> wrote:

    On Wed, 18 Mar 2026 23:30:29 -0400, c186282 wrote:

    My old employer ... betcha they still have all my corrosive stuff for
    etching circuit boards in the box marked "toxic/hazardous" in the
    back room somewhere .....

    Ferrous oxide? Stuff is evil.

    FeO - hey, I just realized that in Spanish "feo" means "ugly".
    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey
    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 03:07:34 2026
    From Newsgroup: comp.unix.shell

    On 3/19/26 01:36, rbowman wrote:
    On Wed, 18 Mar 2026 23:30:29 -0400, c186282 wrote:

    My old employer ... betcha they still have all my corrosive stuff for
    etching circuit boards in the box marked "toxic/hazardous" in the
    back room somewhere .....

    Ferrous oxide? Stuff is evil.

    Um, 'etchant' is ferrous chloride with
    some acid added.

    It'll eat holes in most anything and turn
    anything else rust brown.

    Not exactly a major hazard, but it CAN do
    damage. Don't want it on you.

    Did lots of home-brew circuit boards. First
    tried litho photo-masks, but found out that
    laser-jet transparency film, doubled, would
    do the job well. Expose coated board, etch.
    Accuracy down to at least 1mm. Built my own
    UV-A/B exposure system.

    LaserJet ... create two masks, pure black
    carbon. They should be mirror-reversed so
    the toner layers actually touch each other.
    Set high contrast and kinda 'dark'. Tape/pin
    together. Then expose through that.

    Litho photo film can be 'better', but it's
    a LOT more work. Make do, save time/$$$

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 03:46:30 2026
    From Newsgroup: comp.unix.shell

    On 3/18/26 14:19, rbowman wrote:
    On Wed, 18 Mar 2026 03:00:08 -0400, c186282 wrote:

    Alas, 'the tech' has become much different now.
    Steve always said his favorite programming language was 'solder'.
    Today the tech is two or three levels more complex, all ICs. With the
    ultra-shrinking of chips now Normal Humans can't even do-it-yourself.
    3mm thru-hole is about the practical limit even for younger eyes and
    hands (did a bunch of those, Dremel drill-press and micro-bits and
    pointy irons).

    Soldering the headers on boards like the Pico if I screw up and order the headerless version is about the limit of my soldering abilities any more. Even for that I use a magnifier. I never even tried surface mount.

    Followup :

    Note that they make 'mask touch-up pens' ...
    kind of fine-tipped that disperse something
    like black paint.

    For laserjet masks ... LOOK at them thru a
    magnifier. There WILL be small gaps due to
    statistical factors. Use the pen to fill in
    those gaps. Doesn't take too long - and you
    will get a superior product. If you are
    making multiple boards, WELL worth it.

    Did 25 boards using a LJ mask with the
    described techniques. Works !

    THESE days ... you MIGHT want to invest in
    a CNC router that will physically grind the
    copper plate off the IC board. They are not
    THAT expensive anymore ... WERE back when
    I was doing this stuff.

    Hmmm ... dunno ... might be some system now
    where the CNC router can wield a PEN of
    sorts ... maybe even a fiber-optic light
    probe for litho film. This could produce
    sub-millimeter board traces.

    Litho film is GOOD ... typically ISO 25 or
    even less, ultra fine grain and DENSE if
    you develop it properly. Old tech CAN serve.

    Likely a 2-D machine can now directly expose
    the photoresist board. Even better.

    OTOH, these days there ARE corps that will
    take an appropriate Gerber file and make
    the boards, hi-rez, FOR you ... even on
    a single-unit basis. Back THEN ... had to
    order 100 or 1000 or 10,000. NOT great.

    Oh well ... excuse my rants ... spend most
    of last night and this morning prepping my
    IRS TAXES. My stuff is a bit too complicated
    for 'TurboTax' and such - employ an actual
    accountant firm to Get It Right. Money WELL
    spent IMHO.

    But they have this like 30 page form. Some
    of the language I can't figure out. SO many
    variants of 'investments' and such !

    LOVED the early 20th tax forms ... "How much
    did you make this year ? See chart. Pay the
    indicated amount" ... half a page ... no
    bullshit, no deductions, no games.

    The US IRS *knows* your financial transactions
    these days - even down to BitCoin. Why does it
    even WANT you to submit a long complex form ?
    If you're an Average Joe, not playing the
    Deductions Game, then it's NOT NECESSARY. They
    can just send you a bill.

    Oh yea ... the long complex form almost ensures
    you will make MISTAKES - for which they can FINE
    you, big time :-)

    Terror MUST be maintained !

    This is why you should spend a little extra on
    a professional firm, pref kinda local, to do
    your taxes EXACTLY right. Trump is KIND OF
    trying to fix some of this BS, but he won't
    be able to do THAT much. This System is a
    mountain at this point.

    --- Synchronet 3.21f-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.unix.shell,comp.os.linux.misc on Thu Mar 19 03:59:20 2026
    From Newsgroup: comp.unix.shell

    On 3/19/26 01:51, Charlie Gibbs wrote:
    On 2026-03-19, rbowman <bowman@montana.com> wrote:

    On Wed, 18 Mar 2026 23:30:29 -0400, c186282 wrote:

    My old employer ... betcha they still have all my corrosive stuff for >>> etching circuit boards in the box marked "toxic/hazardous" in the
    back room somewhere .....

    Ferrous oxide? Stuff is evil.

    FeO - hey, I just realized that in Spanish "feo" means "ugly".

    Actually it's a concentrated ferrous chloride
    solution with a little hydrochloric acid added.

    It WILL eat holes in lots of stuff and turn
    anything else dark rust-brown forever. Suggest
    NOT getting it on yourself.

    When I was about 10, I attempted to do a board
    suggested for a class-A/B audio amplifier. Alas
    I put the board in a thin aluminum tray. The
    etch chem ATE it entirely, then attacking the
    chair I had it sitting on. 60 years later
    the chair still exists, and STILL has the
    nasty brown chem stain :-)

    Not HYPER-hazardous, but ....

    There ARE alts to this process now, but the
    old methods persist and are still quite good.
    Check DigiKey or Mouser ... photo-sensitized
    copper boards/etchant are still a thing.

    --- Synchronet 3.21f-Linux NewsLink 1.2