Created
March 27, 2020 19:40
-
-
Save iamvee/dfef7656367671b8e29f7631a2a27387 to your computer and use it in GitHub Desktop.
search course subtitles to find the videos
This file contains hidden or 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
function course-find-word() { | |
egrep -i $1 ./**/*.vtt -B1 | |
egrep -i $1 ./**/*.vtt -B1 | grep -o '.*[0-9][0-9][0-9] - ' | sort | uniq | wc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment