Hi ,
I'm still newbie
Anyone can help me for putting date into a file which grep from other file? I use sed command but it gets error since the date format determine as a command. Here is the case :
"text1.tmp" contains :
Post Date 07/01/2008
"text2.tmp" contains :
1234562 45.0 xxxxxx
4452234 50.0 zzzzzz
How to use get only the date from text1 and add to every begining of the line of text2.tmp as below ?
07/01/2008 1234562 45.0 xxxxxx
07/01/2008 4452234 50.0 zzzzzz
thanks in advanced before.
I'm still newbie
Anyone can help me for putting date into a file which grep from other file? I use sed command but it gets error since the date format determine as a command. Here is the case :
"text1.tmp" contains :
Post Date 07/01/2008
"text2.tmp" contains :
1234562 45.0 xxxxxx
4452234 50.0 zzzzzz
How to use get only the date from text1 and add to every begining of the line of text2.tmp as below ?
07/01/2008 1234562 45.0 xxxxxx
07/01/2008 4452234 50.0 zzzzzz
thanks in advanced before.
Comment