#!/usr/bin/env bash # ollie:parallel read # description: Run grep. Reads from stdin if piped, otherwise searches files. Args are passed directly to grep. # Args: [grep-options...] [file...] set -uo pipefail exec grep "$@"