Subject: Re: bin/2893: Prettier df listings with long nfs mounts.
To: Jason Thorpe <email@example.com>
From: Jeremy Cooper <firstname.lastname@example.org>
Date: 10/26/1996 14:34:58
On Sat, 26 Oct 1996, Jason Thorpe wrote:
> On Sat, 26 Oct 1996 13:19:13 +0200 (CEST)
> Anders Magnusson <email@example.com> wrote:
> > >Synopsis: Prettier df listings with long nfs mounts.
> I agree that this looks much nicer... but it's harder for scripts to
> parse... For example, a friend of mine wrote a little tcl script
> that parses df output, and generates a bar graph showing percentage
> of space used. Having the line broken up like that means that you
> can't just say `column N' ...
Why not check it stdout is a tty? If not, default to the old style