Re: Find IP with a RegExp
From: Alexander Bartolich (alexander.bartolich_at_gmx.at)
Date: 01/09/04
- Next message: joe: "freeconsole and continue program?"
- Previous message: Rick: "Re: Malloc question"
- In reply to: Mark A. Odell: "Re: Find IP with a RegExp"
- Next in thread: Jeremy Yallop: "Re: Find IP with a RegExp"
- Reply: Jeremy Yallop: "Re: Find IP with a RegExp"
- Reply: Seth Morecraft: "Re: Find IP with a RegExp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Jan 2004 15:16:05 GMT
begin followup to Mark A. Odell:
> I'll answer this if you can tell me what this has to do with
> the C language.
Apart from time travel C is not very useful. Use perl instead.
$ perl -ne 'm/\d+\.\d+\.\d+\.\d+/ && print $&' < data
200.228.69.237
-- Für Google, Tux und GPL!
- Next message: joe: "freeconsole and continue program?"
- Previous message: Rick: "Re: Malloc question"
- In reply to: Mark A. Odell: "Re: Find IP with a RegExp"
- Next in thread: Jeremy Yallop: "Re: Find IP with a RegExp"
- Reply: Jeremy Yallop: "Re: Find IP with a RegExp"
- Reply: Seth Morecraft: "Re: Find IP with a RegExp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|