I have file input.txt as below:
filename: test1.v
BUG: bug 102 is fixed by some user
IO_CHANGE: there is no io_change for this version
FEATURE: no feature added
filename: test2.v
BUG: bug 103 is fixed by some user
also bug 105 is fixed
IO_CHANGE: there is no io_change for this version
FEATURE: yes feature number 3 also feature 23
and feature 34 is added
filename: test3.v
BUG: bug 104 is fixed by some user
FEATURE: yes feature number 2
IO_CHANGE:
My Question:- sometimes there is a long description for BUG/FEATURE/IO_CHANGE which is coming in 2 lines or sometimes there is nothing in IO_CHANGE so it is blank. Output file should have list for all bugs then features and io_changes. Those 3 types can be in any order in input file, I need to find all bugs/features/io_changes from the file and list them column wise.