🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.misc
Article #443

Re: irix "fold" breaks words in the middle, any relief in sight???

#443
From: Kevin Luster
Date: Tue, 03 Jan 1995 01:22
20 lines
1569 bytes
In article <3e28pd$1ju@gazette.engr.sgi.com>,
Dave Olson <olson@anchor.engr.sgi.com> wrote:
>No plans to add it that I know of, but it seems to me that this is
>no different than using "fmt"...

I think the difference is that HP fold with the magic option will
produce lines which are always less than or equal to your desired
width, while fmt does not. fold will break in the middle of a sequence
of characters if there is no way to do a proper word break, fmt will
leave the string alone and pass a line wider than your desired width.





-- 
Kevin Luster, Project Reality | Silicon Graphics MS-880
Kicking Sega's butt           | 2011 N. Shoreline Blvd
kluster@goth.engr.sgi.com     | Mountain View, Ca. 94043
http://www.ugcs.caltech.edu/~kluster/Visigoth.html
Technical Details
Message-ID: <3ea8sk$o5v@goth.engr.sgi.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!swrinde!sgiblab!sgigate.sgi.com!fido.asd.sgi.com!not-for-mail
References: <fish.788804382@news.gsfc.nasa.gov> <3e28pd$1ju@gazette.engr.sgi.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100159,849a3a2d66dde1ef
X-Google-Attributes: gid100159,public
X-Google-Thread: 1025b4,849a3a2d66dde1ef
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1995-01-02 20:26:41 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!swrinde!sgiblab!sgigate.sgi.com!fido.asd.sgi.com!not-for-mail
From: kluster@goth.engr.sgi.com (Kevin Luster)
Newsgroups: comp.sys.sgi.misc,gnu.misc.discuss
Subject: Re: irix "fold" breaks words in the middle, any relief in sight???
Date: 2 Jan 1995 17:22:28 -0800
Organization: Silicon Graphics
Lines: 20
Message-ID: <3ea8sk$o5v@goth.engr.sgi.com>
References: <fish.788804382@news.gsfc.nasa.gov> <3e28pd$1ju@gazette.engr.sgi.com>
NNTP-Posting-Host: goth.engr.sgi.com