develooper Front page | perl.beginners | Postings from February 2002

clearing string (newbie) - resuming

Dittrich G . Michael
February 12, 2002 06:37
clearing string (newbie) - resuming
Message ID:
Hi all!

i had a lot of feetback on my last post with really good stuff (I used for other purposes - please don't mind :), but there is still the one question: clear the string! - how?

the most solutions worked only for one digit in the end or tryed to filter the first pattern after the [:space:]...

....then let me pick together every kind of expresions there could be: (the "x" and "y" means variables)

..iso. = y

..iso. = "YYYYYY YYY YYYY"

..iso. = "YYY" hex:YY YY YY

..iso. = Timeticks: (y) yy:yy:yy.yy

..iso. = y
(shorter OID's like that are possible!!!)

- You see? I need only the "Y's"!

For BurnShell I got the solution, but I would relly do all this in perl!

I know it's tricky! I don't need the hole pice of the puzzle - only enough to crack this nut :)

Thanks in forward

Michael G. Dittrich

PS: the script is still not finished and the possibility is big, that there will be more different kind of expressions, but I hope I could show the mechanism of work of the hole bunch... :)
-- - meine stadt im netz. Jetzt eigene eMail-adresse sichern! Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About