wc -l wikiniews_results.tsv > liczba_linii.txt awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < wikiniews_results.tsv > reference.trn head -15 wikiniews_results.tsv head -15 wikiniews_results.trn