Article 5PXW6 LXer: How to create documents with Bash scripts

LXer: How to create documents with Bash scripts

by
LXer
from LinuxQuestions.org on (#5PXW6)
Published at LXer:

Sometimes you need to generate multi-line documents with complex nested structures, like YAML or HTML, from inside Bash scripts. You can accomplish this by using some special Bash features, like here documents. A "here doc" is a code or text block that can be redirected to a script or interactive program. Essentially, a Bash script becomes a here doc when it redirects to another command, script, or interactive program.

Read More...latest?d=yIl2AUoC8zA latest?i=ikBv737h3R4:ntkYG8q_URQ:F7zBnMy latest?i=ikBv737h3R4:ntkYG8q_URQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=ikBv737h3R4:ntkYG8q_URQ:gIN9vFwikBv737h3R4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments