On 6/3/2016 10:41 PM, Indunil Jayasooriya wrote:
I need a OUTPUT like this
*firstname1 lastname1firstname2 lastname2*
An obvious solution is to use Perl. I suggest searching Stackoverflow for a solution using that language.
While checking, I discovered the paste program does just what you want. So try "man paste".