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


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: BJ Dierkes <wdierkes <at> 5dollarwhitebox.org>
Cc: 6195 <at> debbugs.gnu.org
Subject: bug#6195: Feature Request for "fold"
Date: Sat, 15 May 2010 14:28:14 +0100
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.




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.