idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
13.29k stars 794 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"