Update test_array.sh
This commit is contained in:
parent
90faefff55
commit
2b509ca957
@ -4,16 +4,8 @@
|
||||
# LX13
|
||||
# Just testing arrays
|
||||
|
||||
Content=`ls`
|
||||
|
||||
Nr=0
|
||||
|
||||
for i in $Content; do
|
||||
Word[$Nr]=$i
|
||||
((Nr++))
|
||||
done
|
||||
|
||||
echo ${Word[@]}
|
||||
Content=($(ls))
|
||||
echo Content[@]}
|
||||
|
||||
exit 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user