You should be more specific, always add quotes and exapmples in ur prob, it is easier to understand, and reply. I am doing it for you.
Quote:
Hi All,
I have a txt file as below
file1.txt
Quote:
Rakesh
Pune satara road, pune.
12345678
Married
|
Now I want o/p as below:
file2.txt
Quote:
|
Name Address Phone Number Status
|
|
Hi Rakesh,
I am also a newbie. Well one solution to ur problem is :--
use this code
Code:
touch file3.txt
(for text in `cat file1.txt`;
do
echo -e -n "\b$text " >> file3.txt
done;)
Add spaces or tabs according to your need.
This will result in
file3.txt
Quote:
|
Rakesh Pune satara road, pune. 12345678 Married
|
Now u can easily cat file2.txt file3.txt
Hope it helps.