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 | 6e177bcef292d83e85126dcce9b5fc05a56aa6b8 (patch) | |
tree | b83e5081277911504361394649761df4a6538dd7 /bin/report-vuln | |
parent | 1bfb69fb09386df4b8f850a2f5e445e32c9ad865 (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 |