Mailing List Archive


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

Re: [tlug] GREP basics




> 
> From: Godwin Stewart <gstewart@example.com>
> Date: 2003/01/30 Thu AM 10:10:53 EST

> What if there's more than one occurance of <hdwh> on the same line?
>

perl -ne '$m += split /<hdwd>/; --$m; END {print "$m\n"}' *

Viktor


Attachment: reply
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links