home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # scribble2 by Andrew Scott Beals. Written 12 April 1990
-
- cwd=`pwd`
-
- PATH=:$PATH:$cwd:$cwd/c:/usr2/bandy/picoscan:/usr2/bandy/picoscan/c:/usr2/bandy/bin:
- export PATH
-
- user=`whoami`
- conflist=$1
-
- echo -n 'Are you sure you want to perform a mass censor/scribble? (yes or no) '
- read y
- if [ "X$y" != Xyes ] ; then
- exit
- fi
-
- echo -n "Are you truely sure you want to delete every word you've said? "
- read y
- if [ "X$y" != Xyes ] ; then
- exit
- fi
-
- echo -n "This is your last chance. Do you want to go on? "
- read y
- if [ "X$y" != Xyes ] ; then
- exit
- fi
-
- (
- echo nopager
- for confs in `cat $conflist`
- do
- echo j $confs
- echo j
- echo d conf
- done
- echo quit ) | ( nice -1 pico -o -l -u | nice -1 awk '
- /^Conference: / {
- cname=substr($3, 2, index($3, ")")-2)
- print "cd " $2 " ; nice -1 .scribble2_worker " cname " _* | nice -1 pico -l -u -n"
- }' | sh | /usr/ucb/Mail -s 'standard output' $USER ) 2>&1| /usr/ucb/Mail -s 'error output' $USER &
-