projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include aculib in cleanup
[unix-history]
/
usr
/
src
/
usr.bin
/
vgrind
/
vgrind.sh
diff --git
a/usr/src/usr.bin/vgrind/vgrind.sh
b/usr/src/usr.bin/vgrind/vgrind.sh
index
c85b398
..
7332600
100644
(file)
--- a/
usr/src/usr.bin/vgrind/vgrind.sh
+++ b/
usr/src/usr.bin/vgrind/vgrind.sh
@@
-1,3
+1,6
@@
+#! /bin/csh
+#
+# @(#)vgrind.sh 1.8 (Berkeley) %G%
#
# vgrind
#
#
# vgrind
#
@@
-68,7
+71,9
@@
endif
if (-r index) then
echo > nindex
foreach i ($files)
if (-r index) then
echo > nindex
foreach i ($files)
- echo "/ $i /d" >> nindex
+ # make up a sed delete command for filenames
+ # being careful about slashes.
+ echo "? $i ?d" | sed -e "s:/:\\/:g" -e "s:?:/:g" >> nindex
end
sed -f nindex index >xindex
if ($f == 'filter') then
end
sed -f nindex index >xindex
if ($f == 'filter') then