From 7b85349fe85f22b96495ef7eff04c6e5b28c3d66 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 27 May 1993 03:22:48 +0000 Subject: honor verbose flag --- include/elf/.Sanitize | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'include/elf/.Sanitize') diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index 11b6cd4..a4ced8f 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -36,11 +36,21 @@ Do-last: v9dirty="common.h" +if ( echo $* | egrep verbose > /dev/null ) ; then + verbose=true +else + verbose= +fi + if ( echo $* | grep keep\-v9 > /dev/null ) ; then - echo Keeping v9 in ${v9dirty} + if [ -n "${verbose}" ] ; then + echo Keeping v9 in ${v9dirty} + fi else for i in ${v9dirty} ; do - echo Sanitizing v9 in $i + if [ -n "${verbose}" ] ; then + echo Sanitizing v9 in $i + fi rm -f new grep -v v9 $i > new if [ -n "${safe}" ] ; then -- cgit v1.1