list

来自「EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。」· 代码 · 共 20 行

TXT
20
字号
# showlist <list of items>## Comments:# This is apparently an intellectual exercise, as this is most certainly# not the "best" way to do this, by any modern measure.  However, it does# demonstrate that it is possible to use a counter to iterate through the# argument list in a useful manner without using recursion of any kind.#alias showlist {	@ sl.cnt = 0	while (sl.wrd = [$($sl.cnt)])	{		echo $sl.wrd		@sl.cnt++	}	^assign -sl.cnt	^assign -sl.wrd}#Ian Frechett

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?