grep 和 perl多个条件匹配

grep和perl多个条件匹配使用‘|’作为分割符号

grep -E 'abc|def'

perl if(/abc|def/)