#!/bin/bash

i=1; 
for n in 32768 16384 8192 4096 512 256 128 64 16 1;
do
    cc -Wall -DBUFFSIZE=$n simple-cat.c;
    echo "File : file"$i
    time ./a.out < tmp/file$i > tmp/file$i.copy;
    i=$(( $i + 1 ));
done
