3 ms·
Bash handles spaces just fine. # store the command in an array X=(echo "A B") # execute the command "${X[@]}" Yields: A B
by databasher 2y ago
Bash handles spaces just fine.
# store the command in an array
X=(echo "A B")
# execute the command
"${X[@]}"
Yields:
A B