#!/bin/bash set="pc3.arff pc4.arff" for file in $set do # echo "Running arff/defect/$file" name=`echo $file | cut -d'.' -f1` /usr/bin/env python cliff_defect.py 5 5 defect/$file > results6/$name.csv done