From 3a6580e1a227fb0046ec13736ba09ee8e978ad33 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 14 Mar 2009 04:18:26 +0000 Subject: [PATCH] (debugger) --- inxi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 3c4f33e..2ce1668 100755 --- a/inxi +++ b/inxi @@ -3079,7 +3079,9 @@ print_gfx_data() local glx_renderer="${A_GLX_DATA[0]}" local glx_version="${A_GLX_DATA[1]}" # this can contain a long No case debugging message, so it's being sliced off - local glx_direct_render=$( grep -oiE '^(Yes|No)' <<< "${A_GLX_DATA[2]}" ) + local glx_direct_render=$( gawk '{ + print $1 + }' <<< "${A_GLX_DATA[2]}" ) if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then i=1