This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

rm-rf-root-or-home over-blocks an everyday clean line: `rm -rf "${1:-build}"/*`, `rm -rf ${1:-dist}/`, `rm -rf "${1:-dist}/"*` and `rm -rf ${@:-x}/` block, and `rm -rf ./${1:-dist}` warns, though no shell prints the empty value under `:-`. The empty text an emptyable parameter can print was kept under the colon operators.

issueresolvedmajoriss-2609300651127327

rm-rf-root-or-home over-blocks an everyday clean line: rm -rf "${1:-build}"/*, rm -rf ${1:-dist}/, rm -rf "${1:-dist}/"* and rm -rf ${@:-x}/ block, and rm -rf ./${1:-dist} warns, though no shell prints the empty value under :-. The empty text an emptyable parameter can print was kept under the colon operators.

Grounds

  • pursued: rm -rf "${1:-build}"/, ${1:-dist}/, "${1:-dist}/" and ${@:-x}/ allow again and ./${1:-dist} no longer warns, while ${1:-/}, ${1-}/ and ${1-dist}/ block; a shell that prints the empty value under :- would show it wrong, and bash 3.2, /bin/sh, dash and bash 5.3 do not.

Frontmatter

idiss-2609300651127327
typeissue
lifecycleresolved
severitymajor

mentions1