repquota (/usr/sbin/repquota) output format is hard to parse in sh/awk/perl/... programs due to field number unstableness. If user overflowed soft limit, "grace" field is non-empty, otherwise empty; "files used" field is 7th or 6th accordingly. Variable number of spaces between fields makes problem hardier. Of course, script can parse 2nd field with its "+-", "-+", etc., but it is ugly imho. Change to print "-" in grace field makes output more strong and beauty. How-To-Repeat: Run repquota on file system with some users with overflowing of soft limit, and some without it.
Oh, this is exact duplicate of bin/15739 of mine, sent exactly year ago, after previous setup of our mail-and-little-webs host ;;(( Well, and what about applying of this fix? > Thank you very much for your problem report. > It has the internal identification `bin/23908'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=23908 > > >Category: bin > >Responsible: freebsd-bugs > >Synopsis: repquota format fix > >Arrival-Date: Thu Dec 28 07:40:01 PST 2000 /netch
State Changed From-To: open->closed Duplicate of PR 15739.