GNU bug report logs - #7085
fmt (GNU coreutils) 6.10

Previous Next

Package: coreutils;

Reported by: "Denis M. Wilson" <dmw <at> oxytropis.plus.com>

Date: Wed, 22 Sep 2010 20:23:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bob Proulx <bob <at> proulx.com>
To: William Plusnick <pwplusnick2 <at> gmail.com>
Cc: 7085 <at> debbugs.gnu.org, "Denis M. Wilson" <dmw <at> oxytropis.plus.com>
Subject: bug#7085: fmt (GNU coreutils) 6.10
Date: Mon, 27 Sep 2010 21:28:00 -0600
William Plusnick wrote:
> The reason I sent this to everyone and not just Denis Wilson is that I
> wanted to be able to point to it in the future if people want this feature
> and are willing to risk future incompatibility.

Isn't the more modular flow that Eric suggested more in keeping with
the Unix philosophy and the better solution?  If you want to do both
stripping of carriage returns and word wrapping together then you can
pipe them together.

  tr -d '\r' < somefile | fmt

Or if you are calling it as a stdin filter such as within an editor:

  tr -d '\r' | fmt

Bob




This bug report was last modified 13 years and 308 days ago.

Previous Next


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