We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c5728 commit 9363860Copy full SHA for 9363860
00_cheatsheet/CHEATSHEET.md
@@ -11,6 +11,18 @@ export MANPAGER=cat
11
man git
12
```
13
14
+## Arrays
15
+
16
+Dealing with arrays
17
18
+```sh
19
+my_array=('hello', 'world')
20
+echo "size:${#my_array[@]}"
21
22
+my_array+=("again")
23
24
+```
25
26
## Loops
27
28
### For Loops
@@ -46,6 +58,17 @@ done
46
58
echo "Exited loop $index"
47
59
48
60
61
62
+files=(
63
+ '../../output/fx/blending_difference.mp4'
64
+ '../../output/fx/blending_mask_difference.mp4'
65
+ '../../output/fx/blending_grainmerge.mp4'
66
+)
67
+for file in "${files[@]}"; do
68
+ echo "$file"
69
+done
70
71
49
72
### While Loops
50
73
51
74
A `while` loop
0 commit comments