Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove last field using awk

awk 'NF{NF-=1};1' <in >out
 
PREVIOUS NEXT
Tagged: #remove #field #awk
ADD COMMENT
Topic
Name
4+8 =