nichobi / sponsorblockcast

A shell script that skips sponsored YouTube content on all local Chromecasts
GNU General Public License v3.0
348 stars 15 forks source link

use gnu tools on macos #26

Closed ibejoeb closed 2 years ago

ibejoeb commented 2 years ago

SBC doesn't work with BSD tools. This is a small preamble for running on macos. It does the following:

  1. Look for GNU grep and sed installed by homebrew as ggrep and gsed.
  2. If not found, prompt and exit.
  3. Otherwise, alias grep and sed, then proceed as normal.