Re: regex for finding all ports using the cxx11 1.0 PG and changing them en-masse to the cxx11 1.1 PG

2018-05-18 Thread Ken Cunningham
Thanks for that, guys. > On May 18, 2018, at 2:18 PM, Marius Schamschula >> wrote: >> >> Drat. Autocorrect strikes again. The regex should be: >> >> >>

Re: regex for finding all ports using the cxx11 1.0 PG and changing them en-masse to the cxx11 1.1 PG

2018-05-18 Thread Craig Treleaven
> On May 18, 2018, at 2:18 PM, Marius Schamschula wrote: > > Drat. Autocorrect strikes again. The regex should be: > > > port file all | xargs grep cxx11 | grep 1.0 > I think that regex needs to be refined a little more: $ port file all | xargs egrep -e

Re: regex for finding all ports using the cxx11 1.0 PG and changing them en-masse to the cxx11 1.1 PG

2018-05-18 Thread Marius Schamschula
Drat. Autocorrect strikes again. The regex should be: port file all | xargs grep cxx11 | grep 1.0 > On May 18, 2018, at 1:17 PM, Marius Schamschula wrote: > > Ken, > > A quick regex: > > port file all | args grep cxx11 | grep 1.0 > > There are currently 57 ports. >

Re: regex for finding all ports using the cxx11 1.0 PG and changing them en-masse to the cxx11 1.1 PG

2018-05-18 Thread Marius Schamschula
Ken, A quick regex: port file all | args grep cxx11 | grep 1.0 There are currently 57 ports. > On May 18, 2018, at 12:50 PM, Ken Cunningham > wrote: > > It seems that there is no reason for a port to still be in the cxx11 1.0 PG. > > I stumble across them

regex for finding all ports using the cxx11 1.0 PG and changing them en-masse to the cxx11 1.1 PG

2018-05-18 Thread Ken Cunningham
It seems that there is no reason for a port to still be in the cxx11 1.0 PG. I stumble across them from time to time still. Do any of the regex-masters have an easy way to find all the cxx11 1.0 PG entries and change them all to 1.1 PG? Thanks, Ken