Skip to content

v3.7.18: Filter punctuation chars and troff leakage from apropos

Choose a tag to compare

@chedong chedong released this 11 Jun 08:18
· 149 commits to master since this release

Fixed

  • 过滤标点符号单字符命令名 — apropos 返回的 shell builtins(!, %, ., :, @, {, } 等)不再作为 man page 入口显示,保留 [(shell test 命令)
  • 过滤 troff 格式化泄漏 — 损坏的 man page 数据(如 ."======================)不再出现

Added

  • isValidManPageName() — 统一验证 apropos 条目名称合法性:必须包含字母或数字,或为 [

Test

  • 296/296 单元和集成测试全部通过