We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8858050 + 069c365 commit 1d53845Copy full SHA for 1d53845
scripts/ram_percentage.sh
@@ -8,7 +8,7 @@ source "$CURRENT_DIR/helpers.sh"
8
ram_percentage_format="%3.1f%%"
9
10
sum_macos_vm_stats() {
11
- grep -o '[0-9]*' \
+ grep -Eo '[0-9]+' \
12
| awk '{ a += $1 * 4096 } END { print a }'
13
}
14
0 commit comments