casper....@oracle.com wrote, on 10 Dec 2020: > > I noticed after recently that the ps(1) manual pages lists the > following: > > TTY (all) The controlling terminal for the process. > > However, later when the "-o" options are listed, the tty option is > listed with the header "TT". > > Was this intended?
The "TT" for -o tty goes back to POSIX.2-1992. The "TTY" for -f and -l is older - it was in XPG3 (and probably XPG2 although I didn't check). These options were not in POSIX.2. So the question is whether the original POSIX.2 developers deliberately chose a different heading for -o tty from the one used by -f/-l in XPG3. Since there is nothing in the rationale to say it was deliberate, it seems reasonable to assume it was not. -- Geoff Clare <g.cl...@opengroup.org> The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England