diff options
author | Antoine Beaupré <anarcat@debian.org> | 2016-10-29 16:55:47 +0000 |
---|---|---|
committer | Antoine Beaupré <anarcat@debian.org> | 2016-10-29 16:55:47 +0000 |
commit | 2bc5e392b3a202ae6c74253cb3ca6b4cb0e48480 (patch) | |
tree | 3f9b49af2d2407dc8e49087a47158f20612a35c9 /bin/report-vuln | |
parent | 9c8b4507a7c834c66427a6a96f5921d756ed0084 (diff) |
Summary: report-vuln: add an example of a simple oneliner with bash as well
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@45746 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/report-vuln')
-rwxr-xr-x | bin/report-vuln | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/report-vuln b/bin/report-vuln index 37311a2283..030de28005 100755 --- a/bin/report-vuln +++ b/bin/report-vuln @@ -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@bugs.debian.org # rm $TMPFILE # } +# +# in bash, this can be simply: +# +# mutt -i <($HOME/debian/svn/secure-testing/bin/report-vuln) submit@bugs.debian.org +# # export http_proxy if you need to use an http proxy to report bugs import sys, re, urllib, os |