263
Comment: all gone
|
309
|
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 your actually goals may just evaluating the file with an new bash or shell instance could do the trick. |
Line 4: | Line 5: |
This FAQ has been merged with [[BashFAQ/021|Faq #21]]. | However, this is 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 your actually goals may just evaluating the file with an new bash or shell instance could do the trick.
However, this is discussed on the TemplateFiles-Page