explainshell
explainshell copied to clipboard
fails to explain docker's command to add repo
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
PARSING ERROR!
unexpected token ')' (position 45)
. /etc/os-release && echo "$VERSION_CODENAME")" stable"