News for hackers. Stuff that matters.
Re:Plan 9 from Bell Labs in Cyberspace by PeterWhittaker on Tuesday March 23, 2021 @11:54AM (#26556499)
Many years ago (30?), the Plan 9 shell, rc, was made available for other platforms. I was working at the Big Nerd Ranch and ran it everywhere I could (I was doing 2nd/3rd level support work that gave me unfettered privileged access almost everywhere), until the nascent in-house software release process (SRP) caught up and sudo started becoming more widespread and privileged access started getting locked down.

At that point, I needed muscle memory across all machines more than anything else, and switched back to sh (bash was still very new and not widely available, csh was born borked, and ksh was only available under certain OSes). That was sad.

rc had a beautiful, clean C-like syntax without any csh weirdness and was much more powerful than sh. Scripts were a joy to write and maintain.

Re:Plan 9 from Bell Labs in Cyberspace by LukeShu on Tuesday March 23, 2021 @02:31PM (#26558468)
I was going to say, 30 years ago, the 1st edition of the actual Plan 9 wasn't yet released (not until 1992), much less a clone/port of its shell. But it seems that Byron Rakitzis wrote his Unix clone of `rc` in 1991 before Plan 9 was even out! He based it on Tom Duff's paper which described Plan 9's shell.

(Plan 9's `rc` was originally written for 10th edition Unix, and would later get ported back to Unix as part of Russ Cox's plan9port in 2003.)

Re:Plan 9 from Bell Labs in Cyberspace by byronr on Tuesday March 23, 2021 @02:36PM (#26558537)
Yes, I did! I used Duff's paper as a reference, and relied on the good taste of all my beta testers to guide me towards a working shell. Back when source code was distributed via shar files in an email.
Re:Plan 9 from Bell Labs in Cyberspace by PeterWhittaker on Tuesday March 23, 2021 @04:12PM (#26559820)
Thanks for writing rc! I’d forgotten about Duff’s paper and the exact circumstances of rc’s release until I read LukeShu’s and your replies.

I had a lot of fun with rc....

Re:Plan 9 from Bell Labs in Cyberspace by byronr on Tuesday March 23, 2021 @05:42PM (#26560737)
It's hosted on github now and still serves as the login shell for me and presumably many others!
Re:Plan 9 from Bell Labs in Cyberspace by mst on Wednesday March 24, 2021 @04:02AM (#26564618)
I use bash for the muscle memory but my bash profile is increasingly always including

    PS1="$(hostname)=; "
because it's just nice.