View Single Post

  #6 (permalink)  
Old 12-07-2007, 07:27 PM
anilvrathod's Avatar
anilvrathod anilvrathod is offline
Junior Member
User
 
Join Date: Dec 2007
Location: Pune
My distro: Red Hat
Posts: 13
Rep Power: 0
anilvrathod is on a distinguished road
Lightbulb

Dear Friend
Try this

touch file3.txt
(for text in `cat file1.txt`;
do
echo -e -n "\b$text " >> file3.txt
printf "% 4d" ("\b$text " >> file3.txt)
done

Anil V. Rathod
Linux System Administrator
Kalinga Data Link pvt.Ltd.
pune -satara road ,pune.
cell no. 9860062917
Reply With Quote