On 07/12/2017 01:19, RW via freebsd-questions wrote: > Never mind, the shell handles the quotes, so grep sees -b as an option > rather than a pattern. :-) To find these things out the easy way, stick "echo" in front of the line, immediately a quoting problem is suspected.