Date: Tue, 6 Jun 2000 13:53:22 -0700 (PDT) From: kannanv@research.bell-labs.com To: freebsd-gnats-submit@FreeBSD.org Subject: bin/19071: fmt not folding very long lines Message-ID: <20000606205322.299F437B61F@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 19071 >Category: bin >Synopsis: fmt not folding very long lines >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 06 14:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Kannan Varadhan >Release: 3.4-STABLE >Organization: Bell Labs >Environment: FreeBSD cubs.mlb.research.bell-labs.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Tue Feb 8 10:56:14 EST 2000 root@cubs.mlb.research.bell-labs.com:/usr/src/sys/compile/MH2A235 i386 >Description: Given a file containing a very long line as: $ cat foo ./config ./keys inside/org/113440/reports/index.html outside/org/113440/index.html outside/user/girishc/index.html outside/user/girishc/no outside/user/karaul/index.html outside/user/kvaradhan/index.html outside/user/kvaradhan/doc/index.html outside/user/kvaradhan/doc/dynamics/index.html outside/user/kvaradhan/doc/oscillations/index.html outside/user/kvaradhan/doc/rs_design/index.html outside/user/kvaradhan/doc/thesis/index.html outside/user/murakami/index.html $ fmt < foo ./config ./keys inside/org/113440/reports/index.html outside/org/113440/index.html outside/user/girishc/index.html outside/user/girishc/no outside/user/karaul/index.html outside/user/kvaradhan/index.html outside/user/kvaradhan/doc/index.html outside/user/kvaradhan/doc/dynamics/index.html outside/user/kvaradhan/doc/oscillations/index.html outside/user/kvaradhan/doc/rs_design/index.html outside/user/kvaradhan/doc/thesis/index.html outside/user/murakami/index.html Notice that fmt did not fold the lines to within 65-75 columns as is documented. fmt version (by grepping the binary) is: $FreeBSD: src/usr.bin/fmt/fmt.c,v 1.11.2.1 1999/08/29 15:28:00 peter Exp $ >How-To-Repeat: As above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606205322.299F437B61F>