Repeating Pattern Finder
Example command line tool, when given a string consisting of a repeating pattern and ending with all or part of that pattern via argument or stdin, prints shortest such pattern.
Example command line tool, when given a string consisting of a repeating pattern and ending with all or part of that pattern via argument or stdin, prints shortest such pattern.