Created
July 24, 2018 14:37
-
-
Save taroyanaka/e617579b714694f1100f22e3d7fc18de to your computer and use it in GitHub Desktop.
replace foobar and STRING
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
#! /bin/bash | |
curl https://twitter.com/foobar | grep STRING | awk '{gsub(/<[^<]*>/,"");gsub(/^ /,"");print}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment