[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: todos: command not found

>>>>> "Bartosz" == Bartosz Fenski aka fEnIo <fenio@debian.org> writes:

    >> >Anyone knows what package brings the todos command?
    >> >I had this error in a debian-cd try:
    >> >tools/add-bin-doc: line 42: todos: command not found
    >> sysutils
    >> try something like 'apt-file search todo | grep bin'

    Bartosz> Dead grep. `apt-file search bin/todos`

So now the original poster just needs to do:

package = search_file("bin/todos");


search_file($file) {
    if (!file_exists("/usr/bin/apt-file")) {
        package = search_file("/usr/bin/apt-file");
    $package = stdout(execute("apt-file","search",$file));

This infinite recursion will take several minutes (maximum) to
execute, I think (assuming the if test succeeds).
Brian May <bam@debian.org>

Reply to: