I want to modify my tab-delimited file like as below.
Original file
a001.2[tab]xxx[tab]001[tab]zz
bbb[tab]ddd[tab]293[tab]kkjk
c054.9[tab]ccc[tab]786[tab]qq
Modified file
a001[tab]xxx[tab]001[tab]zz
bbb[tab]ddd[tab]293[tab]kkjk
c054[tab]ccc[tab]786[tab]qq
I want to remove decimal (ex. a001.2 to a001) at the first column only using bash scripts.
Please let me know how should I do.
Thank you in advance.
;s are actually tabs?sed,awketc?