#!/bin/tcsh

# convert from windows EOL to unix EOL, overwrite original file
foreach dat (*.dat)
vi "+se ff=unix" "+x" $dat
end

# reformat from Trios file format to matlab (table) format, change file name
foreach dat (*.dat)
./dat2spec_ip.awk $dat > $dat:ar.spec
end


