On 5 December 2014 at 07:05, Nick <chengcheng...@pdf.com> wrote:
> when i try the command --echo -e "set table RD01-CSN-1 key PVG\\PENGZ
> data.server_id 3 " | socat /var/run/haproxy.stat stdioļ¼Œ the unix socket
> seems excluded the backslash "\\", so i cannot successfully edit the
> Haproxy tables.
> the same problem when i try the command echo -e "clear table RD01-CSN-1
> key PVG\\PENGZ data.server_id 3 " | socat /var/run/haproxy.stat stdio.

I think you're having a generic shell escaping problem, which has
nothing to do with haproxy or the unix socket.
Try using single quotes around the string you pass in, and without
giving echo that "-e" parameter.

Jonathan

Reply via email to