From e12927aa17a983d20fcb1756cc1ab3a94afdf184 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 3 Jun 2018 12:58:44 +1000 Subject: [PATCH] distro: [haiku] Use read instead of awk --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 212af18e..6fb0d16f 100755 --- a/neofetch +++ b/neofetch @@ -977,7 +977,8 @@ get_distro() { ;; "Haiku") - distro="$(uname -sv | awk '{print $1 " " $2}')" + read -r name version _ < <(uname -sv) + distro="$name $version" ;; "AIX")