View on GitHub

Computational Techniques for Life Sciences

STRINGS

We’ve seen earlier that bash STRINGS are groups of characters.

Can we manipulate these strings inside bash scripts?

Parameter substitution for strings

Earlier we learned that surrounding a variable with ${} indicates you want to treat it as a parameter and access more information about the variable.

Here are some additional parameter substitutions to help you strings:


Prev ARITHMETIC | Next Arguments | UP : BASH scripting | Top : Course Overview © 2017 Texas Advanced Computing Center