Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!diku!kimcm From: kimcm@diku.dk (Kim Christian Madsen) Newsgroups: comp.unix.questions Subject: Re: using awk with records that have over 100 fields Keywords: awk Message-ID: <1991Jan3.163135.26606@odin.diku.dk> Date: 3 Jan 91 16:31:35 GMT References: <1560@manta.NOSC.MIL> <1990Dec31.200723.7929@convex.com> <1991Jan1.190259.868@csn.org> Sender: news@odin.diku.dk (Netnews System) Organization: Institute of Computer Science, U of Copenhagen Lines: 14 skwu@boulder.Colorado.EDU (WU SHI-KUEI) writes: >No need for 'perl', a boon to the majority of UNIX users that do not use it. >Simply replace the first, white space field separator with a some, otherwise >unused glyph (i.e. @) using 'sed' and then set the awk FS to that glyph. That (awk) solution will not work, at least not on most System V systems, since the number of allowable fields in each record is hardcoded into the source code. If you have the source code you can increase the number and recompile. If not I suggest you find another tool, Tom Christensen has provided a pointer to one of the more useful ones. Best Regards Kim Chr. Madsen