#!/bin/bash

echo "[Header]
File,5
Researcher Name,Joe Black
Experiment,Illumina-Project
Date,05/02/2021
Pipeline,RNA_Pipeline" | awk -F',' '$1 ~/Researcher Name/ {
  str=$2; next
}
{
  if(str){
  print str, $2 
  str=""
  }
}'