shift.1

来自「莱昂氏UNIX源代码分析UNIXv6src.tar.gz」· 1 代码 · 共 39 行

1
39
字号
.th SHIFT I 8/21/73.sh NAMEshift \*- adjust Shell arguments.sh SYNOPSIS.bd shift.sh DESCRIPTION.it Shiftis used in Shell command files to shift theargument list left by 1,so that old.bd $2can now be referred to by.bd $1and so forth..it Shiftis useful to iterate over several argumentsto a command file.For example, the command file.s3.lp +5 0: loop.brif $1x = x exit.brpr \*-3 $1.brshift.brgoto loop.s3.i0prints each of its arguments in 3-column format..s3.it Shiftis executed within the Shell..sh "SEE ALSO"sh (I).sh BUGS

⌨️ 快捷键说明

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