#! /opt/bin/dash # PATH="/bin:/usr/bin"; export PATH (cat node1.out; echo ",") | paste -d, - nodes1-4.out | awk -F, ' BEGIN { printf("%18s%17s\n", "secs", "speedup"); printf(" n 1 node 4 nodes ratio\n"); } { printf("%4i %9.2f %9.2f %9.2f\n", $3, $2, $4, $2/$4); }' > node1,1-4-table.out