filefct bug fix

This commit is contained in:
2026-10-13 12:31:41 +02:00
parent a9f55945b8
commit b1071ab4b9
2 changed files with 14 additions and 4 deletions
+10
View File
@@ -53,6 +53,16 @@ Versions follow `MAJOR.MINOR.PATCH-REVISION_STAGE_N` (e.g. `3.99.1-4_rc_1`).
`\_`-style escapes are protected from emphasis/link parsing; `NO_COLOR` is
honoured in tables and headings; fewer subprocesses when rendering tables;
newlines in arguments no longer break option parsing.
- `filefct.sh`: `findzero` with `fd` listed (and `--delete` removed) one-byte
files; `findzero --delete` could remove symlinks to empty files; `rmspc`
overwrote existing files, passed a wrong replacement character to
subdirectories with `-r -c X`, followed symlinked directories and mishandled
`&` as replacement; `expandlist` split names containing spaces, ignored `\n` in
its separator and reset the caller's `nullglob`; `file_stats` histogram was
unordered, `--min` was exclusive and invalid sizes silently gave no result;
`findbig` accepted an invalid configured limit; names starting with `-` are
handled; `finddead` and `findzero` no longer return 1 when the last entry
was skipped.
- `compress.sh`: option flags and loop variables no longer leak into the
interactive shell.