由买买提看人间百态

topics

全部话题 - 话题: echon
(共0页)
F******l
发帖数: 90
1
来自主题: Unix版 - [转载] [Q] sh under Redhat9.0
【 以下文字转载自 Linux 讨论区 】
【 原文由 Football 所发表 】
run a script file through sh (worked under 7.2), but didn't work.
stopped at the line:
if [ x`echo -n` = x ]; then
echon()
{
echo -n "$*"
}
elif....
....
the error msg is:
'nstall': line 1: syntax error near unexpected token `
'nstall': line 1: ` echon()
anybody help me modify the command line or other ideas?
thanks a lot.
(共0页)