This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o pipefail | |
[[ -n "$WORKING_DIR" ]] || WORKING_DIR="$1" | |
[[ -n "$WORKING_DIR" ]] || WORKING_DIR=$(pwd) | |
function failure() | |
{ | |
echo "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
class Simple(object): | |
def __init__(self, searchterms): | |
self.__m_searchterms = searchterms | |
def isMatch(self, text): | |
for term in self.__m_searchterms: |