1 # $NetBSD: quoting.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $
3 # This file demonstrates various techniques for quoting variables when
4 # passing them to the shell.
6 # The third line revealed a bug in the NetBSD 3.0 shell, which discards
7 # the last argument under some circumstances when it is empty.
17 echo "${EVIL_STRING:Q}"
18 echo ${EVIL_STRING:Q}""
19 echo x${EVIL_STRING:Q} | sed 1s,.,,