Re: parsing problem

2010-12-09 Thread Joao Ferreira gmail
cool :) u'r wellcome glad to help... I'm much more an asker on this list, rather than a responder... glad to be of some help for a change :) cheers j BTW: Perl rules ! Most incredible language in the World. ! On Thu, 2010-12-09 at 12:47 -0500, Bernard Fay wrote: > Wonderful Works l

Re: parsing problem

2010-12-09 Thread Bernard Fay
Wonderful Works like a charm. A few year ago I used Perl a lot but I lost my hand at it. Your idea of Perl helped me to fix another problem with the same file: non-breaking space. Perl and \xA0 fixed it for me. Thanks a lot Joao, Bernard On Thu, Dec 9, 2010 at 12:00 PM, Joao Ferreira gmail

Re: parsing problem

2010-12-09 Thread Axel Freyn
Hi On Thu, Dec 09, 2010 at 11:33:13AM -0500, Bernard Fay wrote: > Hi, > > I have long strings to parse which have permanent and variable information. > Somewhere in the strings we have something like " Handle: 0x12a7 > ". Handle is permanent and 0x12a7 is variable. I wish to be able to

Re: parsing problem

2010-12-09 Thread ghe
On 12/9/10 9:33 AM, Bernard Fay wrote: I think awk might be the tool to use but I not too good at it yet. How's your Perl? -- Glenn English g...@slsware.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.d

Re: parsing problem

2010-12-09 Thread Joao Ferreira gmail
On Thu, 2010-12-09 at 11:33 -0500, Bernard Fay wrote: > Hi, > > > I have long strings to parse which have permanent and variable > information. Somewhere in the strings we have something like " > Handle: 0x12a7 ". Handle is permanent and 0x12a7 is variable. I > wish to be able to extr