I'm totally new at this, so maybe, hopefully, this is an easy one.
I have a file which I want to remvoe the last field and header, keeping the OFS=","
When I execute the command, the last field and header are removed, but what is left is a comma (,) at the end. I am expecting nothing.
my file...
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.