Skip to content

[gap] unexpand: obsolete -1..-9 tab-size flags rejected #1082

Closed

Description

@caomengxuan666
printf 'a\tb\n' | winuxcmd unexpand -4  -> "unexpand: unrecognized option '-4'"
printf 'a\tb\n' | unexpand -4           # GNU: accepts -N as tab spec, rc=0

GNU unexpand keeps -1 through -9 as obsolescent per-position tab stops
(getopt string ",0123456789at:" in both 8.32 and 9.11). Modern options
(-a/--all, -t/--tabs, --first-only, -i/--initial on expand) all verified
present.

Activity

  1. added
    bug
    compat-gap
    on Sep 14, 2026
  2. caomengxuan666 commented on Sep 14, 2026

    @caomengxuan666
    MemberAuthor

    Fixed in release/v1.0.6 — verified against GNU coreutils 9.4 (WSL) with byte-identical or semantically identical output. See the GNU-parity commits on this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcompat-gap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions