Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • You said, "I need the variables inside ~/nginx_app to be expanded". Well, if I understand correctly, you want shell script (or basically the shell that runs the script) to read ~/myAddons/nginx_app file, interpret variables, and perform replacement of variable names in the other contents of the same file, and write the result to new file. Can you make a simple example of input file with mock variables and what you desire output file to look like ? Commented Feb 5, 2018 at 5:21
  • @SergiyKolodyazhnyy I've edited the question generally and also added an example of the desired end state. Commented Feb 5, 2018 at 5:32