in reply to splitting files

perl -pe '/^SS/ and (open STDOUT, ">",$ARGV . $count++ or die)' thebi +gfile.txt
should split nicely to thebigfile.txt0, thebigfile.txt1...

print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});