Bug 78562 - [patch] Add numerical sorting option to join(1)
Summary: [patch] Add numerical sorting option to join(1)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.4-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2005-03-07 21:20 UTC by Dmitrij Tejblum
Modified: 2018-05-20 23:50 UTC (History)
0 users

See Also:

file.diff (4.32 KB, patch)
2005-03-07 21:20 UTC, Dmitrij Tejblum
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrij Tejblum 2005-03-07 21:20:02 UTC
join(1) require input files to be lexicographically sorted. Thus if someone
has a numerically sorted files he must resort them in the lexicographic
order. It is inconvenient.

Linux (GNU) join(1) has an -n option to handle numerically sorted files.
Comment 1 Pedro F. Giffuni freebsd_committer 2014-08-23 18:42:08 UTC
FWIW, I can't find a -n option in GNU join.


Maybe they dropped it or it's undocumented.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:50:36 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

- Set Status to "Open"