Sha256: 1b1b21b0c29eceae7b6e564125b8f6c73b49f7eda6e81c78344a69e7a97f94b2
Contents?: true
Size: 257 Bytes
Versions: 40
Compression:
Stored size: 257 Bytes
Contents
#!/usr/bin/env bash if [[ -z "$1" ]] || [[ -z "$2" ]] ; then exit 1 fi if [[ ! -z "$BASH_VERSION" ]] && [[ ${BASH_VERSION:0:1} -gt 2 ]] ; then [[ "$1" =~ $2 ]] exit $? else if echo "$1" | grep -q "${2}" ; then exit 0 else exit 1 fi fi
Version data entries
40 entries across 40 versions & 1 rubygems