🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#444
From: John Vanderpool
Date: Thu, 05 Jan 1995 00:22
32 lines
2326 bytes
olson@anchor.engr.sgi.com (Dave Olson) writes:

>fish@daacdev1.stx.com (John Vanderpool) writes:
>| the irix version of the "fold" command breaks words in the middle if
>| they fall where the break "-width" occurs.  hpux has an option called -s
>| which will:
>| 
>|       -s             Break the line on the last blank character found before
>|                      the specified number of column positions.  If none are
>|                      found, break the line at the specified line length.
>| 
>| this is VERY useful, any plans on a similar funtion in irix?  or i guess
>| i'll have to go get the GNU fold (does anyone know if it does it?  is it
>| in GNU fileutils?)

>No plans to add it that I know of, but it seems to me that this is
>no different than using "fmt"...

well, after a few other replies stating that i seemed to think so too, but
there is a MAJOR difference, fmt tries to nicely format ALL of the text
into paragraphs.

thus, if you pass something into it that you don't want that done to (90%
of any text i use) it doesn't work right -- fold just takes lines that
are longer than the specified width and folds them over - quite a difference.

				fish
--
Let's drink to the hard working people, let's drink to the lowly of birth
Raise your glass to the good and the evil, let's drink to the salt of the earth
								-mj/kr
John R. Vanderpool      <fish@daacdev1.stx.com>
Technical Details
Message-ID: <fish.789265323@news.gsfc.nasa.gov>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!ames!newsfeed.gsfc.nasa.gov!news.gsfc.nasa.gov!fish
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-05 08:19:36 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!ames!newsfeed.gsfc.nasa.gov!news.gsfc.nasa.gov!fish
From: fish@daacdev1.stx.com (John Vanderpool)
Newsgroups: comp.sys.sgi.misc,gnu.misc.discuss
Subject: Re: irix "fold" breaks words in the middle, any relief in sight???
Date: 5 Jan 95 00:22:03 GMT
Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
Lines: 32
Message-ID: <fish.789265323@news.gsfc.nasa.gov>
References: <fish.788804382@news.gsfc.nasa.gov> <3e28pd$1ju@gazette.engr.sgi.com>
NNTP-Posting-Host: eosdev2.gsfc.nasa.gov