[PLUG] SED Help Needed -- UPDATE

Rich Shepard rshepard at appl-ecosys.com
Tue Feb 22 16:05:17 UTC 2011


On Tue, 22 Feb 2011, Fred James wrote:

> Running the command twice against the input, cleared up the stragglers.
> The SED file would look like this ...
> {
>        s/\([0-9]\)\(,\)\([0-9]\)/\1|\3/g
>        s/\([0-9]\)\(,\)\([0-9]\)/\1|\3/g
> }

Fred,

   I was going to run the script manually. However, your suggestion makes
sense.

   Is there a way to determine, a priori, how many passes might be necessary
in any such file?

Many thanks,

Rich



More information about the PLUG mailing list