====== match ====== Roland Renaud [[wiki:match|match]] and [[wiki:match_or|match_or]] are scripts to allow grep pipelines. Here are some examples: % cat animals cat dog horse goat % cat animals |match hor horse % cat animals |match -o hor go horse goat % match -h match - a grep pipeline Usage: match [-v] {pat} Eg: cat file | match str1 str2 str3 is equivalent to: cat file | grep -i str1 | grep -i str2 | grep -i str3 match -v makes it grep -iv match -o calls match_or (Enter "match -o -h" for more info) % match_or -h match_or code for the or (-o) option for match usage: cat file | match_or str1 str2 usage: match_or str1 str2