[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: who: sorted output + minor usage change
From:       Pádraig Brady <P () draigBrady ! com>
Date:       2015-02-14 21:51:54
Message-ID: 54DFC37A.9090205 () draigBrady ! com
[Download RAW message or body]

On 14/02/15 21:34, Bernhard Voelker wrote:
> On 02/09/2015 10:27 PM, Pádraig Brady wrote:
>> I'll look about adding placeholders so that who -a is processable.
> 
> I'm not so enthusiastic about this - I mean changing the default format.
> What about adding an option like --output=LIST instead, with LINE being
> a comma-separated list of 'name', 'line', 'idle', 'pid', etc.?

That would be a bit overkill for who I think.
The issue is only with who -a, and solaris at least has placeholders
for name in that case. You could only parse the existing output
in a fixed offset manner, which adding a placeholder wouldn't impact.
So I'm 60:40 for changing this, and 60:40 for just adding placeholders.

cheers,
Pádraig



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic