[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: who: sorted output + minor usage change
From: |
Pádraig Brady |
Subject: |
Re: who: sorted output + minor usage change |
Date: |
Sat, 14 Feb 2015 21:51:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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