Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: REGEXP in perl questiion
- To: tlug@example.com
- Subject: Re: REGEXP in perl questiion
- From: Matt Doughty <mdoughty@example.com>
- Date: Wed, 23 May 2001 18:45:15 +0900
- Content-Disposition: inline
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <F257jbudzxxfYXFrwiZ0001047f@example.com>; from jean_christian@example.com on Wed, May 23, 2001 at 09:24:25AM -0000
- References: <F257jbudzxxfYXFrwiZ0001047f@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <KGW8PB.A.L4.ya4C7@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.2.4i-jp0
On Wed, May 23, 2001 at 09:24:25AM -0000, Jean-Christian Imbeault wrote: > Thanks! Your second option worked, but the first one did not. > > >From your first email I tried: > > if ( $_ =~ /^Subject: /) { > if ($_ =~ "Cron") { > #Extract the name of the prog that cron lauched #try that instead: $PROGNAME =~ s/.*\/([^\s]+).*/$1/; > print "The program called by cron was $PROGNAME\n"; > #If this cron job is expected remove it from the list > } > } > > But it just printed out blanks. > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > ----------------------------------------------------------------------- > Next Technical Meeting: Sat, May 12 13:30- > Next Nomikai Meeting: Fri, June (TBA) 19:30- Tengu Tokyo Eki Mae > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Netiquette [was: REGEXP in perl questiion]
- From: "Stephen J. Turnbull" <turnbull@example.com>
- References:
- Re: REGEXP in perl questiion
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: REGEXP in perl questiion
- Next by Date: Re: REGEXP in perl questiion
- Prev by thread: Re: REGEXP in perl questiion
- Next by thread: Netiquette [was: REGEXP in perl questiion]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links