Created
August 1, 2022 18:25
-
-
Save gburgett/04130523e8303ad7eb7bf0a1aa75826c to your computer and use it in GitHub Desktop.
Bundle Grep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
bundle list | \ | |
awk '{ print $2 }' | \ | |
sed '1d;$d' | \ | |
xargs -I{} bundle show {} 2>/dev/null | \ | |
xargs -I {} rg "$@" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment