'No available formula or cask with the name "md5sha1sum#!/bin/bash"

I keep getting this weird brew warning, logs are below:

Warning: No available formula or cask with the name "md5sha1sum#!/bin/bash".
Please tap it and then try again: brew tap md5sha1sum#!/bin
Error: No similarly named formulae found.
Error: No previously deleted formula found.
ERROR:  Unexpected mod_checksum '==> Searching for similarly named formulae...
==> Searching for a previously deleted formula (in the last month)...

What should I do? I tried brew tap md5sha1sum#!/bin, not working.



Solution 1:[1]

Like Gordon said, md5sha1sum is the formula name, but #!/bin/bash is shebang.

It can be confirmed by either the CLI search, or formulae search page.

$ brew search md5sha1sum
==> Formulae
md5sha1sum

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 chenrui