list - 建立一个列表
list ?arg arg ...?
这个命令返回由所有 arg 组成的一个列表,如果未指定 arg
则返回一个空串。可按需要增加花括号和反斜线,这样就可以在结果上使用 index
命令来提取原始的参数,还可以用 eval
执行这个结果列表,(执行时)加上由这个命令的名字组成的
arg1 和又它的参数组成的其他 args 。List 与
concat 生成的结果有细微的区别: concat
在形成列表之前去除一层组合,而 list
直接用原始参数来工作。例如,命令
list a b {c d e} {f {g h}}
将返回
a b {c d e} {f {g h}}
而加了同样参数的 concat
将返回
a b c d e f {g h}
元素, 列表
Copyright © 1993 The Regents of the University of California.
Copyright © 1994-1996 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.
[中文版维护人]
寒蝉退士
[中文版最新更新]
2001/09/06
《中国 Linux 论坛 man 手册页翻译计划》:
www.CMPP.net