| 查看: 698 | 回复: 1 | ||
lindlar0078木虫 (著名写手)
|
[求助]
Shell脚本出错,求解答
|
|
运行脚本时,出现如下错误,不知道是什么原因,求解答? ab: line 5: : command not found awk: /Inte\(R\) Fortran Inte\(R\) 64 Compiler XE for applications running on Intel\(R\) 64,/ {if (length($14) > 0) print $14};\ awk: ^ 反斜杠不是行的最后一个字符 脚本内容如下: !/bin/sh ` ifort -V 2>&1 | \ awk '/Inte\(R\) Fortran Inte\(R\) 64 Compiler XE for applications running on Intel\(R\) 64,/ {if (length($14) > 0) print $14};\ /^Version / {print $2}'` if [ ${#version} -ge 3 ]; then majorvsn=`echo $version | sed -e 's/\..*//'` minorvsn=`echo $version | sed -e 's/^[^\.]*.//'` fi |
» 猜你喜欢
越来越担心硕士毕业后没有竞争力了
已经有14人回复
论文的挂名怎么评判贡献?基金申请中,排名第一的挂名文章
已经有3人回复
申博自荐 2篇一区TOP+1篇EI+2公开发明专利 2027博士申请
已经有3人回复
闲聊
已经有6人回复
申博求助
已经有4人回复

chembetsey
木虫 (小有名气)
- 应助: 125 (高中生)
- 金币: 3820.1
- 散金: 5
- 红花: 9
- 帖子: 262
- 在线: 281.8小时
- 虫号: 1781694
- 注册: 2012-04-27
- 专业: 理论和计算化学
2楼2012-12-04 05:03:21










回复此楼