Can anyone help me get rid of the rows that show 0 please? I’ve tried every version of this that I can think of but can’t work it out
The 0’s are encapsulated by >0< in the file if that helps any?
Q: (following text of last "<FSTotalSize>" of preceding text of last "</FSTotalS ize>" of it) of lines containing "FSTotalSize" of file "/var/opt/BESClient/LMT/C IT/detailed_hw_output.xml"
A: 3983392
A: 0
A: 3995524
A: 3995524
A: 3995524
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 0
A: 7350272
A: 0
A: 0
A: 0
A: 0
A: 508580
A: 2086912
A: 1038336
A: 4184064
A: 508580
A: 104323072
A: 0
If you can then somehow get the numbers to sum as an integer then you get bonus points