From 82cc8ebb6e068030c6c6a2b7bc6edc82359dde77 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 15 Apr 2018 19:54:36 +1000 Subject: [PATCH] general: Fixed issue on AIX. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4faac552..e78510db 100755 --- a/neofetch +++ b/neofetch @@ -1510,7 +1510,7 @@ get_memory() { ;; "AIX") - IFS=" " read -ra mem_stat <<< "$(svmon -G -O unit=MB)" + IFS=$'\n'"| " read -d "" -ra mem_stat <<< "$(svmon -G -O unit=MB)" mem_total="${mem_stat[11]/.*}" mem_free="${mem_stat[16]/.*}"