$ 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



Reply via email to