Changeset 443
- Timestamp:
- 2006-02-25 03:54:38 (7 months ago)
- Files:
-
- tracreminderscript/0.9/ChangeLog (modified) (1 diff)
- tracreminderscript/0.9/trac-reminder (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tracreminderscript/0.9/ChangeLog
r441 r443 1 2006-02-24 17:53 Vincent Caron <vcaron@bearstech.com> 2 3 * now properly fill in To and Cc fields (Mailman rightly complained) 4 1 5 2006-02-23 16:06 Vincent Caron <vcaron@bearstech.com> 2 6 tracreminderscript/0.9/trac-reminder
r441 r443 40 40 IFS=$'\n' 41 41 for t in $tickets; do 42 row=`echo "$t" | sed -e 's:^\([0-9]\+\):<a href="'$url'/trac/ticket/\1">#\1</a>:' -e 's:|:</td>\n <td>:g'`42 row=`echo -n "$t" | sed -e 's:^\([0-9]\+\):<a href="'$url'/trac/ticket/\1">#\1</a>:' -e 's:|:</td>\n <td>:g'` 43 43 html="$html <tr> 44 44 <td>$row</td> … … 47 47 done 48 48 49 # Send news 49 # Send news. Properly fill in RFC 822 fields (especially To and Cc). 50 50 shift 51 sendmail $* <<EOD 51 all="$@" 52 to=`echo -n "$all" | sed -e 's: :\nCc\: :'` 53 sendmail $all <<EOD 54 To: $to 55 Subject: Trac reminder: list of new ticket(s) 52 56 MIME-Version: 1.0 53 57 Content-Type: text/html 54 Subject: Trac reminder: list of new ticket(s)55 58 56 59 <table>