Package: devscripts
Version: 2.10.26ubuntu7~hardy1
Severity: wishlist
Tags: patch

Hi,

just found wnpp-alert today and I think it's one of those great and 
nifty tools.  I think it would be nice if the fields were aligned.  
Currently, this is not the case.  Orphaned packages are off by two 
spaces.  I'm not sure, but I think the patch below probably fixes that 
(fwiw, it works fine here, locally).

=== Schnipp ===

--- /usr/bin/wnpp-alert 2008-06-27 19:46:52.000000000 +0900
+++ /tmp/wnpp-alert     2009-02-06 13:43:47.645340010 +0900
@@ -125,4 +125,4 @@
 fi
 
 comm -12 $WNPP_PACKAGES $INSTALLED | sed -e 's/+/\\+/g' | \
-xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP
+xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP | sed s/^O/O\ \ /

=== Schnapp ===

While we are at it, why not include the URL for the bug numbers so that 
in many shells it becomes clickable?

=== Schnipp ===

--- /usr/bin/wnpp-alert 2008-06-27 19:46:52.000000000 +0900
+++ /tmp/wnpp-alert     2009-02-06 13:43:47.645340010 +0900
@@ -125,4 +125,4 @@
 fi
 
 comm -12 $WNPP_PACKAGES $INSTALLED | sed -e 's/+/\\+/g' | \
-xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP
+xargs -i egrep '^[A-Z]+ [0-9]+ {} ' $WNPP | sed s/^O/O\ \ /sed 's!\ !\ 
http://bugs.debian.org/!'

=== Schnapp ===

I am not a shell guru, so this may not be 100% correct.  Please be 
careful.

Regards

Rolf




-- 
To unsubscribe, send mail to [email protected].

Reply via email to