Path: utzoo!attcan!uunet!ncrlnk!ncrcae!sauron!wescott From: wescott@Columbia.NCR.COM (Mike Wescott) Newsgroups: comp.unix.wizards Subject: Re: 'lex' with argc > 2 (was Re: Why isn't argv[argc]==(char *)0 ?) Message-ID: <1819@sauron.Columbia.NCR.COM> Date: 24 Nov 89 03:49:34 GMT References: <547.nlhp3@oracle.nl> <11606@smoke.BRL.MIL> <1979@uwbull.uwbln.UUCP> <3053@cello.UUCP> <477@mwtech.UUCP> Sender: news@sauron.Columbia.NCR.COM Reply-To: wescott@micky.Columbia.NCR.COM (Mike Wescott) Distribution: comp Organization: E&M-Columbia, NCR Corp, W Columbia, SC Lines: 17 In article <477@mwtech.UUCP> martin@mwtech.UUCP (Martin Weitzel) writes: > Now my question to all *real* wizards: The man page for 'lex' > states, that there may be more than one file argument. Besides, > that this doesn't seem to be of much worth (a rather crude include > mechanism?), it doesn't work on most system (core dump or worse++). Not fixed in V.3.2, probably fixed in V.4 by restricting to one input file. A patch to fix this and several other lex bugs was posted about a year ago to comp.bugs.sys5, I'll mail it to anyone that needs it. I guess that I'm not a wizard since my answer didn't begin with "It depends ..." -- -Mike Wescott mike.wescott@ncrcae.Columbia.NCR.COM