bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ian Brown - HNAS
Subject: bug#21414: -F string with tailing newline always matches
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]