From bc36bb500f0957e27173d8bd9fed446bc224d140 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 26 Sep 2019 21:08:30 +0300 Subject: [PATCH] docs: update --- pfetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pfetch b/pfetch index 50eba38..7b7c440 100755 --- a/pfetch +++ b/pfetch @@ -439,12 +439,12 @@ get_memory() { # This is a really simpler parser for 'vmstat' which grabs # the used memory amount in a lazy way. 'vmstat' prints 3 # lines of output with the needed value being stored in the - # third and last line. + # final line. # # This loop simply grabs the 3rd element of each line until # the EOF is reached. Each line overwrites the value of the - # previous so we're left with what we wanted. This isn't - # slow as only 3 lines are parsed! + # previous one so we're left with what we wanted. This isn't + # slow as only 3 lines are parsed. while read -r _ _ line _; do mem_used=${line%%M}