Files
pkgsrc-ng/regress/make-quoting/files/newline.mk
2013-09-26 17:14:40 +02:00

12 lines
305 B
Makefile

# $NetBSD: newline.mk,v 1.1 2006/06/29 13:35:18 rillig Exp $
#
# This file documents a bug in the :Q operator, which does not handle
# the newline character correctly. It produces <backslash><newline>
# instead of the proper <quote><newline><quote>.
#
S= foo ${.newline} bar
all:
printf "%s\\n" ${S:Q}