Generation

linuxWed, 12 Jul 2023

add a column with a constant to a tsv file as the first column

awk -F "\t" '{print "constant\t"$0}' OFS="\t" input.tsv > output.tsv

Questions about programming?Chat with your personal AI assistant