
我想在 bash 上执行此操作
apt install -y \
curl \ # i'd like to insert comment here somehow
python3
但这行不通。
答案1
一种方法:
apt install -y \
curl `# my comment` \
python3
我想在 bash 上执行此操作
apt install -y \
curl \ # i'd like to insert comment here somehow
python3
但这行不通。
一种方法:
apt install -y \
curl `# my comment` \
python3