From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 11 Dec 2007 13:32:43 +0000 From: "roger peppe" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] rc: token buffer too short In-Reply-To: <20071201190953.GA788@shodan.homeunix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33F4A474-6B5E-4A40-8361-A131770B900F@mac.com> <20071201190953.GA788@shodan.homeunix.net> Topicbox-Message-UUID: 153906d4-ead3-11e9-9d60-3106f5b1d025 a reason to use here files? :-) On Dec 1, 2007 7:09 PM, Martin Neubauer wrote: > Apparrently in quoted strings each character (rune, actually) constitutes > one token. The lexical scanner only holds NTOK (==8192) tokens at a time and > sam and wc convince me you have a 8555 byte string you pass to awk. You > should probably put the awk stuff into a separate file eg.awk and just do > `awk -f eg.awk $*' in eg (cf. chem(1) ). You might have to fiddle with where > you put things, but that seems to be the easiest way out. > > Martin > > > * Pietro Gagliardi (pietro10@mac.com) wrote: > > Run /n/sources/contrib/pietro/eg (a work-in-progress troff > > preprocessor for graphs of equations). You get the error described > > above on a line that contains simply "else". What happened? >