【发布时间】:2021-01-27 10:56:51
【问题描述】:
我在运行下面的简单代码时遇到问题:
#!/bin/ksh
set -x
function test_me
{
set -x
date
}
function check_me
{
set -x
ssh ${HST2} "$(typeset -f test_me); test_me"
}
ssh ${HST1} "$(typeset -f); check_me"
在第 5 行出现语法错误失败:`;;'出乎意料
【问题讨论】: