bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #21163] join stops on numeric field if last number before double-di


From: anonymous
Subject: [bug #21163] join stops on numeric field if last number before double-digit is missing
Date: Wed, 26 Sep 2007 18:52:51 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7

URL:
  <http://savannah.gnu.org/bugs/?21163>

                 Summary: join stops on numeric field if last number before
double-digit is missing
                 Project: GNU Core Utilities
            Submitted by: None
            Submitted on: Wednesday 09/26/2007 at 18:52 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

tested with coreutils-5.2.1-31.4 on RHEL4, coreutils-5.97-12.1.el5 on RHEL5

Looks likes join terminates when joining on a numeric field if the last
n-digit number before the n+1-digit number is missing, e.g. I have 2 sorted
files with numbers 1-2000 (and then some data in other fiels). If in one file
the line with "999 some data" is missing, the join output will stop at the
line before. If instead  the "998 some other data" line is missing, join's
output continues as expected. 

# cat a       (sequence)
7
8
9
10
11
12
# cat b       (sequence with 9 missing)
7
8
10
11
12
# cat c       (sequence with 8 missing)
7
9
10
11
12


# join a b
7
8
<--- where's the rest?
# join a c
7
9
10
11
12





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21163>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]