#!/bin/bash for implementation in $(find -maxdepth 1 -mindepth 1 -type d); { cd $implementation/ cp ../test.c test.c cp ../sdbm.h sdbm.h gcc -ansi -pedantic -Wall -Wextra -std=c99 -O -o test sdbm.o sdbm.h test.c (pwd)>>../REPORT ./test 2>../REPORT > ../REPORT # echo "HELLO" cd .. }