Re: RFR: JDK-8198569: SetupTextFileProcessing should use sed with 'g'

2018-02-23 Thread Magnus Ihse Bursie


On 2018-02-22 23:26, Erik Joelsson wrote:
I'm currently trying to use SetupTextFileProcessing with a file where 
the same replacement string appears twice on the same row. This 
doesn't work. To fix it, I would like to add /g on the sed replacement 
expressions.

Oops :)


Webrev: http://cr.openjdk.java.net/~erikj/8198569/webrev.01/


Looks good.

/Magnus



Bug: https://bugs.openjdk.java.net/browse/JDK-8198569

/Erik





Re: RFR: JDK-8198569: SetupTextFileProcessing should use sed with 'g'

2018-02-22 Thread Tim Bell

Erik:


I'm currently trying to use SetupTextFileProcessing with a file where
the same replacement string appears twice on the same row. This doesn't
work. To fix it, I would like to add /g on the sed replacement expressions.

Webrev: http://cr.openjdk.java.net/~erikj/8198569/webrev.01/

Bug: https://bugs.openjdk.java.net/browse/JDK-8198569



Looks good.

/Tim



RFR: JDK-8198569: SetupTextFileProcessing should use sed with 'g'

2018-02-22 Thread Erik Joelsson
I'm currently trying to use SetupTextFileProcessing with a file where 
the same replacement string appears twice on the same row. This doesn't 
work. To fix it, I would like to add /g on the sed replacement expressions.


Webrev: http://cr.openjdk.java.net/~erikj/8198569/webrev.01/

Bug: https://bugs.openjdk.java.net/browse/JDK-8198569

/Erik