Project

General

Profile

Feature #3705

"ups active" to show database from which setup product was taken.

Added by Christopher Green over 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/16/2013
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
-
Duration:

Description

--- /products/ups/v4_9_7/Linux64bit+2.6-2.12/bin/ups_active     2012-11-20 14:02:44.000000000 -0600
+++ /home/greenc/ups_active.pl  2013-04-16 10:50:09.498344317 -0500
@@ -11,7 +11,9 @@
     @pl=split(/\s+/,$words[1]);
     printf("%-16s  %-15s -f %-20s", $pl[0],$pl[1],$pl[3]);
     if($#pl > 5 ) {
-        printf(" -q %-15s",$pl[7]);
+      printf(" -q %-15s -z %s",$pl[7],$pl[5]);
+    } else {
+      printf("%s -z %s",' ' x 19,$pl[5]);
     }
     printf("\n");
 }

Existing columns (-q) are not reordered, so backward compatibility for scripts parsing output is a non-issue.

History

#1 Updated by Lynn Garren over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

This is now committed to the head and ready for a new release. Would prefer to wait for Marc M's fixes before cutting a new release.

#2 Updated by Lynn Garren almost 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF