Advertisement
Guest User

Untitled

a guest
May 30th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Awk 0.13 KB | None | 0 0
  1. awk '{match($0, /^(.*[^ \t])[ \t]+([0-9]+)$/, mgs); gsub(/\s+/, "_", mgs[1]); printf("sometext,type=%s value=%s\n", mgs[1], mgs[2])}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement