This shell bug is [now fixed on trunk](https://www.sqlite.org/src/info/34439fe3aeea7cbb). Thanks for reporting this.