A quick way is to create a temporary hashed file large enough to hold
all of the records. Next copy the records from the damaged file to the
new file. The records with a bad ID will not copy. Then clear the
original file or delete it and recreate it if you feel better about it.
Lastly copy the records back from the temporary file.
Jerry

-----Original Message-----
From: Burwell, Ed [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 13, 2007 6:01 PM
To: [email protected]
Subject: [U2] UD Corrupt data

I'm getting the following when I sort a file:

sort: warning: first character of the record is '\0' discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!
sort: warning: the record contain '\0' character, discard it!

I know that there are some screwed up keys (maybe containing @FM's) but
I can't figure out how to select them and delete them.  I tried "guide"
and it was no help.

Thanks.

Ed Burwell
973-361-5400 ext. 1512
973-615-9880 cell
[EMAIL PROTECTED]

______________________________________________________________________
This e-mail has been scanned by MCI Managed Email Content Service, using
Skeptic(tm) technology powered by MessageLabs. For more information on
MCI's Managed Email  Content Service, visit http://www.mci.com.
______________________________________________________________________
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to