Initial vr4111 Sanitization marks.
authorGavin Romig-Koch <gavin@redhat.com>
Thu, 15 Jan 1998 18:46:32 +0000 (18:46 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Thu, 15 Jan 1998 18:46:32 +0000 (18:46 +0000)
.Sanitize
gas/.Sanitize
gas/config/.Sanitize
gdb/.Sanitize

index d2b2884617393eeb0d3e695bfa645d2ef8be9179..0290dd7455b8cdb14b864febc6118076ce25c4b3 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -430,6 +430,35 @@ else
        done
 fi
 
+vr4111_files="ChangeLog config.sub"
+
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       for i in $vr4111_files ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4111 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4111\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 if ( echo $* | grep keep\-ide > /dev/null ) ; then
        for i in * ; do
                if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then
index 641b6d929746857bdd9aa7e245da7feae4e33001..5003bcb3f43c528236fae7e1436b0e4e7a47678f 100644 (file)
@@ -403,6 +403,34 @@ else
        done
 fi
 
+vr4111_files="ChangeLog"
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       for i in $vr4111_files ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4111 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $vr4111_files ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4111\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
index 252691dc84d5671e02c8cdc10f7a38e9bfa4d1a2..49078b5acdc4ad5c5e830e6670b3656e64edffea 100644 (file)
@@ -412,6 +412,34 @@ else
        done
 fi
 
+vr4111_files="tc-mips.c"
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       for i in $vr4111_files ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4111 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $vr4111_files ; do
+               if test -r $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4111\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4111/,/end\-sanitize\-vr4111/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
index 26b9b5e412500ba578bac6f432a5f59ff29d1361..165a594c5da690d9c4e6d52c1a643537cae10daf 100644 (file)
@@ -713,6 +713,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4111 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4111\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2