I have created a script and everything works but i want my script to sort by the highest count etc.
The script counts the amount of times a job fails , for example the output looks like this:
u08.joebloggs.ndm has failed 1 times
u09joeblogs.rpt has failed 5 times
u10.joeblogs.fw has failed 1 times
How can i get the script to sorted it but the highest amount of times failed.
do i have to use nawk some how, nawk print $ 4 then sort maybe???
Any ideas would be great