system ("sort -k 1,1 -k 4n -T $workingDir $name >tempLoc_$name")==0 or die "$0 failed to sort $name";
So this piece of code fails on windows because I think the -k is interpreted as specifying the input twice. How would I change this so that its as equivalent as possible but runs on windows?
Thanks