Search Results

Search: Posts Made By: RudiC
2,367
Posted By RudiC
If the input file is sorted ascendingly, the max...
If the input file is sorted ascendingly, the max would be in the last line, so by piping the output through tail -1 you'd have the desired result.
2,367
Posted By RudiC
The reversal of lines is due to the fact that (i...
The reversal of lines is due to the fact that (i in A) supplies all array elements, but in undefined order. To keep the right sequence, try:
awk ' {gsub (/"/,"")
if (X !=...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy