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)
Apr 7 2024, 12:28 PM
Unknown Object (File)
Jan 12 2024, 6:37 AM
Unknown Object (File)
Dec 28 2023, 2:27 PM
Unknown Object (File)
Dec 20 2023, 7:01 AM
Unknown Object (File)
Dec 15 2023, 8:25 AM
Unknown Object (File)
Oct 10 2023, 4:55 PM
Unknown Object (File)
Oct 6 2023, 1:57 PM
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