>>>>> "Bartosz" == Bartosz Fenski aka fEnIo <[EMAIL PROTECTED]> 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");

where:

search_file($file) {
    if (!file_exists("/usr/bin/apt-file")) {
        package = search_file("/usr/bin/apt-file");
        execute("apt-get","update");
        execute("apt-get","install",$package);
    }
    execute("apt-file","update");
    $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 <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to