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: Simon Cozens <simon@example.com>
- Date: Wed, 23 May 2001 11:28:52 +0100
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20010523190921.F5075@example.com>; from mdoughty@example.com on Wed, May 23, 2001 at 07:09:21PM +0900
- References: <3B0B88E9.23238.001@example.com> <20010523110240.B23741@example.com> <20010523190921.F5075@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <WdfzG.A.-BB.oD5C7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: Simon Cozens <simon@example.com>
- User-Agent: Mutt/1.3.17i
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
- Follow-Ups:
- Re: REGEXP in perl questiion
- From: Matt Doughty <mdoughty@example.com>
- References:
- Re: REGEXP in perl questiion
- From: vp@example.com (Viktor Pavlenko)
- Re: REGEXP in perl questiion
- From: Simon Cozens <simon@example.com>
- Re: REGEXP in perl questiion
- From: Matt Doughty <mdoughty@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: REGEXP in perl questiion
- Next by Date: datetime queries in postgres
- Prev by thread: Re: REGEXP in perl questiion
- Next by thread: Re: REGEXP in perl questiion
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links