#!/bin/bash export PGUSER=dany export PGPASSWORD=dany export PGHOST=localhost export PGDATABASE=rel70dossier48 export PGPORT=5432 ( echo "" ) > ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( echo "" ) >> ../include/database.item.php ( psql -A -F" " -t -c "select '\jrn_def_negative_warning[]=_('''||replace(jrn_def_negative_warning,'''',E'\\\\''')||''');' from jrn_def where coalesce(trim(jrn_def_negative_warning),'')!='';" echo "?>" ) >> ../include/database.item.php echo "File ../include/database.item.php is created"