dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Bash string manipulation

Nov 07, 2019, 10:00 (0 Talkback[s])
(Other stories by Nicholas Shellabarger)

Functions, arrays, and strings are stored in variables. Bash uses what we call attributes to flag changes in behaviors on assignment. Despite there being a system to modify the behavior of variable assignment, when it all comes down to it, values are stored in variables as strings. In bash, a program lives to put strings into variables and name them for later use. These strings are available to manipulate throughout the lifetime of the program. The program lives to manipulate strings. Here we will cover bash string manipulation in breath and as much depth as possible to be accessible to readers of all makes and shapes. Read on.

Complete Story