This is a rough example of how to pipe a set of filenames to an editor, where the files contain the pattern and their names also match a pattern. Note a singular (non-existent) filename of {} is also passed to sublime_text.