Mailing List Archive

Support open source code!


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

Re: REGEXP in perl questiion



On Wed, May 23, 2001 at 07:09:21PM +0900, Matt Doughty wrote:
> why not:
>  perl -ne '/^Subject: Cron <.*?> (\S+)/ && print (split(/\//,$1))[-1] . "\n"' < file

Because it's a syntax error.

-- 
"Consider a spherical bear, in simple harmonic motion..."
		-- Professor in the UCB physics department


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links