#!/bin/csh -f
#foreach f (`ls *.txt`)
# cat "$f" | grep 'category,' | bon_csv2html|sed "s/
/$f<\/H1>
/g" > "$f".html
#end
cp /dev/null all.csv
foreach ff (`ls *raid*.txt`)
echo $ff
set f=`basename $ff .txt`
echo "F=$f"
cat "$ff" | grep 'category,' |sed "s/category/$f/">>all.csv
cat all.csv |bon_csv2html > "out".html
end