Bug 158725 - [patch] column(1): `column -t` always separates columns by 2 chars
Summary: [patch] column(1): `column -t` always separates columns by 2 chars
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2011-07-08 10:20 UTC by Bela Lubkin
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:

file.txt (1.53 KB, text/plain)
2011-07-08 10:20 UTC, Bela Lubkin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bela Lubkin 2011-07-08 10:20:01 UTC
`column -t` always separates columns by 2 chars:

$ echo "a b c" | column -t
a  b  c

I almost always want 1-space separation.  Might as well make this tunable...

Fix: Attached patch is against Ubuntu 11.04 "bsdmainutils", which originated in FreeBSD somewhere long ago.  Will need at least slight changes to apply to FreeBSD (man page mentions the Debian-added "-n" flag, although usage() does not...)

Patch attached with submission follows:
How-To-Repeat: Use `column -t` at all.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:03 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped