Boost logo

Boost-Build :

Subject: [Boost-build] single/double quotes
From: Spencer E. Olson (olsonse_at_[hidden])
Date: 2010-01-29 10:58:27


Can anyone point me to some place that explains what the difference between
double and single quotes is? I tried to search through the documentation on
this, but found nothing helpful.

For example, with the following if statement:

if "2.4.1" <= '3.4.1' {
    echo "success" ;
} else {
    echo "failure" ;
}

always spits out 'success', regardless of what I put inside the single quotes,
while

if "2.4.1" <= "3.4.1" {
    echo "success" ;
} else {
    echo "failure" ;
}

actually does what is expected.

Spencer


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk