On Mon, Jan 22, 2024 at 10:10:22PM +0900, SASANO Takayoshi wrote: > I found history of w(1) is > > > HISTORY > > The w command appeared in 2BSD. > > But man of OpenBSD-5.0 and previous describes > > > HISTORY > > The w command appeared in 3.0BSD. > > NetBSD's w(1) comes from 3.0BSD. > which is correct?
In 2BSD, w was just a one-line shell script that invoked 'finger'. It had been re-written as a C program by 2.11BSD.

