摘要:
其中getopts ‘dm’ option是指代你输入命令-d -m ,此处可以写:dm shift is a bash built-in which kind of removes arguments from the beginning of the argument list. Given t 阅读全文
posted @ 2018-10-23 19:03
uxiuxi
阅读(132)
评论(0)
推荐(0)
摘要:
set -- The -- is the standard "don't treat anything following this as an option" 不把后面的string 看成选项(直接看成参数) [root@hy ~]# cat set2.sh#!/bin/bash var="1 2 阅读全文
posted @ 2018-10-23 18:30
uxiuxi
阅读(251)
评论(0)
推荐(0)
摘要:
回武汉一年,工作用不到太多脚本及编程,都废弃了,感觉要捡起来。需要重新温习学习了 阅读全文
posted @ 2018-10-23 18:20
uxiuxi
阅读(120)
评论(0)
推荐(0)
浙公网安备 33010602011771号