[TRE-general] $ doesn't match end-of-line
Sebastian Nagel
wastl at cis.uni-muenchen.de
Fri May 12 09:18:45 EEST 2006
I found the following unexpected (somewhat unusual behaviour) of agrep.
Maybe it's a feature?
[volga:~] echo -e "asdf" | agrep '^asdf$'
[volga:~] echo -e "asdf" | agrep '^asdf\n$'
asdf
[volga:~] agrep -V
agrep (TRE agrep) 0.7.3
Copyright (c) 2002-2006 Ville Laurikari.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[volga:~] uname -a
Linux volga 2.6.13-15.8-default #1 Tue Feb 7 11:07:24 UTC 2006 i686 i686 i386
GNU/Linux
Sebastian
More information about the TRE-general
mailing list