Chris Down writes: > !! is not single-quoted in the ultimate expansion (bash knows nothing > about what happens inside the subshell), which is all that matters. It's > not too late to perform history expansion (which is different than > parameter expansion).
To be more clear, the history expansion is performed immediately after the line is read, before word splitting takes place. Perhaps this may be undesirable(?), but I don't think it's unexpected behaviour.
pgptocDQGjvHb.pgp
Description: PGP signature