origin
origin copied to clipboard
Track down the origin of a command
At compiling the project, there are many errors related to char* to char[] It is easily fixed by casting: error(EXIT_OTHER_ERROR, errno, "failed to allocate memory"); Replaced with: error(EXIT_OTHER_ERROR, errno, (char*)"failed...
Nice utility! Although it doesn't find functions (even the ones that are defined in ~/.bashrc). And functions are also executable constructs, which could easily wrap any binary in ${PATH}. ```...
I have packaged this tool for nix and consider putting it in nixpkgs with your permission.