GNU bug report logs - #6195
Feature Request for "fold"

Previous Next

Package: coreutils;

Reported by: BJ Dierkes <wdierkes <at> 5dollarwhitebox.org>

Date: Sat, 15 May 2010 02:07:01 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 6195 <at> debbugs.gnu.org (full text, mbox):

From: BJ Dierkes <wdierkes <at> 5dollarwhitebox.org>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 6195 <at> debbugs.gnu.org
Subject: Re: 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








This bug report was last modified 12 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.