News for hackers. Stuff that matters.
Re:The myriad meanings of pwd in Unix systems by ben509 on Tuesday November 10, 2020 @07:48AM (#25045372)
Well, if we ever rewrite Unix, we can just go with "wd".

Because we know it's reading the current or present value, like any other command that reads a value.

And of course we're going to print it, that's the natural thing to do.

Re:The myriad meanings of pwd in Unix systems by arexxbifs on Tuesday November 10, 2020 @10:31AM (#25047038)
They sort of did rewrite Unix and it's called pwd there, too. :)

https://9p.io/magic/man2html/1/pwd

Re:The myriad meanings of pwd in Unix systems by johnr2 on Tuesday November 10, 2020 @08:45AM (#25045807)
> if we ever rewrite Unix, we can just go with "wd"

Thus confusing anyone who uses the 'wd' hard disk driver.

https://man.openbsd.org/wd