1

Adding Content to Variable (bash)

view story
linux-howto

http://www.unix.com – is this possible? its kind of like incrementing the value of a number in a variable. but in this case, instead of the value of the variable being a number, it's just contents/strings/characters/alpha-numeric etc. NOT a number. For instance: Code: VAR=Tommy for all in $(blah blah) do     VAR=($echo $all)     ###the variable $all can be any name .i.e cindy, sally, roy, matt done so at the end of the loop, i want the variable VAR to contain everything that was appended to it. So, if i were to do something like this after the for loop completes: Code: echo &q (HowTos)