Created
June 25, 2013 13:57
-
-
Save briandailey/5858625 to your computer and use it in GitHub Desktop.
phpargs function - add to bashrc
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
function phpargs() { | |
curl -s http://us3.php.net/$1 | \ | |
sed -n '/<div class="methodsynopsis dc-description">/,/<\/div>/p' | \ | |
sed 's/<[^>]*>//g' | tr -d "\n" | |
echo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment