To All
I tried each of the examples you presented and I want to thank you for the help.
You asked for an uploaded file, and one is attached.
To upload, I had to change a filename from x.raw to x.txt
The line I confirmed worked on my system was the one proposed. It is the
LC_ALL=C sort -t '|' -k1,1 -o x.sorted x.txt
and it works. I am delighted.
I was not aware of how to specify the LC_ALL=C or its significance.
Here is the slightly larger file I was using (from the same population)
To upload, as I mentioned, I had to change the upload filename to x.txt
I intend to put the scanner into the public FOSS domain.
The purpose of the scanner is to obtain a checksum (md5 or sha1, or crc32) of all files beneath a given directory.
A blacklist facility to omit some subdirectories is part of the scanner.
Why do this? Auditors where I was working wanted to detect changes in production files (ERP object or source code). The scanner would be run daily (auditors did not require realtime notices), they wanted proof that any software implementation followed corporate implementation rules.
This software was developed on my own computers in my home.
Want a source copy? Just ask for one. Want to collaborate to extend it? ditto.
Thank you all,
Leslie
PS. My response was late. Your messages were filtered into SPAM. I check SPAM every few days and that is why today, now, I am responding.