[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6195: Feature Request for "fold"
From: |
Pádraig Brady |
Subject: |
bug#6195: Feature Request for "fold" |
Date: |
Sat, 15 May 2010 14:28:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
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.