urunc-dev/urunc

Line break when copying commands form the website

Open

#482 opened on Feb 13, 2026

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Go (151 forks)auto 404
bugdocumentationgood first issue

Repository metrics

Stars
 (254 stars)
PR merge metrics
 (PR metrics pending)

Description

In some cases the commands we copy from the documentation contain a line break right after the first word. As an example, we can take a look the snippet to install the latest version of runc in the installation guide (See https://urunc.io/installation/#install-runc-or-any-other-generic-low-level-container-runtime).. Copying directly the snippet returns the following:

RUNC_VERSION=$(curl -L -s -o /dev/null -w '%{url_effective}' "https://github.com/opencontainers/runc/releases/latest" | grep -oP "v\d+\.\d+\.\d+" | sed 's/v//')
wget
 -q https://github.com/opencontainers/runc/releases/download/v$RUNC_VERSION/runc.$(dpkg --print-architecture)
sudo
 install -m 755 runc.$(dpkg --print-architecture) /usr/local/sbin/runc
rm
 -f ./runc.$(dpkg --print-architecture)

but it should be

RUNC_VERSION=$(curl -L -s -o /dev/null -w '%{url_effective}' "https://github.com/opencontainers/runc/releases/latest" | grep -oP "v\d+\.\d+\.\d+" | sed 's/v//')
wget -q https://github.com/opencontainers/runc/releases/download/v$RUNC_VERSION/runc.$(dpkg --print-architecture)
sudo  install -m 755 runc.$(dpkg --print-architecture) /usr/local/sbin/runc
rm  -f ./runc.$(dpkg --print-architecture)

Contributor guide