web commit by zack
authorStefano Zacchiroli <zack@fettunta.org>
Mon, 28 Jan 2008 08:11:19 +0000 (08:11 +0000)
committerStefano Zacchiroli <zack@fettunta.org>
Mon, 28 Jan 2008 08:11:19 +0000 (08:11 +0000)
blog/posts/2008/01/bts_followup/discussion.mdwn

index 131b8a5..29ddf26 100644 (file)
@@ -34,24 +34,26 @@ to, in order to discuss the issue with Zobel.
 
 ----
 
-> New bts command: followup
+> New bts command: followup
 
 I just used
-mbug () {
-  local tmpfile
-  tmpfile=$(tempfile -p mbug)
-  wget -qO $tmpfile http://bugs.debian.org/cgi-bin/bugreport.cgi?mboxstat=yes\;mboxmaint=yes\;mbox=yes\;bug=${1:?E: no bug
-+number specified.}
-+  local ret=$?
-  if [ $ret -ne 0 ]
-  then
-    echo "E: bug mailbox could not be retrieved."
-    rm -f $tmpfile
-    return $ret
-  fi
-  mutt -f $tmpfile
-  rm -f $tmpfile
-}
+
+    mbug () {
+      local tmpfile
+      tmpfile=$(tempfile -p mbug)
+      wget -qO $tmpfile http://bugs.debian.org/cgi-bin/bugreport.cgi?mboxstat=yes\;mboxmaint=yes\;mbox=yes\;bug=${1:?E: no bug
+    +number specified.}
+    +  local ret=$?
+      if [ $ret -ne 0 ]
+      then
+       echo "E: bug mailbox could not be retrieved."
+       rm -f $tmpfile
+       return $ret
+      fi
+      mutt -f $tmpfile
+      rm -f $tmpfile
+    }
+
 so far, but followup looks interesting.
 
 -- martin f krafft