From ebff968a6337cfefca96a76a9ff8fbac8a2b2bb3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 30 Mar 2001 08:07:19 +0000 Subject: [PATCH] Only replace once. git-svn-id: https://svn.dealii.org/trunk@4346 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/Makefile b/deal.II/Makefile index 4a7c7c4012..d1d5385fbe 100644 --- a/deal.II/Makefile +++ b/deal.II/Makefile @@ -137,9 +137,9 @@ TODO: @egrep -i '// *todo' $D/base/include/*/*.h $D/base/source/*.cc \ $D/lac/include/*/*.h $D/lac/source/*.cc \ $D/deal.II/include/*/*.h $D/deal.II/source/*/*.cc \ - | perl -pi -e 's#$D/?#\n#g;' \ - | perl -pi -e 's#(.*)(TODO:?)(\[.+\])#\3 \1\2\3#gi;' \ - | perl -pi -e 's#\s*//\s*TODO:\s*(\[.+\])\s*#\n\1 #gi;' \ + | perl -pi -e 's#$D/?#\n#;' \ + | perl -pi -e 's#(.*)(TODO:?)(\[.+\])#\3 \1\2\3#i;' \ + | perl -pi -e 's#\s*//\s*TODO:\s*(\[.+\])\s*#\n\1 #i;' \ > $@ -- 2.39.5