> >we really need an option to skip escaping tabs while still escaping
> all
> >the other control characters. too many logs include tabs and it gets
> >'interesting' to try and read them with #011 replacing them :)
> 
> I definitely agree with the notion of having a way to escape all
> control
> characters except for tabs; I already have some logic in place in my
> applications to handle literal tabs, but other control characters make
> sense to escape.  Right now I have to turn off the feature to escape
> control characters just to preserve the tab behavior so as not to break
> parsing.  +1 for this suggestion from me!

Folks, message heard, I'll see if I can add a global option for 
escape-all-but-tab. HOWEVER, my question was a different one ;)

I was talking about escapes for script expressions, inside constant strings. So

If $something contains 'aaa<escape here>bbbb' then ...

This was triggered by Radu's question on how to escape backslash. With that 
said: do we need more than \\, \', \xhh inside script constants?

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to