[Secure-testing-commits] r45746 - bin

Antoine Beaupré anarcat at moszumanska.debian.org
Sat Oct 29 16:55:47 UTC 2016


Author: anarcat
Date: 2016-10-29 16:55:47 +0000 (Sat, 29 Oct 2016)
New Revision: 45746

Modified:
   bin/report-vuln
Log:
Summary: report-vuln: add an example of a simple oneliner with bash as well


Modified: bin/report-vuln
===================================================================
--- bin/report-vuln	2016-10-29 14:28:01 UTC (rev 45745)
+++ bin/report-vuln	2016-10-29 16:55:47 UTC (rev 45746)
@@ -5,12 +5,18 @@
 #
 # you could use it for example in combination with the
 # following shell function:
+#
 # report-vuln(){
 #     TMPFILE="$HOME/reportbug.tmp"
 #     $HOME/debian/svn/secure-testing/bin/report-vuln "$@" > $TMPFILE
 #     mutt -i $TMPFILE submit at bugs.debian.org
 #     rm $TMPFILE
 # }
+#
+# in bash, this can be simply:
+#
+# mutt -i <($HOME/debian/svn/secure-testing/bin/report-vuln) submit at bugs.debian.org
+#
 # export http_proxy if you need to use an http proxy to report bugs
 
 import sys, re, urllib, os




More information about the Secure-testing-commits mailing list