findit

Fild files

View project on GitHub

Lines string method

The lines method is used to convert a string to a list of lines.

For example:

findit -w 'content.lines().first() = "package"'

will show all the files in which the first line is “package”.