A question on awk and sort.

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Wed May 30 09:59:08 AEST 1990


In article <1990May28.225953.222 at murdoch.acc.Virginia.EDU> aj3u at 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 at jpl-devvax.jpl.nasa.gov



More information about the Comp.unix.questions mailing list