idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
12.98k stars 778 forks source link

fails to explain docker's command to add repo #316

Open bermudi opened 1 year ago

bermudi commented 1 year ago
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"