> On Apr 2, 2024, at 20:26, Brian Conway <bcon...@rcesoftware.com> wrote: > > On Tue, Apr 2, 2024, at 10:08 PM, Nick Holland wrote: >> What is it that you see bash doing so much better than stock pdksh? > > Multiline command editing. > > (I don't use bash, but it would be a nice feature.)
I dunno. It’s a mixed bag. With ksh for a billion years, I got used to setting FCEDIT=emacs, and using ‘r <num>’ and bob's your uncle you get an editor with your multiline history. It was awesome because I would write damn near complete shell scripts at the prompt, then drop into the editor to save them as a. . . shell script. Then I got tossed into Linux land with no option to use ksh, and. . . bash converts all my multiline commands into one goddamn long-ass line. On the plus side, sometimes editing that is easier. On the downside, I no longer use fcedit to edit the history, because why go into an editor a single damn-ass line. But that also means the end of converting my long commands into a script when it got too unwieldy. So, you know. No. I wish I didn’t have to deal with BASH and it’s multiline conversion to single lines and other jankiness (by jankiness, I mean “magic”). Sean