News for hackers. Stuff that matters.
Re:AT&T Archives: The Unix Operating System [video] (1982) by marcodiego on Saturday August 28, 2021 @10:33AM (#28338392)
It would be great if the example in https://youtu.be/tc4ROCJYbm0?t=521 still worked.
Re:AT&T Archives: The Unix Operating System [video] (1982) by jraph on Saturday August 28, 2021 @11:40AM (#28338896)
It almost works.

- unique is called uniq, but you can write an alias. I would not be surprised if it was called unique in this video for presentation purposes and uniq already worked at the time.

- sort will work as is

- lowercase is tr '[:upper:]' '[:lower:]' (you can write an alias).

- you need write programs makewords and mismatch and put them in $PATH (the current folder was probably in $PATH at the time but it's not anymore for security reason)

sort | uniq can be written sort -u.

But the gist of it is still accurate and still applies to today's unix-like systems, which is quite a thing for something that has more than 50 years.

Re:AT&T Archives: The Unix Operating System [video] (1982) by kps on Saturday August 28, 2021 @11:56AM (#28339044)
`makewords` is `deroff -w`; `mismatch` is `comm -23`.
Re:AT&T Archives: The Unix Operating System [video] (1982) by jraph on Saturday August 28, 2021 @03:33PM (#28340797)
Thank you, I didn't know neither of them and they will probably save me some time in the future.
Re:AT&T Archives: The Unix Operating System [video] (1982) by bkirkby on Tuesday August 31, 2021 @12:45AM (#28364057)
`makewords` is also `tr -cs "[:alpha:]" "\n"`
Re:AT&T Archives: The Unix Operating System [video] (1982) by yjftsjthsd-h on Saturday August 28, 2021 @11:37AM (#28338870)
I strongly suspect that a lot of the commands he's using there are either shell functions or small scripts (or just aliases, actually) to make the example simple to follow. For instance, unique=uniq, lowercase='tr [AZ] [az]' (I think?), etc. You could trivially rewrite it today with a little effort to remake those.