Page MenuHomeFreeBSD

Bug 235946 - column(1): Fill order (with/without -x) is incorrectly documented
Needs ReviewPublic

Authored by bcr on Oct 6 2023, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 2:46 PM
Unknown Object (File)
Tue, Oct 21, 2:46 PM
Unknown Object (File)
Tue, Oct 21, 2:37 AM
Unknown Object (File)
Tue, Oct 14, 1:18 AM
Unknown Object (File)
Mon, Oct 13, 1:31 AM
Unknown Object (File)
Tue, Sep 30, 7:55 PM
Unknown Object (File)
Sep 15 2025, 6:10 PM
Unknown Object (File)
Sep 11 2025, 10:43 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Taken from the PR PR 235946, a comment in column.c says:

+/*
+ * Note that c_columnate() and r_columnate() are misleadingly named: the former
+ * fills *rows* first and the latter fills *columns* first. The original names
+ * are kept here only for historical reasons.
+ */

The patch fixes this.

Note: I'm not sure whether we need the CAVEATS section addition, but maybe because of the historic reasons mentioned above, it would make sense.

Test Plan
  1. Apply the patch to usr.sbin/column/column.1
  2. Check the output
  3. Comment or approve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped