BTS

Message3160

Author korn
Recipients
Date 2010-04-28.22:02:43
Content
On Wed, Apr 28, 2010 at 09:49:56PM +0000, Ulrich Dangel wrote:

> On Wednesday 28 April 2010 23:07:39 Andras Korn wrote:
> > Well, fwiw, grml already has such wrappers (this is one of the things that
> > make it appealing). For example, ls is by default aliased to:
> > 
> > ls='ls -b -CF --color=auto'
> > 
> > I don't see how this is any different.
> 
> It is different as it only changes the default parameters for a program. 
> In your case you putting the output from df trough column and sed.
> 
> And in addtion the sed command is only useful with the english locale and not 
> any other like for example german http://nopaste.narf.at/show/24/

Yes, I agree that the locale dependency is a con.

> > But I'd be happy with DF() instead of df() if you really think modifying
> > ls(1) is OK but modifying df(1) isn't. :)
> 
> Yes as the alias only adds additional parameters.

That, however, is irrelevant - it changes the behaviour of the utility, and
that's it. :)

But OK, the locale thing convinced me; it'd be possible to make it work with
any locale, but only with a disproportional amount of work.

So, any objections to supplying it as DF()?

-- 
 Andras Korn <korn at elan.rulez.org> - <http://chardonnay.math.bme.hu/~korn/>
           Bachelor: A guy who has cheated a woman out of a divorce.
History
Date User Action Args
2010-04-28 22:02:44kornlinkissue845 messages
2010-04-28 22:02:43korncreate