Subject: bug#21414: -F string with tailing newline always matches

From: Ian Brown - HNAS <[email-masked]>
Date: Fri, 4 Sep 2015 14:45:45 +0000

Grep version 2.20

When using the ouput of another command to pass match strings into grep using -F I was getting unexpected results as it was matching every line. If the terminating newline is removed the grep started to work again.

Easy to work around but this is different behaviour from 2.12 and may cause some scripts to fail.

Ian Brown (HDS)