DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+8 =
Submit