deleting when nothing is there

Hey

I know how to use grep to eliminate a row when nothing there is a character that I dont want. But I encountered a problem where there is nothing there. Heres my example:

Nam1  
Nam2  Year
Nam3  Month

So for Nam1 there is nothing in the second column so I want to delete it... so anything that has nothing in the second column should be removed.

Nam2  Year
Nam3  Month

I tried grep but what do i grep for?

or is there a faster solution? :confused:

thanks

assuming you want to eliminate rows that have less than three columns:

awk 'NF>2' inputfile> outputfile

change the > 2 part to accomodate your needs. NF means number of columns/fields &
> 2 is greater than two.