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-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to