#!/bin/csh -fxe
# gives first six lines from specified directory
foreach i ($1/*)
head -6 $1/$i > $i.6
end

