Parsing Command Line Options in Shell Scripts | Matthias Friedrich's Blog

Parsing Command Line Options in Shell Scripts | Matthias Friedrich's Blog

瀏覽:425
日期:2025-04-28
That’s a shorthand form of the for loop. Expanded it looks like this: for PARAM in “$@”; do echo $PARAM done It iterates over the arguments given to the shell script. At least those, that haven’t been removed already via the “shift” call above. If you cal...看更多