Re: [CentOS] OT: grep regex pointer appreciated

2011-03-07 Thread Bill Campbell
On Mon, Mar 07, 2011, Robert Grasso wrote: >Hello, >On my opinion, grep is not powerful enough in order to achieve what you >want. It would be preferable to use at least some (old but powerful) tools >such sed, awk, or even better : perl. Actually, what you need is a tool >providing a capture buff

Re: [CentOS] OT: grep regex pointer appreciated

2011-03-07 Thread Patrick Lists
On 03/07/2011 12:23 PM, Robert Grasso wrote: > Hello, > > On my opinion, grep is not powerful enough in order to achieve what you want. > It would be preferable to use at least some (old but > powerful) tools such sed, awk, or even better : perl. Actually, what you need > is a tool providing a ca

Re: [CentOS] OT: grep regex pointer appreciated

2011-03-07 Thread Robert Grasso
oyé : 5 mars 2011 23:14 > À : CentOS mailing list > Objet : [CentOS] OT: grep regex pointer appreciated > > Hi, > > My grep regex foo is not very good and googling is getting me > nowhere so > hopefully someone is kind enough to give me some pointers. > > Go

Re: [CentOS] OT: grep regex pointer appreciated

2011-03-05 Thread Nico Kadel-Garcia
On Sat, Mar 5, 2011 at 5:13 PM, Patrick Lists wrote: > Hi, > > My grep regex foo is not very good and googling is getting me nowhere so > hopefully someone is kind enough to give me some pointers. > > Goal: grep (non .dbg) filenames and versions from a ftp dir listing and > a raw html file: > > $

[CentOS] OT: grep regex pointer appreciated

2011-03-05 Thread Patrick Lists
Hi, My grep regex foo is not very good and googling is getting me nowhere so hopefully someone is kind enough to give me some pointers. Goal: grep (non .dbg) filenames and versions from a ftp dir listing and a raw html file: $ wget --no-remove-listing -O ftp-index.txt ftp://127.0.0.1/test/ $ w