263
Comment: all gone
|
307
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
== How can i perform a substitution with arbitrary values ("s/$foo/$bar/") safely, without treating either value as a regular expression or worrying about other special characters? == | == Can I use something like templates with bash? == Bash does not have any native way to use templates. However, depending on your actual goals, just evaluating the file with a new bash or shell instance could do the trick. |
Line 4: | Line 5: |
This FAQ has been merged with [[BashFAQ/021|Faq #21]]. | This is further discussed on the [[TemplateFiles]] page |
Can I use something like templates with bash?
Bash does not have any native way to use templates. However, depending on your actual goals, just evaluating the file with a new bash or shell instance could do the trick.
This is further discussed on the TemplateFiles page