|
From: | Abramo Bagnara |
Subject: | bug#16965: Likely bug in grep for file without an ending newline |
Date: | Fri, 07 Mar 2014 23:38:12 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
$ echo -n test > file $ fgrep e file test $ fgrep -v q file test $ cat file test$ My expectation would be that file is not altered by grep if all lines matches pattern. Is current grep behavior the expected one? -- Abramo Bagnara
[Prev in Thread] | Current Thread | [Next in Thread] |