Jim Meyering wrote:
If anyone can find a system on which this prints
something other than "tty", please let us know:

  stat --format %G $(tty)

I get my primary GID on AIX 4.3 and Irix 6.5, and "terminal" on OSF1 5.1. The OSS I have access to probably isn't a "reasonable porting target" :-), and the other systems I can think of that I could test are BSD-ish, Linux, HP-UX, or Solaris, which you tested already.

--
Matthew
PIE INCOMING!!!



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to