small fixes
This commit is contained in:
parent
32c2122032
commit
e99d1c755f
|
@ -19,7 +19,9 @@ done
|
||||||
|
|
||||||
input="${@}"
|
input="${@}"
|
||||||
max="${#input[@]}"
|
max="${#input[@]}"
|
||||||
echo "${input[@]}"
|
echo 0 "${input[0]}"
|
||||||
|
echo 1 "${input[1]}"
|
||||||
|
echo 2 "${input[2]}"
|
||||||
for i in $(seq 1 "${max}"); do
|
for i in $(seq 1 "${max}"); do
|
||||||
if [[ "${i}" == "${#input[@]}" ]]; then
|
if [[ "${i}" == "${#input[@]}" ]]; then
|
||||||
echo diskp "${input[$i]}"
|
echo diskp "${input[$i]}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user