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

Craig Treleaven ctreleaven at cogeco.ca
Fri May 18 19:07:02 UTC 2018


> On May 18, 2018, at 2:18 PM, Marius Schamschula <lists at schamschula.com> 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 '^PortGroup\s+cxx11\s+1\.0'
macports-ports/devel/akonadi/Portfile:PortGroup           cxx11   1.0
macports-ports/multimedia/audacious-core/Portfile:PortGroup           cxx11 1.0
macports-ports/multimedia/audacious-plugins/Portfile:PortGroup           cxx11 1.0
macports-ports/lang/castxml/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/chipmunk/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/cppcheck/Portfile:PortGroup                   cxx11 1.0
macports-ports/archivers/dar/Portfile:PortGroup           cxx11 1.0
macports-ports/fuse/encfs/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/fbthrift/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/folly/Portfile:PortGroup           cxx11 1.0
macports-ports/sysutils/fsearch/Portfile:PortGroup           cxx11 1.0
macports-ports/math/GiNaC/Portfile:PortGroup       cxx11 1.0
macports-ports/devel/gource/Portfile:PortGroup           cxx11 1.0
macports-ports/math/gringo/Portfile:PortGroup           cxx11 1.0
macports-ports/graphics/guetzli/Portfile:PortGroup           cxx11 1.0
macports-ports/graphics/ipe/Portfile:PortGroup               cxx11 1.0
macports-ports/finance/ledger/Portfile:PortGroup           cxx11 1.0
macports-ports/multimedia/libcec/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/liblightgrep/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/libpointing/Portfile:PortGroup           cxx11 1.0
macports-ports/sysutils/lirc/Portfile:PortGroup           cxx11 1.0
macports-ports/multimedia/mkvtoolnix/Portfile:PortGroup           cxx11 1.0
macports-ports/databases/mongodb/Portfile:PortGroup           cxx11 1.0
macports-ports/audio/mpd/Portfile:PortGroup           cxx11 1.0
macports-ports/math/octave-image/Portfile:PortGroup           cxx11 1.0
macports-ports/math/octave-parallel/Portfile:PortGroup           cxx11 1.0
macports-ports/science/ompl/Portfile:PortGroup           cxx11 1.0
macports-ports/textproc/opencc/Portfile:PortGroup           cxx11 1.0
macports-ports/textproc/pdfgrep/Portfile:PortGroup           cxx11 1.0
macports-ports/python/py-networkit/Portfile:PortGroup           cxx11 1.0
macports-ports/python/py-networkit/Portfile:PortGroup           cxx11 1.0
macports-ports/python/py-networkit/Portfile:PortGroup           cxx11 1.0
macports-ports/irc/quassel/Portfile:PortGroup cxx11 1.0
macports-ports/irc/quassel/Portfile:PortGroup cxx11 1.0
macports-ports/devel/quickfix/Portfile:PortGroup           cxx11 1.0
macports-ports/multimedia/shenidam/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/vcsn/Portfile:PortGroup           cxx11 1.0
macports-ports/devel/wangle/Portfile:PortGroup           cxx11 1.0
macports-ports/www/webkit-gtk/Portfile:PortGroup           cxx11 1.0
macports-ports/www/webkit-gtk/Portfile:PortGroup           cxx11 1.0

40 ports.

Speaking for lirc and libcec, I haven’t had a resons to update either of those in some time.  

Craig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20180518/f7b5cb2a/attachment.html>


More information about the macports-dev mailing list