$* » History » Version 1
Per Amundsen, 12/14/2015 05:30 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$** |
||
4 | |||
5 | This is a special identifier which can be used to loop a script line for each token in [[$1-]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | ; Create a loopme alias. |
||
11 | alias loopme { |
||
12 | echo -ag Current token is $* |
||
13 | } |
||
14 | |||
15 | ; Call the loopme alias. |
||
16 | /loopme a b c d e f g |
||
17 | </pre> |