find: or -> -or
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 17 Jun 1991 03:08:17 +0000 (19:08 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 17 Jun 1991 03:08:17 +0000 (19:08 -0800)
SCCS-vsn: etc/weekly 5.13

usr/src/etc/weekly

index e150287..c901984 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)weekly      5.12 (Berkeley) %G%
+#      @(#)weekly      5.13 (Berkeley) %G%
 #
 
 PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
 #
 
 PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
@@ -17,13 +17,13 @@ echo "Subject: $host weekly run output"
 # before looking there for checked-out files
 
 if [ -d /usr/src -a \
 # before looking there for checked-out files
 
 if [ -d /usr/src -a \
-  X"`find -f /usr/src ! -fstype local -prune or -type d -print prune`" != X ];
+  X"`find -f /usr/src ! -fstype local -prune -or -type d -print prune`" != X ];
 then
        echo "looking for checked out files:"
        TDIR=/tmp/_checkout$$
 
        mkdir $TDIR
 then
        echo "looking for checked out files:"
        TDIR=/tmp/_checkout$$
 
        mkdir $TDIR
-       for file in `find -f /usr/src ! -fstype local -prune or \
+       for file in `find -f /usr/src ! -fstype local -prune -or \
            -name 'p.*' -print | egrep 'SCCS/p\.'`; do
                owner=`awk '{ print $3 }' $file`
                echo "$owner    $file"
            -name 'p.*' -print | egrep 'SCCS/p\.'`; do
                owner=`awk '{ print $3 }' $file`
                echo "$owner    $file"