fork download
  1. #!/bin/bash
  2.  
  3. echo "[Header]
  4. File,5
  5. Researcher Name,Joe Black
  6. Experiment,Illumina-Project
  7. Date,05/02/2021
  8. Pipeline,RNA_Pipeline" | awk -F',' '$1 ~/Researcher Name/ {
  9. str=$2; next
  10. }
  11. {
  12. if(str){
  13. print str, $2
  14. str=""
  15. }
  16. }'
Success #stdin #stdout 0.01s 5392KB
stdin
Standard input is empty
stdout
Joe Black Illumina-Project