[issue845] df() shell function

Ulrich Dangel bts at bts.grml.org
Wed Apr 28 23:49:56 CEST 2010


Ulrich Dangel <mru at grml.org> added the comment:

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/

> 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.

Ulrich

----------
messages: 3151, 3154, 3155, 3156, 3157, 3159
nosy: korn
priority: wish
status: chatting
title: df() shell function
topic: zsh

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue845>
_____________________________________


More information about the Bugs-changes mailing list