[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6195: Feature Request for "fold"
From: |
BJ Dierkes |
Subject: |
bug#6195: Feature Request for "fold" |
Date: |
Sun, 16 May 2010 14:00:37 -0500 |
On May 15, 2010, at 8:28 AM, Pádraig Brady wrote:
> On 15/05/10 02:55, BJ Dierkes wrote:
>> Hello all,
>>
>> I am trying to use the 'fold' utility to make prettier output from 'git-log'.
>>
>> $ git --no-pager log --oneline | fold -s
>
> `fmt` seems to nearly do what you want,
> and with a little sed you can line up correctly:
>
> fmt -t | sed 's/^ / /'
>
> I'm not against a --indent option to fold
> but with the overlap between fmt,pr,fold,sed
> the barrier to new options to these utils is high.
>
> cheers,
> Pádraig.
Thank you for the quick reply. Your response makes complete sense.
---
derks