Skip to main content
Formatted text.
Source Link
Paulo Tomé
  • 3.9k
  • 6
  • 28
  • 40

In this questionHow do I bring HEREDOC text into a shell script variable? someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

In this question someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

In How do I bring HEREDOC text into a shell script variable? someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

edited tags
Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

In this questionthis question someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

In this question someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

In this question someone reports a problem using a here document with a quoted delimiter word inside $(...) command substitution, where a backslash \ at the end of a line inside the document triggers newline-joining line continuation, while the same here document outside command substitution works as expected.

Confirm that it is a Bash bug
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Notice added Authoritative reference needed by Michael Homer
Bounty Started worth 50 reputation by Michael Homer
added 8 characters in body
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
Add Token Recognition quote
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
Tweeted twitter.com/StackUnix/status/825620534851420161
added 228 characters in body
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
added 34 characters in body
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
Be more explicit about contrasting shells
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
added 15 characters in body
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading
Source Link
Michael Homer
  • 78.9k
  • 17
  • 221
  • 239
Loading