Last active
August 29, 2015 14:13
-
-
Save gmas/683b965939e65ae77a9a to your computer and use it in GitHub Desktop.
read text between tags
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
#read text betweeen <ca> tags | |
#The -n option means don't print by default; | |
# then print between the line containing <ca> and </ca> | |
sed -n "/<ca>/,/<\/ca>/p" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment