jb6113 abb110924c import repo "radon-stuff" | hace 3 años | |
---|---|---|
.. | ||
README.md | hace 3 años | |
page-converter-pro.php | hace 3 años | |
radon-from-eye.psv | hace 3 años | |
radon-page-4.md | hace 3 años |
shell script for generating SQL intsert statements
{ echo 'INSERT INTO radonLog (id, time, reading) VALUES ('; sed 's/|/ /g' radon-from-eye.psv |awk '{print "(\047R\047, " $2 ", " $3 "),"}'; echo ");"; }
|tee radon-from-eye.sql
use the page-converter-pro
parsing script to parse the file radon-page-4.md
to get various SQL insert statements