I have a command that produce a output like this:
$./command1
word1 word2 word3
I want to pass this three words as arguments to another command like this:
$ command2 word1 word2 word3
How to pass command1 output as three different arguments $1 $2 $3 to command2 ?