printing the next line too??

Hi, I'm trying to get awk to print every line ending with a colon along with the next line. I have a file like:

Blah Blah a bunch of words, the money things are as follows:
Spokane 340,087, 000 3.24500% January 23, 2008

does anyone have any advice on this matter? I'm a bit stumped...

Thanks

I forgot to mention that I only want to print the next line if it contains numbers.

Thanks again.

Hi
Try follow code:

input:

This is the first line
This is the second line:
This is the third line
This is the forth line:
This is the fifth line
This is the last line

output:

This is the second line:
This is the third line
This is the forth line:
This is the fifth line

code:

nawk '
/:$/{
print
getline
print
}' filename
awk '/:$/{f=1;print;next}f{print;exit}' file

A SED version of the same

$ sed -n '/:$/{p;n;p;}' lines.out

//Jadu

or better yet:

sed -n '/:$/ {N; /[0-9]/ p;}' file

I think the second line should be printed if it contains a digit, not the every second line

eg
cat filename

one two three:
1 2 3
four five six
4 5 6

the o/p should be

one two three:
1 2 3