Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell command, looks for lines of text in .md files in the current directory containing the text "ACHIEVEMENT:", then writes the output/results to a separate file.
# looks for lines of text in .md files in the current directory containing the text "ACHIEVEMENT:"
# > then writes the output/results to a separate file
grep -h -w -i "ACHIEVEMENT:" ./*.md > ./achievements/achievements.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.