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 19:09:21 +0900
- Content-Disposition: inline
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20010523110240.B23741@example.com>; from simon@example.com on Wed, May 23, 2001 at 11:02:40AM +0100
- References: <3B0B88E9.23238.001@example.com> <20010523110240.B23741@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <hgfLVD.A.QAB.Zx4C7@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.2.4i-jp0
On Wed, May 23, 2001 at 11:02:40AM +0100, Simon Cozens wrote: > On Wed, May 23, 2001 at 06:54:49PM +0900, Viktor Pavlenko wrote: > > perl -ne '/^Subject: Cron <.*?> (\S+)/ && print "$1\n"' < file why not: perl -ne '/^Subject: Cron <.*?> (\S+)/ && print (split(/\//,$1))[-1] . "\n"' < file > > That doesn't get the base name of the program, but it can be done trivially > with File::Basename. > > -- > Um. There is no David conspiracy. Definitely not. No Kate conspiracy either. > No. No, there is definitely not any sort of David conspiracy, and we are > definitely *not* in league with the Kate conspiracy. Who doesn't exist. And > nor does the David conspiracy. No. No conspiracies here. - Thorfinn, ASR > > ----------------------------------------------------------------------- > 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:
- Re: REGEXP in perl questiion
- From: Simon Cozens <simon@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>
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: Re: REGEXP in perl questiion
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links