Re: sed question
From: Johan Braennlund (johan_brn_at_yahoo.com)
Date: 08/31/03
- Previous message: putipujec_at_kyokodate.com: "(no subject)"
- Maybe in reply to: John Habermann: "sed question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Sun, 31 Aug 2003 16:10:09 +0200 (CEST)
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
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: putipujec_at_kyokodate.com: "(no subject)"
- Maybe in reply to: John Habermann: "sed question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|