2008/5/11 Tom Wyant via RT <perlbug-followup@perl.org>: > I saw this in David Landgren's P5P summary, and thought maybe this was > the kind of grunt work that someone outside the usual group could > perform, and conserve the brain cycles of others for things that really > need them. > > The attached universal diff is against the t/op/pwent.t that distributed > with 5.10.0, but I assume the same would go out in 5.8.9; there are only > 2 lines difference from 5.8.8 to 5.10.0, dealing with changes in the > Darwin /etc/passwd format. > > The complication is that dscl was not a accommodating as nidump, so > their vaguely YAML-like output had to be parsed and re-marshaled into > the expected format. The attached patch uses (and tests for) perlio. A > forked implementation could be done as well if that's desirable, but I > figured I would go with the simplest implementation first. I have NOT > run this on anything but Leopard (Mac OS X 10.5.2) on an Intel box. > > Hoping this will be useful, Hoping so too :) Thanks, applied to bleadperl as change #33850.Thread Previous