Not working.
the first:
-bash: syntax error near unexpected token `('
and the second does not return any of the dual word cases.
The patternfile contains:
benchmark
union
information_schema
drop
truncate
group_concat
into
case
hex
lpad
group
order
having
insert
union
select
from
where
delete
create
table
I want to list lines from /var/log/httpd/mysite-access_log.log
if the lines contain 2 or more of the words of patternfile:
sssss SElect xxxxx InTO
dsjdhshdj CREATE xxxx ss s ggggs TabLE
DElete sdsdssd from wjhdssd WHErE dffsdfsd
.....