Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!caen!sol.ctr.columbia.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.lang.perl Subject: Re: Wanted: date parsing lib Message-ID: <-_J+J#F@smurf.sub.org> Date: 9 May 91 02:32:35 GMT References: <1991May08.053158.20695@convex.com> Organization: University of Karlsruhe, FRG Lines: 17 In comp.lang.perl, article <1991May08.053158.20695@convex.com>, tchrist@convex.COM (Tom Christiansen) writes: < From the keyboard of lmjm@doc.ic.ac.uk (Lee McLoughlin): < :I currently pass dates out to a little program that uses getdate and < :strftime to do the work. But that is very slow. < < If you can manage to pass getdate more than one arg at a time, preferably < as many as your system will allow, it's not so bad. < Or you can hack misc/getdate.c to accept date strings on stdin, one per line, if there are no arguments on the command line. Opening a bidirectional pipe in Perl isn't that hard; don't forget to turn off stdio buffering (both in your Perl script and in getdate). -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/