Template:Quicktest

From NEOSYS Dev Wiki
Revision as of 21:57, 10 July 2011 by Steve (talk | contribs) (Created page with ' testsort listfiles #python one liner to write a multivalue database record (after creating xyzfile) createfile xyzfile python -c 'from exodus import *;print var("abc123").w…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
testsort
listfiles
#python one liner to write a multivalue database record (after creating xyzfile)
createfile xyzfile
python -c 'from exodus import *;print var("abc123").write("xyzfile","key123")'
#perl one liner to read back the record
#the syntax is long winded because exodus isnt properly implemented in perl yet
perl -e 'use exo;$record=new exo::var(""); $filename=new exo::var("xyzfile"); $key=new exo::var("key123"); \
 print $record->read($filename,$key);print $record,"\n"'
list xyzfile
deletefile xyzfile