[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect alias expansion within command substitution
From: |
Chet Ramey |
Subject: |
Re: Incorrect alias expansion within command substitution |
Date: |
Thu, 3 Feb 2022 14:02:35 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
On 2/2/22 10:18 PM, Robert Elz wrote:
Date: Wed, 02 Feb 2022 17:18:08 -0800
From: L A Walsh <bash@tlinx.org>
Message-ID: <61FB2D50.7010403@tlinx.org>
| My posix non-conformance issue has to do with bash not starting with
| aliases enabled by default in all default invocations.
If you're using aliases in scripts, then just stop doing that.
There's no need for it, it just makes your script harder to
follow. Simply expand any aliases you"d use interactively,
and you will no longer care about this.
There's no problem with using aliases in private scripts you write for your
own purposes. If you want to impose some personal style you find easier to
read, so be it. Even advocating for that style is ok, if you don't expect
to be taken seriously unless you provide evidence of concrete benefits.
The issue is expecting others to understand or be able to help with scripts
written in that style, or expect them to invest time learning it. That's
just not reasonable.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Incorrect alias expansion within command substitution, (continued)
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/03
- Re: Incorrect alias expansion within command substitution, L A Walsh, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Dennis Williamson, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Robert Elz, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Greg Wooledge, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Robert Elz, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/03
- Re: Incorrect alias expansion within command substitution,
Chet Ramey <=
- Re: Incorrect alias expansion within command substitution, L A Walsh, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Alex fxmbsw7 Ratchev, 2022/02/03
- Re: Incorrect alias expansion within command substitution, Chet Ramey, 2022/02/03