From f368a7c64c30ec9213f0ac4d76bf4bb8701f5297 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 17 Sep 2014 03:53:09 +0000 Subject: [PATCH] bug fix, needed a space for irc output or it broke, also shortened short form output --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 29a77e0..2c6f6ee 100755 --- a/inxi +++ b/inxi @@ -10743,12 +10743,12 @@ print_cpu_data() # this handles bsd case unless we get a way to get max/min cpu speeds if [[ ${a_cpu_speeds[2]} != 0 ]];then if [[ ${a_cpu_speeds[0]} == ${a_cpu_speeds[2]} ]];then - a_cpu_working[1]="${a_cpu_speeds[0]} MHz (max)" + a_cpu_working[1]="${a_cpu_speeds[0]} (max) MHz" else - a_cpu_working[1]="${a_cpu_speeds[0]} MHz (max ${a_cpu_speeds[2]} MHz)" + a_cpu_working[1]="${a_cpu_speeds[0]} (max ${a_cpu_speeds[2]}) MHz" fi fi - cpu_clock_speed="${C1}clocked at${C2} ${a_cpu_working[1]}" + cpu_clock_speed="${C1}speed$SEP3${C2} ${a_cpu_working[1]}" fi cpu_2_data="$cpu_2_data$cpu_clock_speed" else @@ -10779,7 +10779,7 @@ print_cpu_data() if [[ ${a_cpu_speeds[2]} != 0 ]];then max_speed="${C1}max$SEP3${C2} ${a_cpu_speeds[2]} MHz " if [[ $B_EXTRA_EXTRA_DATA == 'true' && ${a_cpu_speeds[1]} != 0 ]];then - max_speed="${C1}min/max$SEP3${C2}${a_cpu_speeds[1]}/${a_cpu_speeds[2]} MHz " + max_speed="${C1}min/max$SEP3${C2} ${a_cpu_speeds[1]}/${a_cpu_speeds[2]} MHz " fi fi for (( i=0; i < ${#A_CPU_DATA[@]}-1; i++ ))