perl -pi.bak -e 's/(\d+),(\d+)\.(\d{2})/$1$2\.$3/g' yourfile
the old file will be renamed yourfile.bak
hth
charles
On Thu, 9 Mar 2000, Steve Lee wrote:
> can someone help me write
> a script to remove , out of a file
> lines of data with price that has
>
> 9,000.00
> 8,000.00
>
>
> etc
>
> about 710 line of these with text too.
don't blink or you will miss it. :)
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
- Re: script Vidiot
- Re: script Charles Galpin
- Re: script Jasper Jans
- Re: [RedHat-List] Re: script Cameron Simpson
- Re: [RedHat-List] Re: script Charles Galpin
- RE: script Ward William E PHDN
- RE: script Ward William E PHDN
- RE: script Charles Galpin
- script Steve Lee
- Re: script Nico De Ranter
- Re: script Charles Galpin
- Re: script Steve Lee
- Re: script Pete Peterson
- script Steve Lee
- Re: script Chris Dowling
- script Steve Lee
- Script rvazquez
- Re: Script eric clover
- Re: Script Mikkel L. Ellertson
- Re: Script Giulio Orsero
- Re: Script rvazquez
