[nycbug-talk] Re: Simple sed question

Francisco Reyes lists
Fri Jan 7 13:48:42 EST 2005


On Fri, 7 Jan 2005 francisco at natserv.com wrote:

> 507     AllianceBer Intl PremGr C     AIPCX   8.29    -2.24   -1.54
> 508     AllianceBer Intl PremGrAd     AIPYX   8.87    -1.88   -0.67
> 509     AllianceBer Intl Val A        ABIAX   14.91   5.59    9.79
> 510  AllianceBer Intl Val A    ABIAX   14.91   5.59    9.79
> 511 AllianceBer Intl Val A    ABIAX   14.91   5.59    9.79
> 512 AllianceBer Intl Val A    ABIAX   14.91   5.59    9.79

Got it. :-)
s/^[0-9]*[<space<tab>]*//


I think 90% of using sed/awk is learning to master regular expressions. 
:-(




More information about the talk mailing list