当我执行以下命令时,它可以正常工作(它提供了文本文件之间的差异)
diff <(sed -n '/eTopUp MU(55) Gateway Status1:/,/eTopUp MU(60) Gateway Status:/p' /root/scripts/msmscgateway |grep "CIMD2:" |awk '{print $1, $2}') <(sed -n '/eTopUp MU(55) Gateway Status1:/,/eTopUp MU(60) Gateway Status:/p' /root/scripts/last/msmscgatewaylast |grep "CIMD2:" |awk '{print $1, $2}')
当我通过脚本运行它时,它给出了以下错误
test4.sh: line 1: syntax error near unexpected token `(' t
帮我修复错误