On 2019-07-05 1:01 p.m., Peng Yu wrote:
I’d like to migrate some of my bash scripts to zsh. (Therefore, I don’t care the difference in the interactive mode.) But there are still many subtle differences between bash and zsh in the non-interactive part.
Just curious: Is there some way of dumping the state of all variables at all lines with both bash and zsh to some file or other such that one could quickly spot exactly when and where something might change between them? Not a proactive, analytic study of the code, but just a pragmatic finding of differences after the fact.