Last active
June 28, 2019 12:49
-
-
Save ATRescue/ef8c656542f6a8a392db3415055980a6 to your computer and use it in GitHub Desktop.
Simple “pgtitle” function – find out the title of a page immediately.
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
function pgtitle { curl -s "$@" | grep -ioe "<title>.*</title>" | sed -r "s#</?title>##g" ;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment