Started övning 4, labb 6

This commit is contained in:
2013-12-19 15:29:29 +01:00
parent 71534704f2
commit b446f85659
7 changed files with 171 additions and 0 deletions

19
Labb6/test_array.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Jack-Benny Persson
# LX13
# Just testing arrays
Content=`ls`
Nr=0
for i in $Content; do
Word[$Nr]=$i
((Nr++))
done
echo ${Word[@]}
exit 0