Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!wa4mei!holos0!lbr From: lbr@holos0.uucp (Len Reed) Newsgroups: comp.lang.perl Subject: Re: 'awk' test for file existance fails with nawk and gawk Message-ID: <1991Feb27.165038.4118@holos0.uucp> Date: 27 Feb 91 16:50:38 GMT References: <1991Feb25.172540.15875@uvaarpa.Virginia.EDU> Organization: Holos Software, Inc., Atlanta, GA Lines: 17 In article <1991Feb25.172540.15875@uvaarpa.Virginia.EDU> tytso@ATHENA.MIT.EDU writes: > >Well, you could use perl to test if all of the files are present.... no, >wait.... :-) This seems to be an excellent idea. You'd have to have an awk fall-back mechanism, of course, but Configure is run far more often on machines with [an earlier version of] perl already installed than on those without any perl. (Think patches.) Even the oldest perls should handle the rudimentary pattern matching needed for this task and give consistent results, which is more than one can say for the various flavors of awk. -- Len Reed Holos Software, Inc. Voice: (404) 496-1358 UUCP: ...!gatech!holos0!lbr