OSDN Git Service

Regular updates
authorErik <erikgronwal@users.osdn.me>
Fri, 16 Dec 2022 14:55:07 +0000 (23:55 +0900)
committerErik <erikgronwal@users.osdn.me>
Fri, 16 Dec 2022 14:55:07 +0000 (23:55 +0900)
bash.md

diff --git a/bash.md b/bash.md
index 40369cf..66afe4b 100644 (file)
--- a/bash.md
+++ b/bash.md
@@ -637,6 +637,11 @@ $((a + 200))      # Add 200 to $a
 $(($RANDOM%200))  # Random number 0..199
 ```
 
+```bash
+declare -i count  # Declare as type integer 
+count+=1          # Increment
+```
+
 ### Subshells
 
 ```bash