On Fri, Aug 26, 2022 at 11:54:06PM +0100, Tim Woodall wrote: > I modified /etc/bash.bashrc to prove it was only being sourced in the > second case above (it prints the value of PS1) > > And now I can reproduce without -u > $ bash -c : > $ ( bash -c : ) > 'PS1=' > $ ( bash -c : ; : ) > $
I can't reproduce this on Debian 11, with bash 5.1-2+deb11u1. What version of bash is this?