Xref: utzoo comp.unix.questions:22489 comp.unix.wizards:22193 Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: A question on awk and sort. Message-ID: <8232@jpl-devvax.JPL.NASA.GOV> Date: 29 May 90 23:59:08 GMT Article-I.D.: jpl-devv.8232 References: <1990May28.225953.222@murdoch.acc.Virginia.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 13 In article <1990May28.225953.222@murdoch.acc.Virginia.EDU> aj3u@ra.cs.Virginia.EDU (Asim Jalis) writes: : I need to use awk and sort on files with records that are longer than : the maximum length the two utilities allow. I have looked at the man : pages and found nothing. Is there a command line option through which : I could alter the maximum record lengths? You can alter the maximum record length by running the awk script through the a2p translator and interpreting the result with perl, which has no line length limitations. Perl also has an internal sort operator, or you can use the new SysV sort if available. Larry Wall lwall@jpl-devvax.jpl.nasa.gov