- 博客(3)
- 收藏
- 关注
原创 login 与 rlogin
login Indicates whether the user can log in to the system withthelogin command. Possible values are: trueThe user can log in to the system. This is the default.false The user cannot log in to the
2013-02-06 06:24:52
639
原创 Lua tricks [1]
table.concat 【函数说明】 Lua中table库提供的字符串连接函数,可以将一个序列内的字符串元素连接成一个长字符串。功能与“..”操作符类似,但鉴于".."操作符每次拼接字符串时,都会对字符串进行内存拷贝,所以该函数在拼接长字符串的时候性能较好。 【用法】 函数变参个数为4,依次为字符串序列、拼接符、起始元素下标、终止元素下标。 [vimos@vimos Doc
2012-11-25 14:05:01
335
原创 Bash 4.1条件正则表达式与3.1的改变之处
工作中,同一脚本在bash 3.1下执行成功,但在4.1环境下失败。 查询相关资料,发现是3.2版本新增的特性: f. Quoting the string argument to the [[ command's =~ operator now forces string matching, as with the other pattern-matching operato
2012-11-22 21:58:50
713
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人