I have come across a scenario where I need to print text part of the same line when using the cat command or sed command for example.
I have a file with 5 line in it showing
Tom
Seniorsupport
5
U
My aim is to print specific text in front of each line giving it another column being more specific
OUTPUT I WANT:
Grantee/Username: Tom
Role name: Seniorsupport
Priority: 5
Usertype: U
There are many ways this can be done, but I would like a quick and easy way