Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!haven!uvaarpa!mmdf From: worley@compass.com (Dale Worley) Newsgroups: comp.lang.perl Subject: Regexps (was Re: Changing the first character of a string.) Message-ID: <1990Jul6.141247.18478@uvaarpa.Virginia.EDU> Date: 6 Jul 90 14:12:47 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: worley@compass.com Organization: The Internet Lines: 31 From: merlyn@iwarp.intel.com (Randal Schwartz) In article <1990Jul5.135434.11673@uvaarpa.Virginia.EDU>, worley@compass (Dale Worley) writes: | OK, where is it written down? Say "man egrep" on any sane machine. Or "man ed" for an even older reference. Well so it does. However, that's new with SunOS 4.0. On 3.5 "man egrep" said there was no such topic -- you had to say "man grep". (Whether you consider SunOS "sane" is a matter of debate...) I will also note that the Perl manual page nowhere mentions the egrep man page -- it mentions the "version 8 regexp routines", which I don't have, whatever they are. ("man ed" is useless, because ed's regular expressions are only a tiny subset of Perl's.) But how about putting this stuff into the manual page? I'm forever trying to figure out exactly what the rules are for regexps in program foo, because they're rarely exactly documented, or given as "exactly like program bar except when there's a new moon and you're wearing a yellow necktie..." It'd be nice if Perl did it right. Gripe, gripe, Dale Worley Compass, Inc. worley@compass.com -- Be nice. If you can't be nice, be good. If you can't be good, be careful. If you can't be careful, name it after me.