Last active
September 13, 2018 16:21
-
-
Save LoganDark/ff8ea5fedb5dada6187a07a1ad4aff57 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Print a list of third-party kexts your system includes. Output is made for Markdown. | |
kextstat | grep -v com.apple | egrep -o '\S+ \S+ \S+ <(\d+\s+)*\d>$' | egrep -o '^\S+' | tr '\n' ',' | sed 's/,/`, `/g' | sed 's/`, `$//g' | sed 's/^/`/' | sed 's/$/`/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment