Bug 158725

Summary: [patch] column(1): `column -t` always separates columns by 2 chars
Product: Base System Reporter: Bela Lubkin <filbo_freebsd>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

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