Mailing List Archive


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

Re: [tlug] grep sort of thing



Hi,

>>>>> In <20030611071052.97119.qmail@example.com> 
>>>>>	Jake Morrison <jake_morrison@example.com> wrote:
> Or with Perl....

if you like one liner,
----
perl -ne 'print "$&\n" if /regexp/' file...
----
$& is muched pattern.
--
                             ∧_∧
                            ミ^.^ミ E-Mail: jun@example.com

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links