Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site inmet.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!bbnccv!inmet!keenan From: keenan@inmet.UUCP Newsgroups: net.unix Subject: Re: Re: /etc/config bug on a SUN-100?? Message-ID: <9200015@inmet.UUCP> Date: Sun, 1-Sep-85 11:55:00 EDT Article-I.D.: inmet.9200015 Posted: Sun Sep 1 11:55:00 1985 Date-Received: Wed, 4-Sep-85 06:27:50 EDT References: <1378@umcp-cs.UUCP> Lines: 14 Nf-ID: #R:umcp-cs:-137800:inmet:9200015:000:570 Nf-From: inmet!keenan Sep 1 11:55:00 1985 A similar problem lies with the parser used by expr(1). Most versions of expr have a length operator used thusly: expr length However the string must not be any of the other expr operators. For example: expr length length gives a syntax error. The problem is that the scanner knows about the keywords and returns the token instead of the string. --keenan ross UUCP: {bellcore,ima,ihnp4}!inmet!keenan Intermetrics, Inc. INTERNET: ima!inmet!keenan@CCA-UNIX.ARPA 733 Concord Ave. Cambridge, MA 02138 PHONE: (617) 661-1840