Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
convert a shell command to exec form for docker CMD

echo "<COMMAND TO TRANSLATE WITH $'s ESCAPED>" | sed 's/ /","/g' this will replace each inner space with ","

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment