head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1
	RELENG_4_11:1.1.0.32
	RELENG_4_11_BP:1.1
	RELENG_4_10_0_RELEASE:1.1
	RELENG_4_10:1.1.0.30
	RELENG_4_10_BP:1.1
	RELENG_4_9_0_RELEASE:1.1
	RELENG_4_9:1.1.0.28
	RELENG_4_9_BP:1.1
	RELENG_4_8_0_RELEASE:1.1
	RELENG_4_8:1.1.0.26
	RELENG_4_8_BP:1.1
	RELENG_4_7_0_RELEASE:1.1
	RELENG_4_7:1.1.0.24
	RELENG_4_7_BP:1.1
	RELENG_4_6_2_RELEASE:1.1
	RELENG_4_6_1_RELEASE:1.1
	RELENG_4_6_0_RELEASE:1.1
	RELENG_4_6:1.1.0.22
	RELENG_4_6_BP:1.1
	RELENG_4_5_0_RELEASE:1.1
	RELENG_4_5:1.1.0.20
	RELENG_4_5_BP:1.1
	RELENG_4_4_0_RELEASE:1.1
	RELENG_4_4:1.1.0.18
	RELENG_4_4_BP:1.1
	RELENG_4_3_0_RELEASE:1.1
	RELENG_4_3:1.1.0.16
	RELENG_4_3_BP:1.1
	RELENG_4_2_0_RELEASE:1.1
	RELENG_4_1_1_RELEASE:1.1
	PRE_SMPNG:1.1
	RELENG_4_1_0_RELEASE:1.1
	RELENG_3_5_0_RELEASE:1.1
	RELENG_4_0_0_RELEASE:1.1
	RELENG_4:1.1.0.14
	RELENG_4_BP:1.1
	RELENG_3_4_0_RELEASE:1.1
	RELENG_3_3_0_RELEASE:1.1
	RELENG_3_2_PAO:1.1.0.12
	RELENG_3_2_PAO_BP:1.1
	RELENG_3_2_0_RELEASE:1.1
	RELENG_3_1_0_RELEASE:1.1
	RELENG_3:1.1.0.10
	RELENG_3_BP:1.1
	RELENG_2_2_8_RELEASE:1.1
	RELENG_3_0_0_RELEASE:1.1
	RELENG_2_2_7_RELEASE:1.1
	RELENG_2_2_6_RELEASE:1.1
	RELENG_2_2_5_RELEASE:1.1
	RELENG_2_2_2_RELEASE:1.1
	RELENG_2_2_1_RELEASE:1.1
	RELENG_2_2_0_RELEASE:1.1
	RELENG_2_1_7_RELEASE:1.1
	RELENG_2_1_6_1_RELEASE:1.1
	RELENG_2_1_6_RELEASE:1.1
	RELENG_2_2:1.1.0.8
	RELENG_2_2_BP:1.1
	RELENG_2_1_5_RELEASE:1.1
	RELENG_2_1_0_RELEASE:1.1
	RELENG_2_1_0:1.1.0.6
	RELENG_2_1_0_BP:1.1
	RELENG_2_0_5_RELEASE:1.1
	RELENG_2_0_5:1.1.0.4
	RELENG_2_0_5_BP:1.1
	RELENG_2_0_5_ALPHA:1.1
	RELEASE_2_0:1.1
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.2
	MOVED_NEWCVS:1.1
	FINAL_1_1_5:1.1
	ALPHA_1_1_5:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.10.01.06.22.40;	author kris;	state dead;
branches;
next	1.1;

1.1
date	94.05.07.18.09.44;	author ache;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Phase I of UUCP migration to ports.  This leaves behind a minimal build
environment for cu, which is still useful.
@
text
@#!/bin/sh
#
# uuxconv
#
# After converting to Taylor from SVR4.03 UUCP, I still had a lot of
# jobs queued up to go out.
#
# This script is a one-shot to mass-requeue a site's spool.
#
# It doesn't go and do your whole spool, nor even all grades.
# you need to go into each grade directory for each site and 
# execute this.
#
# i.e.:  You have a site named 'foo'
# cd /var/spool/uucp/foo/Z
# uuxconv foo
# 
# it does delete the 'D' & 'X' after requeing them, but doesn't remove
# the 'C' files.
#
# I foolishly went and ran this script on all my queued jobs, without
# adding the improvements to recursively go through the entire UUCP spool,
# so now I'm out of files to test with.  I don't want to add the code
# to do that since I can't test it, and this worked.
#
# I hereby give this (trivial :-)) program to the GNU Project/FSF
# and Ian Taylor in it's entirety, so that it can be placed in
# the contrib directory of taylor-uucp, and save others the pain
# of rewriting it.
#
# Richard Nickle (rick@@trystro.uucp, rnickle@@gnu.ai.mit.edu)
# May 27, 1993
#
if [ $# -eq 0 ]
then
	echo "Usage: $0 sitename"
	exit 1
fi
exit 0
site=$1
tsite=`echo $site | cut -c1-5`
find . -name "D.$tsite*" -print |
while read file
do
	control=`egrep "^C" $file | cut -c3-`
	input=`egrep "^I" $file | cut -c3-`
	(uux - -r -z $site!$control < $input) && (rm $file $input)
	echo "$site!$control < $input"
done
exit 0
@


1.1
log
@Upgrade to version 1.05
@
text
@@

