From 0a882fd483a78b1378289774b81d52b3477eb704 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Wed, 6 Jan 2016 10:06:22 +1100 Subject: [PATCH] Fixed whitespace issue --- fetch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch.sh b/fetch.sh index c0bdef6e..5de1048b 100755 --- a/fetch.sh +++ b/fetch.sh @@ -478,6 +478,8 @@ getcpu () { cpu="$(grep 'model name' /proc/cpuinfo)" cpu=${cpu/model name*: /} cpu=${cpu/ @*/} + cpu=${cpu// /} + cpu=${cpu% } # Get cpu speed speed=$(grep 'cpu MHz' /proc/cpuinfo)