ex19.sh

来自「一本完整的描述Unix Shell 编程的工具书的所有范例」· Shell 代码 · 共 17 行

SH
17
字号
#!/bin/bash# Using 'shift' to step through all the positional parameters.#  Name this script something like shft,#+ and invoke it with some parameters, for example#          ./shft a b c def 23 skidoountil [ -z "$1" ]  # Until all parameters used up...do  echo -n "$1 "  shiftdoneecho               # Extra line feed.exit 0

⌨️ 快捷键说明

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