|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Shell script to find maximum number line
Hello all,
I am not very much familiar in shell scripts but to some extent I can write. I have a final output of file and if the value Retur code is more than "0" the final out file should have that row. The actual file looks as follows: file1.temp Number RC TTT7670 0 TTT8769 4 TTT9987 7 TTT1766 0 TTT8888 0 Now I need the file.output as only RC > 0 entries as follows: TTT8769 4 TTT9987 7 Please help, i have tried for loop and it reads every field and i am unable to pass the required entries. Please help. Thank you |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Shell script to find maximum number line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|