{"name":"gist: 898774","desc":"grep with context to yaml","actor":"jro","url":"https://gist.github.com/898774","snippet":"export FILE=/tmp/some_file && echo '- |' > $FILE && grep -5r something somefiles*.* | sed -e 's/^/  /g' | sed -e 's/^  --/- |/g' >> $FILE\n# now you should have a valid yaml list of blocks of text.","actor_gravatar":"62c71b6e4bee59d67abc3ac5076c1049","action":"create"}