"Peter Rosa" <[EMAIL PROTECTED]> writes: > > > From: "Peter Rosa" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Cc: "freebsd-questions" <[EMAIL PROTECTED]> > > > Sent: Friday, July 25, 2003 6:59 PM > > > Subject: Re: Problem with periodically done scripts > > > > > > > > > > Here is complete listing. Do you have any idea ? > > > > > > > > + echo Checking for uids of 0: > > > > Checking for uids of 0: > > > > + awk -F: $3==0 {print $1,$3} /etc/master.passwd > > > > + tee /dev/stderr > > > > root 0 > > > > toor 0 > > > > + sed -e /^root 0$/d -e /^toor 0$/d > > > > + wc -l > > > > + n= > > > > + [ -gt 0 -a -lt 1 ]
'n' isn't getting set at all. Try the awk script by hand, and see what happens. [You do *have* an /etc/master.passwd, right?] _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"