Domagoj writes: > I've attempted to grep '/usr/ports/*/*/pkg-plist' for 'bin/lynx' > and shot myself in a foot! :P > Even if it did returned "sane" amount of matches, speed was atrocious.
time find /usr/ports/ -name pkg-plist | xargs grep bin/lynx$ /usr/ports/finance/ledgersmb/pkg-plist:@dirrm ledger-smb/bin/lynx /usr/ports/finance/sql-ledger/pkg-plist:@dirrm sql-ledger/bin/lynx /usr/ports/japanese/lynx/pkg-plist:bin/lynx /usr/ports/japanese/lynx-current/pkg-plist:bin/lynx /usr/ports/www/lynx/pkg-plist:bin/lynx /usr/ports/www/lynx-current/pkg-plist:bin/lynx real 0m2.065s user 0m0.379s sys 0m1.338s Not bad for a system that has been repeatedly insulted on this list recently. (I'm assuming that 6 matches is a "sane" amount.) _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"