[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sh problem or configure script problem?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: sh problem or configure script problem?
- From: Adam Montague <amontague_(_at_)_siriushosting_(_dot_)_com>
- Date: Mon, 22 Aug 2005 16:28:23 -0400
- Organization: Sirius Hosting
I have a configure script that is failing a test on openbsd because of
an escaping problem. I am not sure if the configure script is wrong,
or if /bin/sh on openbsd is misbehaving, although I think its the
The problem is with a \" becoming just a " when doing a cat<<EOF:
With bash it looks like this:
Of course the developers of this software think bash is right, and
their configure script actually restarts itself with bash if its found,
so they haven't really tested anything besides bash I don't think. I
am guessing that openbsd's sh is correct, since if you want escaped
chars left alone you are supposed to do:
which works fine. Can anyone confirm for sure wether the configure
script is wrong or if sh should be leaving the \" alone?
Visit your host, monkey.org