Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Parsing Data logger files ...

by RedTussock (Acolyte)
on Oct 07, 2012 at 00:17 UTC ( #997647=note: print w/ replies, xml ) Need Help??

in reply to Re: Parsing Data logger files ...
in thread Parsing Data logger files ...

Awesome thanks ... And the open the folder and process all files in it would look something like ..

opendir XX, "/somefile/somewhere" or die "Couldn't open the directory +: $!"; while ($_ = readdir (XX)) { $/ = "\n1="; while (<>) { my @fields = split /\n/; s/^[1-6]=// for @fields; print +(join ',', @fields[0 .. 5]), "\n"; }
Sorry my perl scripting is newb in the extreme ... :-)

Comment on Re^2: Parsing Data logger files ...
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2015-10-13 17:10 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (311 votes), past polls