Created
September 12, 2015 16:47
-
-
Save Cfeusier/6c356bb60ea91168a594 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
# command | |
sed -n '/console.log/{=;p;}' example.js | |
# output | |
1 | |
console.log(hey there); | |
8 | |
console.log(msg); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment