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

Version Path
rvm-0.1.38 scripts/match
rvm-0.1.37 scripts/match
rvm-0.1.36 scripts/match
rvm-0.1.35 scripts/match
rvm-0.1.34 scripts/match
rvm-0.1.33 scripts/match
rvm-0.1.32 scripts/match
rvm-0.1.31 scripts/match
rvm-0.1.30 scripts/match
rvm-0.1.29 scripts/match
rvm-0.1.27 scripts/match
rvm-0.1.26 scripts/match
rvm-0.1.24 scripts/match
rvm-0.1.23 scripts/match
rvm-0.1.22 scripts/match
rvm-0.1.21 scripts/match
rvm-0.1.20 scripts/match
rvm-0.1.19 scripts/match
rvm-0.1.18 scripts/match
rvm-0.1.16 scripts/match