Skip to main content
6 events
when toggle format what by license comment
Sep 29 at 12:05 history edited Gilles Quénot CC BY-SA 4.0
added 5 characters in body
Sep 28 at 19:38 comment added Gilles Quénot Post edited accordingly to use exit() instead of string comparison.
Sep 28 at 19:33 history edited Gilles Quénot CC BY-SA 4.0
deleted 76 characters in body
Sep 28 at 19:16 comment added Stephen Kitt This assumes that the target package is installed, which might not be the case — it would probably be more useful to compare package versions between repositories (which is also possible with apt-cache policy). You also don’t need to go through output strings in res, awk can exit with a specific exit code and thus be used directly in an if construct.
Sep 28 at 18:54 history edited Gilles Quénot CC BY-SA 4.0
added 16 characters in body
Sep 28 at 18:49 history answered Gilles Quénot CC BY-SA 4.0