News for hackers. Stuff that matters.
Re:Next steps for Rust in the kernel by mschuster91 on Wednesday September 21, 2022 @09:01AM (#32924513)
There once was a time when the only common things you could expect to be present on a Linux system were the good old `sh` (not `bash`) and a more or less old version of `perl`.

The commands supported by `sh` are... let's keep it at "fossilized from somewhere in the 80s", and so the only alternative was perl which has a ... history of being not exactly user-friendly to code for.

Re:Next steps for Rust in the kernel by marcus0x62 on Wednesday September 21, 2022 @11:23AM (#32926430)
Eh? Bash predates Linux by a couple of years. I don’t remember any early Linux system — my frame of reference begins in 1994 — without bash as the default shell.
Re:Next steps for Rust in the kernel by mschuster91 on Thursday September 22, 2022 @04:19AM (#32936145)
The common Debian expectation to this day is to keep acting like you only had POSIX shell features aka /bin/sh [1]. You may use /bin/bash if you like though.

[1] https://www.debian.org/doc/debian-policy/ch-files.html#s-scr...

Re:Next steps for Rust in the kernel by marcus0x62 on Thursday September 22, 2022 @04:30PM (#32944230)
That may be their expectation stylistically, but the first Debian release shipped[1] with bash as the default shell. I’m not aware of them ever having shipped the original Bourne shell. Your claim — that I was responding to - was that on early Linux systems you might only find the Bourne shell but not bash. That simply was not the case.

1 - http://archive.debian.org/debian-archive/debian/dists/buzz/m...

Re:Next steps for Rust in the kernel by edgyquant on Wednesday September 21, 2022 @02:12PM (#32928965)
Linux was built out initially with a hard coded call to bash
Re:Next steps for Rust in the kernel by edgyquant on Wednesday September 21, 2022 @02:12PM (#32928977)
This is wrong, initially Linux was quite literally a bash kernel