[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in /bin/sort
From: |
Dan Gleeson |
Subject: |
Bug in /bin/sort |
Date: |
Tue, 21 Aug 2001 17:54:26 -0500 |
I found a bug in /bin/sort.
Givin this text file:
arterms: isam_key_len=:4: isam_record_size=:48:
arterms_cust: isam_key_len=:16: isam_record_size=:4:
arterms: ARTERMS_KEY_LEN=:4:, sizeof(t_arterms_rec)=:48:
arterms_cust: ARTERMS_CUST_KEY_LEN=:16:, sizeof(long)=:4:
sort --version
sort (GNU textutils) 2.0a
Written by Mike Haertel.
Does the correct sort. Output :
arterms: ARTERMS_KEY_LEN=:4:, sizeof(t_arterms_rec)=:48:
arterms: isam_key_len=:4: isam_record_size=:48:
arterms_cust: ARTERMS_CUST_KEY_LEN=:16:, sizeof(long)=:4:
arterms_cust: isam_key_len=:16: isam_record_size=:4:
But
sort --version
sort (GNU textutils) 2.0e
Written by Mike Haertel.
Does the incorrect sort. Output:
arterms: ARTERMS_KEY_LEN=:4:, sizeof(t_arterms_rec)=:48:
arterms_cust: ARTERMS_CUST_KEY_LEN=:16:, sizeof(long)=:4:
arterms_cust: isam_key_len=:16: isam_record_size=:4:
arterms: isam_key_len=:4: isam_record_size=:48:
Dan Gleeson
- Bug in /bin/sort,
Dan Gleeson <=