Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Netiquette [was: REGEXP in perl questiion]



Go ahead, see if _you_ can find the original content in the following
post (quoted verbatim, no cite markers).  Third time in this thread.

This being Texas,

*plonk*

>>>>> Someone who shall remain nameless quoth:

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

-----------------------------------------------------------------------
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

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links