need to parse it to a new file like this:
ABC abc 1
ABC efg 3
XYZ cde 1
XYZ fgh 1
XYZ uvw 2
...
basically what need to be done is to get the name after the slash "/" and combine it with the first and last column of lines immediately after it.
I know a little bit of awk and sed but not enough to solve this problem, any help or hint with a piece of code will be appreciated.