KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a bash function that produces some output: function scan { echo "output" } How can I assign this output to a variable? ie. VAR=scan (of course this doesn't work - it makes VAR equal the string "scan" )
Tags (comma-separated)
Save Edits
Cancel