-1 我正在学习shell脚本,所以有人可以请一些例子解释什么是getopts和IFS?getopts和IFS在shell脚本中的含义是什么? 来源 2011-11-26 New User +1 你需要这个'http:// tldp.org/guides.html' –
5 getopts是用于解析传递参数的工具。 IFS(Internal Field Separator)是决定bash如何区分单词的变量。 没有违法,但简单Googlesearch会给你答案&样本:) 希望这会有所帮助! 来源 2011-11-26 10:00:08
你需要这个'http:// tldp.org/guides.html' –