As an example I use BareGrep, a free regular expression search tool by Bare Metal Software Pty Ltd. Its command line syntax is
Code: Select all
baregrep [options] [pattern {file(s)}]
or
Code: Select all
baregrep (-n|--no-regex) [options] {file(s)}
Obviously, since I have no way of telling it what to search for from within SS, I need to use the second form. When dropping files on the User Menu Bar icon, SS ignores the specified -n option and consequently baregrep treats the first or only file as the search pattern.