#!/bin/csh -f # tbbugs # ----------------------------------------------------------------------------- # Shell script to view/report Thunderbird bugs # ----------------------------------------------------------------------------- set browser = "open" # If $1 is a script in the browsers folder, use it as the browser. if ($#argv > 0 && -x "$0:h/browsers/$1") then set browser = $1:q shift endif # If $1 is specified, use it as a bug number if ($#argv > 0) then (set echo; $browser "https://bugzilla.mozilla.org/show_bug.cgi?id=$1") else (set echo; $browser "https://bugzilla.mozilla.org/buglist.cgi?emailcc1=1&email1=FredStluka%40gmail.com") endif