Last active
December 9, 2020 08:50
-
-
Save brovish/02cd03aff2a87c951ae85d0f44f25271 to your computer and use it in GitHub Desktop.
example to extract substrings with grep
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
| ##example to extract substrings with grep | |
| grep -Poe '\[SWIFT BIC CODE\].*?\[|BIC\/SWIFT.*?\[|\(BIC\)\/SWIFT.*?\[|\(BIC\) \/ SWIFT.*?\[' list_full.csv | wc -l | |
| ##Grep everything before a specific character [duplicate] | |
| awk -F":" '{print $1}' < inputfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment