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 sub...@bugs.debian.org # rm $TMPFILE # } +# +# in bash, this can be simply: +# +# mutt -i <($HOME/debian/svn/secure-testing/bin/report-vuln) sub...@bugs.debian.org +# # export http_proxy if you need to use an http proxy to report bugs import sys, re, urllib, os _______________________________________________ Secure-testing-commits mailing list Secure-testing-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits