How to split single column string into two columns
Hi, I'm new to Linux, after I grep "Size" and "Price" from another file, I have a single column string with following format:
I want to split it into two columns with the following format
Size: S Price: 1
Size: M Price: 2
Size: L Price: 3
Size: XL Price: 4
May I know how to accomplish this, is sed a possible solution? thanks!