and I want the output as:
I tried using awk :
awk 'BEGIN { OFS=FS="\t" } { sub("\\..*", "", $1); print }'
and it prints the first id ENST. But when I change it to:
awk 'BEGIN { OFS=FS="\t" } { sub("\\..*", "", $5); print }'
it doesnt work.
What is wrong that I am doing here. Kindly help.