📄 known_bugs
字号:
* Thu Aug 20 14:56:44 1998agrep -v fails to write anything unless at least one line (possibly, aparticular line) of the input matches the pattern that we're trying tomismatch. The non-glimpse agrep does not have this problem. E.g.:thalia[189]$ for p in O e n w o r ; do echo "Pattern '${p}':" ; echo "One@Two@Three" | tr '@' '\012' | agrep -v ${p} ; donePattern 'O':Pattern 'e':TwoPattern 'n':Pattern 'w':OnePattern 'o':OnePattern 'r':OneTwothalia[190]$ for p in O e n w o r ; do echo "Pattern '${p}':" ; echo "One@Two@Three" | tr '@' '\012' | agrep-2.04 -v ${p} ; donePattern 'O':TwoThreePattern 'e':TwoPattern 'n':TwoThreePattern 'w':OneThreePattern 'o':OneThreePattern 'r':OneTwoThe non-glimpse agrep uses bitap to do the search; the glimpse one uses bm.Some pre-condition is unsatisfied in the call to bm, because it overruns theinput text buffer by a huge amount in attempting to find a pattern match.It isn't obvious to me where this bug is arising, or how to fix it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -