Skip to content

Instantly share code, notes, and snippets.

@Raudcu
Created February 15, 2020 22:05
Show Gist options
  • Save Raudcu/f1d0bbd8b4cedebae08297c2deca8b21 to your computer and use it in GitHub Desktop.
Save Raudcu/f1d0bbd8b4cedebae08297c2deca8b21 to your computer and use it in GitHub Desktop.
Print columns with space between them and into a new file
awk -v OFS='\t' '{print $1, $2, $3, $4, "sweep_up", $5}' 170722_006.dat > a.dat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment