#!/bin/sh make additive for a in `seq 2 15`; do echo "----------------------------" echo "test$a.txt" `ls -lh "test$a.txt" | cut -d' ' -f 5` /usr/bin/time --format "%e real %U user %S system" ./additive $* < "test$a.txt" done