Page 1 of 1

Escape Characters in External Filter ( Pain!)

Posted: Wed Jun 13, 2018 1:41 pm
by rameshrr3
FYI

IDK why , but our AIX doesn't like quoted arguments to Grep and getting the sam eto work in External filter was quite a pain requiring blunt trial and error till we could force it to recognize :

I have a requirement to only pass values that match '9' but not any other number preceeding '9', fortunately we are not in the 90 range yet
Finally managed to get it work
To Escape Grep reserved characters in REGEXP via EXF stage , use \\
Eg :
in Aix
grep -v [0-9][9]
In Ex filter
grep -v \\[0-9\\]\\[9\\]

What a Pain :) !