% perl -nle 'printf "INSERT INTO rawdata VALUES (%d, %d, %d);\n", split' < data.txt | psql test