function test_me
{
sqlplus /nolog <<EOF
connect / as sysdba
oradebug dump systemstate 266
oradebug tracefile_name
EOF
}
function check_me
{
ssh ${HST2} "$(typeset -f); test_me"
}
ssh ${HST1} "$(typeset -f); check_me"
函数test_me的定义在HST1上看起来不错,但是在EOF上被截断到HST2,失败,并且没有匹配的<< >>
有人有解决方法吗?
function test_me {sqlplus / nolog << [