On Tue, Aug 8, 2023 at 3:11 PM Dale R. Worley <wor...@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