Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. awk -F',' '($0 && p != $1 && line){print line} $0{line=$0; p=$1} END{print line}' filename
  2.  
  3. srinivas,500
  4. madhu,444
  5. vijay,678
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement