Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Extracting numerical information

by frozenwithjoy (Curate)
on Jun 27, 2013 at 18:45 UTC ( #1041075=note: print w/ replies, xml ) Need Help??


in reply to Extracting numerical information

Can you give a few more line examples so we can know what patterns there may be? And just to make sure, you don't want to extract the 4th stretch of characters that contains numbers (0x03bb9d42)?


Comment on Re: Extracting numerical information
Re^2: Extracting numerical information
by tracer (Initiate) on Jun 27, 2013 at 19:00 UTC

    There are a number of lines like the one I have given as an example.

    66.411709: TDSCDMA:M tfw_stmr.c:697 | tfw_walltime_isr: WALL 0x0164761a, status=0x00000001

    Extract: 66.411709 and 0x0164761a

    66.411736: TDSCDMA:L tfw_ce_proc.c:1484 | CE: sfn 955, slot 5 has 1 CE calls scheduled.

    Extract: 66.411736 and 1.

    66.411737: TDSCDMA:L tfw_ce_event_queue.c:196 | CE: Enqueue pending event 113 (type 12, sfm 955, slot 5, dvga=6)

    Extract: 66.411737 and 113.

    66.411720: TDSCDMA:L tfw_ulc.c:370 | ULC: Processing (start:end) 0x0164766c : 0x01647683, Subframe: 0x03bb, TS: 0x5

    extract: 66.411720, 0x0164766c and 0x01647683

      What are your criteria?

      IOW, in the first sample, why aren't "697" and "0x00000001" just as much "numerical information" as those values you're seeking to extract?

      For future reference, I know what I mean. Why don't you?


      If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041075]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-12-29 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls