cope with new gcc error syntax

This commit is contained in:
rsc 2007-03-26 14:57:39 +00:00
parent 4b241872ef
commit 96f54e3fff

2
bin/9l
View file

@ -316,7 +316,7 @@ fi
xtmp=/tmp/9l.$$.$USER.out
xxout() {
sed 's/.*: In function `[^:]*: *//' $xtmp | egrep . |
egrep -v 'is almost always misused|is dangerous, better use'
egrep -v 'is (often|almost always) misused|is dangerous, better use'
rm -f $xtmp
}