檔案部分內容移到另一個檔案裡 - Linux

By Andy
at 2012-04-10T13:04
at 2012-04-10T13:04
Table of Contents
大家好:
目前遇到一個問題,
我想將一個檔案裡一個字"u[*]"(含這一行)底下的所有字
都複製到另外一個檔案裡,並在u[*]前面加入param文字。
但是一直沒辦法!試了很久,只寫出
nl ./source_file |grep 'u[*]' >> ./ target_file
但是與我想像得不太一樣,因為試了很久還是沒辦法,
麻煩各位幫我想想辦法,麻煩了,謝謝!
真的很感謝!!!
--
目前遇到一個問題,
我想將一個檔案裡一個字"u[*]"(含這一行)底下的所有字
都複製到另外一個檔案裡,並在u[*]前面加入param文字。
但是一直沒辦法!試了很久,只寫出
nl ./source_file |grep 'u[*]' >> ./ target_file
但是與我想像得不太一樣,因為試了很久還是沒辦法,
麻煩各位幫我想想辦法,麻煩了,謝謝!
真的很感謝!!!
--
Tags:
Linux
All Comments

By George
at 2012-04-13T07:39
at 2012-04-13T07:39

By Bennie
at 2012-04-17T16:07
at 2012-04-17T16:07

By Andy
at 2012-04-20T10:58
at 2012-04-20T10:58
Related Posts
ip rule處理多條adsl線路請教。

By Quanna
at 2012-04-10T09:43
at 2012-04-10T09:43
使用者權限

By Quintina
at 2012-04-09T16:11
at 2012-04-09T16:11
VSFTP權限問題

By Erin
at 2012-04-09T15:03
at 2012-04-09T15:03
Sony Linux 相關原始碼

By Damian
at 2012-04-09T09:33
at 2012-04-09T09:33
usb安裝

By Quanna
at 2012-04-09T02:11
at 2012-04-09T02:11