Boost logo

Boost-Build :

Subject: Re: [Boost-build] single/double quotes
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-29 11:03:39


AMDG

Spencer E. Olson wrote:
> 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.
>

The single quote is not a special character in bjam.
i.e. '3.4.1' = "'3.4.1'"

In Christ,
Steven Watanabe


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