Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Extracting numerical information

by frozenwithjoy (Priest)
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)?

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041075]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-05-27 00:02 GMT
Find Nodes?
    Voting Booth?