coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] df: Adding a --no-headers option, by request of Bruce Dubbs


From: Michael Stone
Subject: Re: [PATCH] df: Adding a --no-headers option, by request of Bruce Dubbs
Date: Fri, 22 Mar 2019 09:35:45 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Mar 21, 2019 at 11:13:11AM +0100, Erik Auerswald wrote:
More general, table headers are useful for interactive use, but often need
to be ignored when the tool output is used programmatically.

For a utility like df, which is in concept a tool for interactive use and has a wide range of options (including environment variables) that can alter the output, I'd personally validate that the header line was as expected before blindly trusting the rest of the output (if I really, really felt it necessary to use it programatically).



reply via email to

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