Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
remove last field using awk
Faith
Programming language:
Shell/Bash
2021-06-10 04:24:52
1
Q:
remove last field using awk
DrRobotNinja
Code:
Shell/Bash
2021-03-01 05:12:09
awk 'NF{NF-=1};1' <in >out
0
Tags
using
field
remove
last
Related
cut last field delimiter
git delete last commit in remote
remove last commit git
git remove las remotet commit
New to Communities?
Join the community