Hey guys,
I am running a cronjob that downloads a datafeed text file and I need to trim the first 3 characters from the 3rd column data (excluding the header).
This is what I have so far:
awk 'NR==1{print;next}{$3=substr($3,4)}1' OFS="\t" file > newfile
Column Zero is Product Name, which has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.