grep result in newline

Hi

While trying to do a search on solaris, the grep results seems to be appearing on the same line instead of the new line.

Wed Jan 18 14:45:48 weblogic@test:/abcd$ grep qainejb02 *
qa_cluster_biz_view_tc_intl_servers_ports_2:qainejb02 7101
qa_cluster_servers_2:qainejb02
qa_intl_biz_servers:qainejb02qa_intl_biz_servers_and_ports:qainejb02 7101Wed Jan 18 14:45:51 weblogic@test:/abcd$ 

wherein the actual display must have been like below

Wed Jan 18 14:45:48 weblogic@test:/abcd$ grep qainejb02 *
qa_cluster_biz_view_tc_intl_servers_ports_2:qainejb02 7101
qa_cluster_servers_2:qainejb02
qa_intl_biz_servers:qainejb02
qa_intl_biz_servers_and_ports:qainejb02 7101
Wed Jan 18 14:45:51 weblogic@test:/abcd$ 

I also tried to frame the grep with cat command, but that doesnt work either. Could someone help me here.. thanks

What grep command are you using? Please post it.
And. Does the file really have newlines or just a lot of padding spaces so that it formats well on a given terminal width setting? Example - the interface to Microfocus COBOL licensing does this.

What grep command are you using? Please post it.
And. Does the file really have newlines or just a lot of padding spaces so that it formats well on a given terminal width setting? Example - the interface to Microfocus COBOL licensing does this.