From 6300831c655185508b6f699072722f0ea6d5be34 Mon Sep 17 00:00:00 2001 From: David Cantrell <dcantrell@redhat.com> Date: Thu, 23 Aug 2012 15:52:06 -0400 Subject: [PATCH] Fix udbParseLib.awk so it doesn't generate warnings with gawk. Tested this change with both gawk and nawk and it worked fine. If the extra escape character is present and gawk is used, you'll get warnings from gawk telling you it's ignoring the escape sequence and just treating it as the character to begin with. --- cde/admin/IntegTools/dbTools/udbParseLib.awk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/admin/IntegTools/dbTools/udbParseLib.awk b/cde/admin/IntegTools/dbTools/udbParseLib.awk index a10af391..86691967 100644 --- a/cde/admin/IntegTools/dbTools/udbParseLib.awk +++ b/cde/admin/IntegTools/dbTools/udbParseLib.awk @@ -342,11 +342,11 @@ function tokenize() { # # allow escaping of significant syntax characters # - gsub("[\\\][{]","{") - gsub("\\\:",":") - gsub("\\\;",";") - gsub("\\\=","=") - gsub("[\\\][}]","}") + gsub("[\\][{]","{") + gsub("\\:",":") + gsub("\\;",";") + gsub("\\=","=") + gsub("[\\][}]","}") # # Having insured that interesting chars are surrounded by blanks -- 2.25.1