Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Bash script to perl script

by RonW (Parson)
on Jun 24, 2016 at 23:50 UTC ( [id://1166539]=note: print w/replies, xml ) Need Help??


in reply to Bash script to perl script

There is a2p that can convert most AWK scripts into Perl code.

If you do as Hippo suggested, incorporating your grep pattern into AWK:

awk '/R35LD1A/ && ($2**2 <0.00001&&$3**2.<0.0001){ ...

then a2p will include that in the Perl code it generates.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found