Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice. I was trying to remember how to extract the summary lines by themselves. And yes, it's much faster (fewer execs, less manpage formatting and parsing).

Note that your solution skips chroot (man section 8). The fix:

    whatis -s1,8 $(dpkg -L coreutils | grep "bin/" | sed 's,^.*\/,,')


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: