On 17/06/15 13:31, Bernhard Voelker wrote:
> On 06/17/2015 02:12 PM, Pádraig Brady wrote:
>> +   git shortlog v$oldrel.. | sed -n 's/:$//p' |
>> +   sed 's/^/  /' | pr -T2 -W 60 | expand
> 
> the pr(1) may cut longer names, or at least the number:
> 
>    $ oldrel=8.23;  ... | grep -C1 Mitterer
>    Boris Ranto (2)               Paul Eggert (19)
>    Christoph Anton Mitterer (1   Pádraig Brady (120)
>    Daiki Ueno (1)                Rasmus Borup Hansen (1)
> 
> As you'd never know the length, I'd leave it 1-column.

Good point. Names are currently up to:

  $ grep @ THANKS | rev | cut -d' ' -f2- | wc -L
  38

Actually we could auto set the number of columns
by using `column -c ...` rather than `pr -T2 -W ...`
I'll also bump width up to 70.

thanks,
Pádraig.

Reply via email to