Fixed bug 10926 - filter should honour lineDelimiter

Straightforward changes to cmds.h and cmdsf.cpp