Date: Wed, 21 Aug 2024 12:09:06 -0400 From: Grisha Levit <grishale...@gmail.com> Message-ID: <CAMu=brrnwe1f7mbqy5qo__ersnsoa9axbno_zzw3y_wecgx...@mail.gmail.com>
| I've found using | | bash --norc -in <<< INPUT | | invaluable for testing input handling so I hope that remains an option. That kind of thing (not precisely that) is why the NetBSD shell took the approach it does, of simply disabling -n for each new command, rather than ignoring it completely for interactive shells. One way to handle that the way that bash does things, would be to only disable the 'n' option at startup if the shell becomes interactive the "normal" way, and not when that is forced by use of -i. kre