Re: OT: a problem about text manipulation
- From: Joe Klemmer <klemmerj@xxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 11:19:45 -0500
On Tue, 2006-10-31 at 07:03 -0800, Benjamin Franz wrote:
#!/usr/bin/perl -na
foreach my $i (@F) { ($i =~ m/^[0-9]+$/) ? $a = $i : print "$a $i\n" }
:)))
Heh, looks good to me. ;-)
--
Boring Home Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other interesting junk
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- OT: a problem about text manipulation
- From: Paul Smith
- Re: OT: a problem about text manipulation
- From: Benjamin Franz
- Re: OT: a problem about text manipulation
- From: Joe Klemmer
- Re: OT: a problem about text manipulation
- From: Benjamin Franz
- OT: a problem about text manipulation
- Prev by Date: Re: NFS, SELinux and firewalls
- Next by Date: Re: Ethereal no FC6
- Previous by thread: Re: OT: a problem about text manipulation
- Next by thread: Re: OT: a problem about text manipulation
- Index(es):
Relevant Pages
|