有奔头
zcjl
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[ZT]读取密码的shell实例
#!/bin/bashReadPassword(){ #turn off terminal echo to prevent peeping! echo -n ">>> "$1 stty_orig=`stty -g` stty -echo read tempstr stty $stt...2010-03-23 10:57:13 · 318 阅读 · 0 评论 -
一个包含递归、数组、自增和字符串截取的shell实例脚本
#!/bin/bashA=index=0repos_url=''get_repos_url() { echo -n "Please input a repos url:" read reposURL repos_url=$reposURL}deal_trunk() { A[$index]="$1/$2" echo...原创 2010-01-27 17:27:55 · 236 阅读 · 0 评论
分享