>>>>> In <[EMAIL PROTECTED]> >>>>> "A. Costa" <[EMAIL PROTECTED]> wrote: > Let's throw a changelog at 'treil':
> % gunzip < /usr/share/doc/treil/changelog.Debian.gz > /tmp/chl > % treil -R ChangeLogReader /tmp/chl /tmp/chl.png ; echo $? > Reader: ChangeLogReader > Writer: CairoPNGWriter > failed to generate `/tmp/chl.png': divided by 0 > /usr/lib/ruby/1.8/treil/reader.rb:107:in `/' > /usr/lib/ruby/1.8/treil/reader.rb:107:in `set_background_by_timestamp' > /usr/lib/ruby/1.8/treil/reader.rb:323:in `read' > /usr/bin/treil:111 > 0 > # do ten of 'em > % export TMPIN=/tmp/chlog.log ; for f in `locate hangelog.Debian.gz | > head`; do gunzip < $f > $TMPIN ; treil -R ChangeLogReader $TMPIN $TMPIN.png > ; echo $? ; done > { ...output is the same as the previous example, times ten. } > ...perhaps the file format of the above changelogs aren't the > kind 'treil' can use? This is not a bug. Your usage is wrong. ChangeLogReader (and other readers) takes directories rather than files. i.e. it is a fallback reader in case they are not version controlled. > In any event the exit code of '0' seems inappropriate. Perhaps. Regards, -- Daiki Ueno -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]