Date: Sun, 9 Feb 2025 08:52:07 -0500 From: Greg Wooledge <g...@wooledge.org> Message-ID: <20250209135207.gn29...@wooledge.org>
| Oh, that must be another 2024 change. As my earlier correction indicated, it didn't happen. It turns out that all the *ash shells (bash, yash, and all derived from the original ash (dash, NetBSD & FreeBSD)) have -p to mean prompt. All the ksh shells use -p to indicate to read from a coprocess (why -p for that I cannot imagine). bosh (for as much as it matters) has no -p option at all. That's going to make it very hard to add to the standard, we might need to add another option name as an alternative in order to get it added (almost everyone agrees having the ability to prompt is useful, the ksh's can do that - just using a mechanism that is way too obscene to describe in a polite environment.) | If portability is the goal, I'd still go with printf + read for a while. So yes, it looks like that is the current state of the world. kre