syntax problem

dear friends,

I have a large size file containg two fields data

like this

*** ****
122 222
***** *****
***** *****
232 233

i have file like this.

i want to remove blank lines from file .

i think awk is servive this problem

i wrote a awk command but the error is coming .

mu command is like this

awk ' $1 != /*/*/*/' file.dat > new

but this command syntax has problem

please anyone correct the syntax and let me know.

a workaround solution

where f3.txt is input file
tell me if you were looking for somthing else

Gaurav

sed '/^$/d' $filename

John Arackal

nawk 'NF' myFile