]> git.draconx.ca Git - dxcommon.git/commitdiff
Update DX_COMMAND_OUTPUT to handle newlines and backslashes.
authorNick Bowler <nbowler@draconx.ca>
Wed, 22 Apr 2015 01:47:44 +0000 (21:47 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 28 Jun 2017 23:24:24 +0000 (19:24 -0400)
The 'read' builtin eats backslashes from the input, so this macro fails
to properly handle output containing backslashes.  Since the -r option
is not portable according to the Autoconf manual, fix up the input by
escaping all backslashes.

While we're at it, remove the "feature" which converts newlines to
spaces because it seems rather silly.


No differences found