After executing brew upgrade
to upgrade my package on macOS, the nmap is upgraded to the latest version(7.70), there appeared a failed link to ncat, with some possible conflict files related to man listed, then I followed the advice provided by homebrew, executed the following commands:
rm '/usr/local/bin/ncat'
brew link --overwrite nmap
brew link --overwrite --dry-run nmap
It seemed that all the thing went well, but when I executed man nmap
, the appeared page was a mess of codes, it went gibberish like this:
Errors of installation of nmap
A mess of codes in manpage for nmap part 1
A mess of codes in manpage for nmap part 2
I had tried reinstall the nmap but it didn’t work. So, can anyone tell me how can I fix this problem?