Friday, November 30, 2007

running xspec as a shell

John Baker just came up with a way of running xspec which hadn't occurred to me. Create a file of xspec commands with the first line as


This has the advantage that arguments can be used eg

cat > testscript.xcm
data $argv

chmod +x testscript.xcm

testscript.xcm file.pha

No comments: