i would like to convert the data.txt file into the following output using awk 1liner
cat data.txt
- personA neta netb netc
- personB meta metb metc metd
....
output:
- personA has {neta netb netc} items in his bag
- personB has {meta metb metc metd} items in his bag