Template:Quicktest: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
(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…')
 
(No difference)

Latest revision as of 21:57, 10 July 2011

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