OSDN Git Service
(root)
/
twpd
/
master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192a445
)
Regular updates
author
Erik
<erikgronwal@users.osdn.me>
Fri, 16 Dec 2022 14:55:07 +0000
(23:55 +0900)
committer
Erik
<erikgronwal@users.osdn.me>
Fri, 16 Dec 2022 14:55:07 +0000
(23:55 +0900)
bash.md
patch
|
blob
|
history
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