[TUHS] Other Bell Labs shells from the 80s?
Larry McVoy via TUHS
tuhs at tuhs.org
Tue Mar 3 08:45:21 AEST 2026
On Tue, Mar 03, 2026 at 08:33:26AM +1000, George Michaelson via TUHS wrote:
> That "output is valid input" thing totally was what I wanted, I played with
> making PS1 and PS2 elements which did not prevent cut-paste making valid
> commands and it never quite worked for me. Not the same, but related.
>
> I think as a killer feature, that definitely counts as one. Modern shell
> behaviour being "nice" makes the output and command history very hard to
> just replay if it's a complex command.
>
> I frequently make intermediate commands in piped sequences emit shell which
> is then executed, because you can run it without the final | sh to see what
> it will do, and then do it. So my command streams in construction are often
> echo "thing to be done"
Isn't this sort of solved by "set -x". lm goes and tries it. Welp, not
so much:
$ echo foo
+ echo foo
foo
$ ls | wc
+ ls -C
+ wc
377 381 3851
The set -x doesn't keep the pipeline so yeah, I see the problem. Or one
of them.
More information about the TUHS
mailing list