Search Results

Search: Posts Made By: Maayi
2,893
Posted By Maayi
Try below: May be better solution will be there ...
Try below: May be better solution will be there


$ val=`awk -F = '{print $2}' file | sort -nr | head -1`
$ echo $val
4928
$ grep $val file| awk -F '=' '{print $1}'
b
1,733
Posted By Maayi
Reverse content
I have file and need to reverse the contents:


cat filename
2345

AXY

34567

Output expects

34567

AXY

2345
Showing results 1 to 2 of 2

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