开发者

is there a way to join them?

file A has some data as this:

$_ADMINLANG['global']['hometitle'] = 
$_ADMINLANG['global']['searchfilter'] = 
.....

file B has some da开发者_JAVA百科ta as this:

"test a";
"test B";

is there a way to join them in file C as this:

$_ADMINLANG['global']['hometitle'] = "test a";
$_ADMINLANG['global']['searchfilter'] =  "test B";
.....

thank you.


On linux, you can do

paste -d ' ' a.txt b.txt > c.txt


Here is how I would do this using excel/open office calc, copy and paste the content of file a in one coulmn, paste the content of file b in second column in third column set up a formula like this =$A1&$B1 and drag it till the length of the data you have, you will have $_ADMINLANG['global']['hometitle'] = "test a"; in 3rd column, why bother a programming language when it can be done by some other way, if you dont have excel/openoffice, try using spreadsheets on Google docs

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜