Le Thursday 05 October 2006 à 09:02:59 +0100, Nick Leverton a écrit: > I believe the previous two patches are incorrect, because the fields in > "sort +n" are numbered starting from zero, whereas "sort -k n" numbers > the fields from 1. So "sort +1" is equivalent to "sort -k2". > > The attached patch to /etc/cron.monthly/acct allows for this difference, > and prevents the monthly email about this deprecated syntax.
I confirm that this patch is working correctly, I have tested it, and "sort +1" must be replaced by "sort -k2" to have the same functionality. Thank you Nick for pointing this. Hope this patch can be included in the next acct version. Best regards -- Loïc "heaven is not a place, it's a feeling"
signature.asc
Description: Digital signature