[CentOS] Conversion of text in shell

roland hellström arwinkahalarak at hotmail.com
Fri Oct 12 20:54:23 UTC 2007


Hi! I want to convert the lines
1.1,3.19e-4
1.2,3.05e-3
10.5,9.14e8
(as example)

to

1,1 & $3,19 \cdot 10^{-4}$\\
etc.. from one file and save these in a new file
Rly lost here except I know I should use regexp and MAYBE sed somehow :)
Thx for any help
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


More information about the CentOS mailing list