Operating System - HP-UX
1833465 Members
2876 Online
110052 Solutions
New Discussion

sort command discards entries in output file

 
Vladimir Dimitrov
New Member

sort command discards entries in output file

I have run on HP-UX 11.00 the command:
sort -k 1.17,1.19 -o output_file sorted_file
I found that there are missing lines in the output file.
When I run the same command on HP-UX10.20 - there is no problem with the outputfile. The problem occurs only with some files and there is not dependency with the size of the file.
Any ideas what might be the problem?
3 REPLIES 3
Robin Wakefield
Honored Contributor

Re: sort command discards entries in output file

Have you installed the latest recommended patch, PHCO_17809?

Rgds, Robin
Clemens van Everdingen
Honored Contributor

Re: sort command discards entries in output file

Hi,

Latest sort patch is PHCO_27565 which supersedes the previous patches.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
James R. Ferguson
Acclaimed Contributor

Re: sort command discards entries in output file

Hi:

You say that the problem "only occurs with some files". What's unique about those files compared to others that work?

Regards!

...JRF...