当前位置: 技术问答>linux和unix
请帮忙看看问题出在那里,不是很懂这个。
来源: 互联网 发布时间:2014-12-30
本文导语: cat db.ini |awk '{ print "/sybase/bin/isql -U" $1,"-P" $2,"-S" $3 }' | read db read phone read phone1 if (test $phone != $phone1) then echo 'input error' else $db where phone="$phone1" go ...
cat db.ini |awk '{
print "/sybase/bin/isql -U" $1,"-P" $2,"-S" $3
}' | read db
read phone
read phone1
if (test $phone != $phone1)
then
echo 'input error'
else
$db where phone="$phone1"
go
exit
!
fi
提示错误:
0403-057 Syntax error at line 10 : `
print "/sybase/bin/isql -U" $1,"-P" $2,"-S" $3
}' | read db
read phone
read phone1
if (test $phone != $phone1)
then
echo 'input error'
else
$db where phone="$phone1"
go
exit
!
fi
提示错误:
0403-057 Syntax error at line 10 : `