You're replying to a comment by Jaypal Singh.

Jaypal Singh Permalink
June 01, 2013, 21:11

I did this but not sure if this is the best way to avoid the else condition.

[jaypal:~/Temp] awk '{ a[$1]++ } END { for (k in a) printf (a[k]<2) ? k"\n" : null }' test

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "linux_122": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.