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