On Thu, 2007-10-18 at 01:43 -0700, Rodrigo de Salvo Braz wrote:
> echo $(subst \\,\\\\,$(variable))

You don't need to escape backslashes here:

        echo '$(subst \,\\,$(variable))'

Note the single quotes, or the shell will mess with the backslashes.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to