Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 15:15:49 -0800
From:      Yuri <yuri@rawbw.com>
To:        Freebsd hackers list <freebsd-hackers@FreeBSD.org>
Subject:   Here documents: do they work in FreeBSD make?
Message-ID:  <5650FB25.2060408@rawbw.com>

next in thread | raw e-mail | index | archive | help
This syntax doesn't work for me:
         @cat <<EOF >${MY_DIR}/my-file \
           #!/bin/sh \
           \
           echo 'Hello World!'  \
           EOF \

${MY_DIR}/my-file is created empty.

Could anybody give me a hint what am I doing wrong?

Thanks,
Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5650FB25.2060408>