數值排列 - Linux

By Belly
at 2017-02-09T15:02
at 2017-02-09T15:02
Table of Contents
我有幾行數列如下
0 1511.9409 7306.7246 143 3.6 0 10
0 1511.9423 7306.7229 122 3.8 0 10
0 1511.94 7306.7252 150 3.5 0 10 << 這一行移位了
0 1511.9475 7306.7889 150 4.8 0 10
我的檔案數值 圖如下
http://imgur.com/a/rSGYD
我的問題是
我想要將每一欄的可以對齊,也就是每串數字的開頭可以跟下一行的數字
對齊,awk print 似乎可以解決我的問題? 不過試了一陣子還是無法解決。
想問一下板上的大大
謝謝
--
Tags:
Linux
All Comments

By Madame
at 2017-02-10T19:15
at 2017-02-10T19:15

By Joseph
at 2017-02-14T18:51
at 2017-02-14T18:51

By Zenobia
at 2017-02-16T07:53
at 2017-02-16T07:53

By Carolina Franco
at 2017-02-20T22:46
at 2017-02-20T22:46

By Lucy
at 2017-02-25T13:57
at 2017-02-25T13:57

By Vanessa
at 2017-02-27T22:55
at 2017-02-27T22:55

By Frederic
at 2017-02-28T01:06
at 2017-02-28T01:06

By Candice
at 2017-02-28T13:44
at 2017-02-28T13:44
Related Posts
新手請教

By Kama
at 2017-02-09T13:39
at 2017-02-09T13:39
關於rsyslog收到訊息後被自動補字

By Hedwig
at 2017-02-08T09:48
at 2017-02-08T09:48
Trac + Git 管理多重專案

By David
at 2017-02-08T01:36
at 2017-02-08T01:36
fedora install xrdp

By Ivy
at 2017-02-06T23:33
at 2017-02-06T23:33
ssh 連線問題

By John
at 2017-02-05T00:11
at 2017-02-05T00:11