Re: whoops!

2002-04-03 Thread Tim Rayner
On Wednesday, April 3, 2002, at 11:07 am, Mark Setzer wrote: > Hey all, > > I think I was installing libwww from CPAN and mindlessly said yes to a > couple of optional installs. Seems it overwrote my /usr/bin/head with a > perl module to interpret http HEAD calls. > > Not fun! So I've had a he

Re: Macosx-file-pm on Fink?

2002-03-27 Thread Tim Rayner
On Wednesday, March 27, 2002, at 09:05 pm, Tor Hildrum wrote: > On 25/3/02 20:10, "Phil Dobbin" <[EMAIL PROTECTED]> wrote: > >> On 25/3/02 at 04:00, [EMAIL PROTECTED] (Tor Hildrum) wrote: >> >>> This may sound a little ignorant, but does anyone know what this >>> fink-package is? >>> >>> I'm go

Re: Stored regex substitutions

2002-03-21 Thread Tim Rayner
Hi, This is how I'd do it: $data = "[03/12/2002:14:19:50]"; # to become: '2002-03-12 14:19:50' $match = '\[(\d\d)\/(\d\d)\/(\d{4}):(\d\d):(\d\d):(\d\d)\]'; if ( $data =~ /$match/){ $replace = "$3-$1-$2 $4:$5:$6"; # do variable subs explicitly after the pattern match $data =~ s/$match

Re: socket

2002-03-14 Thread Tim Rayner
Incidentally, to get a service such as 'daytime' to run, you can edit the /etc/inetd.conf file to remove the leading remark # characters from the lines referring to the service of interest. There are two lines in the case of daytime; I don't know whether both are actually required. Probably not