Let's say I have a script that outputs a string with multiple values divided by '?':
Is it possible to assign aaa, bbb, ccc to three variables in one query (one line command)?
Can you do it using only bash?
Can you do it without sed/perl/awk?
Like this:
Quote:
# ./test | somecommand
# echo $var1
aaa
# echo $var2
bbb
# echo $var3
ccc
|