会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
elix
CnBlogs
Home
New Post
Contact
Admin
Subscription
随笔分类 -
Shell
shell “integer expression expected”**1
摘要:输入一个成绩值,大于90,得A,大于80得B,其他得C!脚本如下:#!/bin/bash read scoreif ["score" -lt 0 -o "score" -gt 100 ] then echo "iput:"elif [ "score" -ge 90 ] then echo "A"el...
阅读全文
posted @
2015-10-23 13:13
elix
阅读(8402)
评论(0)
推荐(0)
公告