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.
|
|---|