in reply to Re: merge multiple files giving out of memory error
in thread merge multiple files giving out of memory error

Thank you....I tried your first solution but if we have a digit on the fourth line the program add it also. for example:
@NS ATGGCTG + @#FBH66 2
the output comes as
@NS ATGGCTG + @#FBH66 68
how do I rectify it. and how to check the memory consumption of the script.

Replies are listed 'Best First'.
Re^3: merge multiple files giving out of memory error
by choroba (Cardinal) on Mar 03, 2017 at 04:23 UTC
    Just require a space before the number:
    my @counts = $match =~ /\s\d+/g;
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,