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

Re: sed question



In article <qzF1.2Vz.17@gated-at.bofh.it> you wrote:
> I tried: 
> cat temp | sed 's/^[[:alpha:]]*[[:space:]]*//' > log

> Where temp is: 

> test.wilderness.org.au/about_us/whatistwsck 
> 203.48.59.163 - - [26/Aug/2003 08:14:01] "GET 
> http://test.wilderness.org.au/about_us/whatistws HTTP/1.0" 200 20872 "-" 
> "Dillo/0.7.3" TCP_MISS:DIRECT

> but that just removes the test from .wilderness.... 

If you don't mind using awk instead of sed, try 

cat temp |awk '$1="";{print}'

Regards,

Johan



Reply to: