sqlplus <--spo /tmp/sqltmp.spo cre set feedback 1 set pagesize 30 set linesize 2500 set colsep '|'; set numwidth 12; set trimout on; @/tmp/sqltmp.sql quit !
} if [ -f $1 ] then cp $1 /tmp/sqltmp.sql else
echo "" echo "$1" | sed 's/ *$//' |sed '/[^;]$/s/$/;/' > /tmp/sqltmp.sql fi