Being a beginner in awk I need the following steps to be performed for text file
The text file contains
Increment 1
MAXIMUM 305.6
MINIMUM 31.62
N O D E O U T P U T
THE FOLLOWING TABLE IS PRINTED FOR NODES BELONGING TO NODE SET LOAD_NODE
NODE FOOT- U1 U2 U3 UR1 UR2
NOTE
59 -1.4877E-03 0.000 -0.3494 0.000 1.2497E-02
203 -7.3659E-03 0.000 -1.116 0.000 1.6711E-02
Increment 2 and some values etc..
Increment 3 and corresponding values...
I need the MAXIMUM (here 305.6) and U3 values (-0.3494 and -1.116) from the above text file.
I need to extract these 3 values from this text file for the final increment value i.e I do not need the values for Increment 1
instead need values for the final increment no in the text file. (If a text file has data for 34 increments I need the values only for 34th increment and not for others)
Regards
MP
The text file contains
Increment 1
MAXIMUM 305.6
MINIMUM 31.62
N O D E O U T P U T
THE FOLLOWING TABLE IS PRINTED FOR NODES BELONGING TO NODE SET LOAD_NODE
NODE FOOT- U1 U2 U3 UR1 UR2
NOTE
59 -1.4877E-03 0.000 -0.3494 0.000 1.2497E-02
203 -7.3659E-03 0.000 -1.116 0.000 1.6711E-02
Increment 2 and some values etc..
Increment 3 and corresponding values...
I need the MAXIMUM (here 305.6) and U3 values (-0.3494 and -1.116) from the above text file.
I need to extract these 3 values from this text file for the final increment value i.e I do not need the values for Increment 1
instead need values for the final increment no in the text file. (If a text file has data for 34 increments I need the values only for 34th increment and not for others)
Regards
MP