gsar (General Search And Replace) is a tool for searching for and, optionally, replacing strings in both text and binary files. The search and replace strings can contain all kinds of characters (0--255), i.e. Ctrl characters and extended ASCII as well.
The algorithm used is a variation of the Boyer-Moore search algorithm, modified to search binary files.
As a result of this, gsar is blindingly fast.
Comments