Last active
August 29, 2015 14:02
-
-
Save thelahunginjeet/d1cf6da0050ce53260f5 to your computer and use it in GitHub Desktop.
example fish shell script that chews through multiple .cfg files for a utility that requires them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.cfg | |
echo 'Working on' $f | |
set out (basename $f .cfg).out | |
set err (basename $f .cfg).err | |
<myprog> --config=$f >$out ^$err | |
python process_output.py -input=$out -output=results.dat | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment