Implement find and ifind commands