I’m sure this has been discussed before, but the search function didn’t return any answers. So any help is appreciated.
I’m trying to figure out how to send the results of a “do shell” to a variable or array. There has to be a simple way of doing this but I haven’t been able to find an answer. If anyone can give me an simple example I’d appreciate it.
for example, do shell “echo something”
and making the value of a variable equall “something” by grabbing the result of the do shell