What does the following line of a bash script do?

Posted by Bialecki on Stack Overflow See other posts from Stack Overflow or by Bialecki
Published on 2010-04-24T19:29:05Z Indexed on 2010/04/24 19:33 UTC
Read the original article Hit count: 192

Filed under:
|

Usually work in Windows, but trying to setup RabbitMQ on my Mac. Can someone let me know what the line below does?

[ "x" = "x$RABBITMQ_NODE_IP_ADDRESS" ] && [ "x" != "x$NODE_IP_ADDRESS" ] && RABBITMQ_NODE_IP_ADDRESS=${NODE_IP_ADDRESS}

Specifically, I'm curious about the [ "x" = "x$RAB..."] syntax.

© Stack Overflow or respective owner

Related posts about bash

Related posts about rabbitmq