X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fnon_regression_tests%2Frotate.sh;fp=tests%2Fnon_regression_tests%2Frotate.sh;h=8684f99b38395c8a244b4ba652ac3b30badf4cc9;hb=4b52da1a20a4fe031930bb96d2ca46bec06dc529;hp=0000000000000000000000000000000000000000;hpb=a223af3254fb51c279cfbccdc18c59484fdca74e;p=SXSI%2Fxpathcomp.git diff --git a/tests/non_regression_tests/rotate.sh b/tests/non_regression_tests/rotate.sh new file mode 100755 index 0000000..8684f99 --- /dev/null +++ b/tests/non_regression_tests/rotate.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +cat "$1" | sed -e 's/,/ /g' | ( +COUNT="" +MAT="" +SER="" +while read q num count mat ser +do +COUNT="$COUNT","$count" +MAT="$MAT","$mat" +SER="$SER","$ser" +done +echo "$COUNT" +echo "$MAT" +echo "$SER" +) \ No newline at end of file