[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: String substitution bug
From: |
Mike Jonkmans |
Subject: |
Re: String substitution bug |
Date: |
Tue, 26 Nov 2024 10:57:24 +0100 |
On Tue, Nov 26, 2024 at 12:47:48PM +1000, Martin D Kealey wrote:
...
> The problem is that the Shell makes it hard to write good code and easy to
> write bad code.
>
> (“No programmer would ever be lazy.” Yeah, right. I ran a tutorial on Bash
> at the 2015 LCA in Auckland, and was abashed (pun intended) to be informed
> that one of my example scripts didn't run correctly on some of the
> delegates' systems, and it turned out that I'd missed some quotes. Nobody
> is completely immune to this.)
For info (pun intended):
https://www.shellcheck.net/ may be of help.
> You can always contribute to https://mywiki.wooledge.org/
> Thanks for the reminder; I've been meaning to do that.
In the 'good old days', somewehere in the 80's, there was a
program named 'learn'.
You would get (Bourne) shell scripting problems to solve
in a restricted cli-environment.
It was nice when starting to learn scripting.
Unfortunately it has gone off the radar.
This comes close: https://www.learnshell.org/
--
Regards, Mike Jonkmans
- String substitution bug, marcel.plch, 2024/11/23
- Re: String substitution bug, Lawrence Velázquez, 2024/11/23
- Re: String substitution bug, marcel.plch, 2024/11/23
- Re: String substitution bug, Andreas Kähäri, 2024/11/24
- Re: String substitution bug, Martin D Kealey, 2024/11/24
- Re: String substitution bug, Oğuz, 2024/11/24
- Re: String substitution bug, Martin D Kealey, 2024/11/25
- Re: String substitution bug, Zachary Santer, 2024/11/25
- Re: String substitution bug, Martin D Kealey, 2024/11/25
- Re: String substitution bug,
Mike Jonkmans <=
- Re: String substitution bug, Zachary Santer, 2024/11/26
- Re: String substitution bug, Greg Wooledge, 2024/11/24
- Re: String substitution bug, Andreas Kähäri, 2024/11/24
- Re: String substitution bug, Lawrence Velázquez, 2024/11/24
- Re: String substitution bug, Andreas Kähäri, 2024/11/25
- Re: String substitution bug, Martin D Kealey, 2024/11/25
- Re: String substitution bug, Zachary Santer, 2024/11/24
- Re: String substitution bug, Andreas Kähäri, 2024/11/25
- Re: String substitution bug, Chet Ramey, 2024/11/25
- Re: String substitution bug, marcel.plch, 2024/11/25