Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting row to columns

Status
Not open for further replies.

Castle22

Technical User
Feb 16, 2011
2
IE
HI, I'm asking a commonly answered question but I need some help please.

I am after performing a grep on a text file to get 7 seperate lines

Streamin log1
streamingLog2
New OM in R7.0
Non-cumulative
This OM captures the percentage of total CPU used by the
Server over the most recent 10 minute period.
Resource Utilization OMs: hese OM capture the resource
[/color ]

Now I want to modify this to be in 1 row, seperated by commas:
line 1 ,line 2, line 3 ,line 4 ,line 5 ,line 6,line 7 ( all on one line)

help would be greatly apprerciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top