Sha256: 9d7dd013e771c85ea5368f9ed5ab32335e3d54b794379908d47b5d69e6e5b1d8

Contents?: true

Size: 269 Bytes

Versions: 15

Compression:

Stored size: 269 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 [ ! -z "$(echo "$1" | awk "/${2}/")" ] ; then
    exit 0
  else
    exit 1
  fi
fi

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rvm-0.0.96 scripts/match
rvm-0.0.95 scripts/match
rvm-0.0.93 scripts/match
rvm-0.0.92 scripts/match
rvm-0.0.91 scripts/match
rvm-0.0.90 scripts/match
rvm-0.0.89 scripts/match
rvm-0.0.88 scripts/match
rvm-0.0.87 scripts/match
rvm-0.0.86 scripts/match
rvm-0.0.85 scripts/match
rvm-0.0.84 scripts/match
rvm-0.0.83 scripts/match
rvm-0.0.82 scripts/match
rvm-0.0.81 scripts/match