#!/local/bin/perl $side= 435; #Sjekk startverdi while (<>) { s///; s///; if (//) {$side++;}; s/\s+/ /g; print "$_"; }