Created
December 25, 2014 23:22
-
-
Save FunTimeCoding/326781176852532bf786 to your computer and use it in GitHub Desktop.
Print a compact list of outdated pip packages.
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
#!/bin/sh -e | |
OUTPUT=$(pip list --outdated) | |
PACKAGES=$(echo "${OUTPUT}" | grep Current) | |
NAMES=$(echo "${PACKAGES}" | awk '{print $1}') | |
for NAME in ${NAMES}; do | |
echo "${NAME}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment