From c7b4ec25d06942e0f81d86a93d3e666fd1fbad91 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 1 Aug 2018 21:51:05 -0500 Subject: [PATCH] note re: quotes issues and envsubst w.r.t. here-docs --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef34af2..5802bb6 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,10 @@ run_embark bash -c 'nvm_load && nvm install --latest-npm 8.11.3 && node --versio Bash [here-documents](https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Here-Documents) can be used to compose scripts without employing an abundance of `&&`, `;`, and -`\`: +`\`. Just be mindful of umatched quotes and quotes-escaping when building +meta-scripts; in such scenarios, use of +[envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) +is probably called for. ``` shell run_embark bash -c 'exec bash << "SCRIPT"