Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: line length Keywords: line length Message-ID: <11200@bloom-beacon.MIT.EDU> Date: 8 May 89 01:20:55 GMT References: <160@ohsu-hcx.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Distribution: usa Organization: Massachusetts Institute of Technology Lines: 19 In article <160@ohsu-hcx.UUCP> mkb@ohsu-hcx.UUCP (Marilyn Bushway) writes: >If I have output of 132 characters and I want it to be 80 characters >is there a unix command to change the line length??? See the man page for fold. By default it wraps at 80 columns, so you could just do fold to wrap a file, or | fold to wrap the output of a program. Jonathan Kamens USnail: MIT Project Athena 410 Memorial Drive, No. 223F jik@Athena.MIT.EDU Cambridge, MA 02139-4318 Office: 617-253-4261 Home: 617-225-8218