Lösung Nr. 2: Verwenden Sie anstelle einer Liste
This commit is contained in:
parent
3b69088bcd
commit
b04b326773
2
idiot
2
idiot
@ -1,5 +1,5 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
args=$2 $3 $4 $5 $6 $7 $8 $9
|
args="${@:2:$#}"
|
||||||
case $1 in
|
case $1 in
|
||||||
"hinzufügen")
|
"hinzufügen")
|
||||||
git add $args
|
git add $args
|
||||||
|
@ -18,7 +18,7 @@ pf:close()
|
|||||||
|
|
||||||
local f = io.open("idiot", "w")
|
local f = io.open("idiot", "w")
|
||||||
f:write("#! /bin/bash\n")
|
f:write("#! /bin/bash\n")
|
||||||
f:write("args=$2 $3 $4 $5 $6 $7 $8 $9\n")
|
f:write("args=\"${@:2:$#}\"\n")
|
||||||
|
|
||||||
f:write("case $1 in\n")
|
f:write("case $1 in\n")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user