Created
November 19, 2015 17:29
-
-
Save tatapbl4/bed3ea87b586bdaefea6 to your computer and use it in GitHub Desktop.
List packages to update with old and new version
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
apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+)\)? /i) {print "PROGRAM: $1 INSTALLED: $2 AVAILABLE: $3\n"}' | column -s " " -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment