begrudge a duplicated line

This commit is contained in:
rupa committed 2011-08-03 19:47:30 -04:00
1 parent 8621b3c498
commit af890aea59
1 file changed
+1 -2
+1 -2
View File
@@ -77,11 +77,10 @@ _z() {
if( system("test -d \"" $1 "\"") ) next
if( nocase ) {
for( i in fnd ) tolower($1) !~ tolower(fnd[i]) && $1 = ""
if( $1 ) print $1
} else {
for( i in fnd ) $1 !~ fnd[i] && $1 = ""
if( $1 ) print $1
}
if( $1 ) print $1
}
' "$datafile" 2>/dev/null