From 2642ac39c7c0881d79954cacebaa359cfa84564a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 20 Dec 2012 20:57:36 +0000 Subject: [PATCH] more fine tuning of some gawk cleanup of os/lsb-release data, new tarball, no new version, this is more for future proofing at this point --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 2c83079..a873587 100755 --- a/inxi +++ b/inxi @@ -3755,7 +3755,7 @@ get_lsb_os_release_data() } # clean out unwanted characters { - gsub(/\"/,"", $0 ) + gsub(/\\|\"|[:\47]/,"", $0 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $2 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $1 ) } @@ -3809,7 +3809,7 @@ s if ( $2 != "n/a" ) { } # clean out unwanted characters { - gsub(/\"/,"", $0 ) + gsub(/\\|\"|[:\47]/,"", $0 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $2 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $1 ) } @@ -3840,7 +3840,7 @@ s if ( $2 != "n/a" ) { } # clean out unwanted characters { - gsub(/\"/,"", $0 ) + gsub(/\\|\"|[:\47]/,"", $0 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $2 ) gsub(/^[[:space:]]+|[[:space:]]+$/, "", $1 ) }