View Single Post

  #1 (permalink)  
Old 03-25-2008, 04:34 PM
sebastanov sebastanov is offline
Junior Member
User
 
Join Date: Mar 2008
My distro: Debian
Posts: 1
Rep Power: 0
sebastanov is on a distinguished road
Default Rearange Data from a file to another

Hi,
I'm working on linux platform and I need help to do this.

I have a Text file which look kike that.
---------------
XMID
YMID
ZMID


(I,J) I= 25

25 226962.6
25 3391522.
25 1937.401
--------
And I want to exctract the 3 numbers writen after the '25' and write them in an onther file in line, not in column.
I mean that it should look like that:

----
Blalblablabla
blablablabl

226962.6 3391522. 1937.401
-------
Can somone help me with that?

THank you in advance.
Reply With Quote