This is an old revision of the document!
Assign Output of Shell Command To Variable
Store the return value and/or output of a command in a variable