#!/bin/sh
if [ -t 1 ] && [ -z "$YOLO_BYPASS_SHIMS" ]; then
  echo "Error: 'grep' is disabled for direct use. Use 'rg' (ripgrep) instead." >&2
  echo "If you absolutely need the real grep in a script, use /bin/grep" >&2
  exit 127
fi
exec /bin/grep "$@"
