coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [COREUTILS] Re: [PATCH] df: Adding a --no-headers option, by request


From: Mark Krenz
Subject: Re: [COREUTILS] Re: [PATCH] df: Adding a --no-headers option, by request of Bruce Dubbs
Date: Thu, 21 Mar 2019 10:09:45 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Wed, Mar 20, 2019 at 09:22:42PM UTC, Kaz Kylheku (Coreutils) 
[address@hidden] said the following:
> On 2019-03-17 05:27, Ed Neville wrote:
> >Taking suggestions into account, '--no-headers' seems more consistent
> >with ps options.
> 
> This loses on character count:
> 
>   df --no-headers
>   df | sed 1d
> 
> Fully golfed:
> 
>   df|sed 1d
> 
> Oops!
> 
> 

If you're really that concerned about size, You could get away with
omitting half the characters until another --no-h* option gets
implemented:

df --no-h

;)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]