mirror of
https://github.com/eddyem/lectures.git
synced 2026-03-20 08:41:01 +03:00
add 3 lectures for SFedU
This commit is contained in:
6
Komp_obr_SFedU/Materials4Pract/01/array
Executable file
6
Komp_obr_SFedU/Materials4Pract/01/array
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
array=(1 2 3 4 [5]=next [10]=last)
|
||||
echo "array with size ${#array[*]} and indexes ${!array[*]}: ${array[*]}"
|
||||
echo "array[4]=${array[4]}, array[10] len=${#array[10]}"
|
||||
|
||||
Reference in New Issue
Block a user