Newsgroups: news.software.b
Path: utzoo!telly!druid!darcy
From: darcy@druid.uucp (D'Arcy J.M. Cain)
Subject: Re: C News newgroup handling
Organization: D'Arcy Cain Consulting, West Hill, Ontario
Date: Thu, 1 Nov 90 20:52:41 GMT
Message-ID: <1990Nov1.205241.8693@druid.uucp>
References: <1990Oct30.043029.15164@druid.uucp>
>from: darcy@druid.uucp (D'Arcy J.M. Cain)

In the above referenced article I posted a pair of scripts to semi-automate
the administration of newgroups and rmgroups.  The second script has a
small bug due to the fact that it is run as root.  The mkpdir line should
be replaced by the following:

				dir=$NEWSARTS/`echo $3 | tr . ' ' `
				path=""

				for i in $dir
				do
					path=$path/$i
					if [ ! -d $path ]
					then
						mkdir $path
					fi
					chown news $path
				done

Sorry about that.

-- 
D'Arcy J.M. Cain (darcy@druid)     |
D'Arcy Cain Consulting             |   I support gun control.
West Hill, Ontario, Canada         |   Let's start with the government!
+ 416 281 6094                     |
