[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ! history expansion occurs within arithmetic substitutions
From: |
Zachary Santer |
Subject: |
Re: ! history expansion occurs within arithmetic substitutions |
Date: |
Tue, 8 Aug 2023 15:59:23 -0400 |
On Tue, Aug 8, 2023 at 3:11 PM Dale R. Worley <worley@alum.mit.edu> wrote:
> But I would not take it as given that nobody would ever want to use
> history expanstion within an arithmetic substitution. Let me concoct an
> example:
>
Yeah, that's all fair. Admittedly, I never use history expansion, so I'm
not thinking about how it could be useful in a given context. May as well
put 'set +o histexpand' in my .bashrc and call it a day.
When messing around in interactive mode to test things I may want to do in
a script, it's nice if it actually behaves the same. There are probably
some other set and possibly shopt things I should have somewhere if that's
what I want.
- Zack
- !; is interpreted as an history expansion that can never match anything, Emanuele Torre, 2023/08/08
- ! history expansion occurs within arithmetic substitutions, Zachary Santer, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Emanuele Torre, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Andreas Schwab, 2023/08/08
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/11
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/11
- Re: ! history expansion occurs within arithmetic substitutions, Chet Ramey, 2023/08/14
- Re: ! history expansion occurs within arithmetic substitutions, Martin D Kealey, 2023/08/15
- Re: ! history expansion occurs within arithmetic substitutions,
Zachary Santer <=
- Re: ! history expansion occurs within arithmetic substitutions, Dale R. Worley, 2023/08/10
- Re: ! history expansion occurs within arithmetic substitutions, Lawrence Velázquez, 2023/08/10
Re: !; is interpreted as an history expansion that can never match anything, Dale R. Worley, 2023/08/08
Re: !; is interpreted as an history expansion that can never match anything, Chet Ramey, 2023/08/08