Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 178 Bytes

awk.md

File metadata and controls

8 lines (6 loc) · 178 Bytes

Awk code snippets

To change column(s) name in tab separated file.

# To add prefix/suffix to column 3
awk 'FNR==1{$3="prefix"$3"suffix";OFS="\t"}1' in_file.tsv