Re: df command should suppress duplicates

2012-12-07 Thread Bernhard Voelker
re-adding the list. On 12/07/2012 07:43 PM, Pádraig Brady wrote: > On 12/07/2012 06:28 PM, Bernhard Voelker wrote: >> On 12/05/2012 09:37 AM, Ondrej Oprala wrote: >>> On 12/05/2012 02:28 AM, Bernhard Voelker wrote: Ondrej (and others): WDYT? >>> Looks good to me :) . >> >> Shall I push? > >

Re: Command-line program to convert 'human' sizes?

2012-12-07 Thread Pádraig Brady
On 12/07/2012 03:07 PM, Assaf Gordon wrote: Thank you for your feedback. I'm working on fixing those issues. Some comments/questions: Pádraig Brady wrote, On 12/06/2012 06:59 PM: I noticed This command will core dump: $ /bin/ls -l | src/numfmt --to-unit=1 --field=5 so I'm thinking `numfmt` s

Re: Command-line program to convert 'human' sizes?

2012-12-07 Thread Assaf Gordon
Thank you for your feedback. I'm working on fixing those issues. Some comments/questions: Pádraig Brady wrote, On 12/06/2012 06:59 PM: > I noticed This command will core dump: > $ /bin/ls -l | src/numfmt --to-unit=1 --field=5 > > so I'm thinking `numfmt` should support --header too. > I'll add

Re: Command-line program to convert 'human' sizes?

2012-12-07 Thread Bernhard Voelker
On 12/07/2012 11:06 AM, Pádraig Brady wrote: > On 12/07/2012 08:25 AM, Bernhard Voelker wrote: >> Therefore this is my first test: >> >>$ echo 11505426432 | src/numfmt >>11505426432 >> >> Hmm, shouldn't it converting that to a human-readable >> number then? > Heh, given my amendment above

Re: Command-line program to convert 'human' sizes?

2012-12-07 Thread Pádraig Brady
On 12/07/2012 08:25 AM, Bernhard Voelker wrote: On 12/07/2012 12:59 AM, Pádraig Brady wrote: So on to some initial observations... Hi Assaf and Padraig, numfmt claims itself (in --help): Reformats NUMBER(s) to/from human-readable values. Yes I was going to get to descriptions and docs at

Re: Command-line program to convert 'human' sizes?

2012-12-07 Thread Bernhard Voelker
On 12/07/2012 12:59 AM, Pádraig Brady wrote: > So on to some initial observations... Hi Assaf and Padraig, numfmt claims itself (in --help): Reformats NUMBER(s) to/from human-readable values. and in the first line in numfmt.c: Reformat numbers like 11505426432 to the more human-readable 11G