[rt-users] Wrong Variable Substitution in Template

Bruce Campbell bruce_campbell at ripe.net
Tue Feb 12 12:10:45 EST 2002


On Tue, 12 Feb 2002, Harald Wagener wrote:

> Thank You!
>
> > Your fun bash one-liner for the moment is:
> >
> >         prev="" ; for rev in `cvs log insertdata | grep ^revision | cut -d
> >         ' ' -f 2` ; do if [ "$prev" -a "$rev" ] ; then echo "$rev ->
> >         $prev" ; cvs diff -r$rev -r$prev insertdata ; fi ; prev="$rev" ;
> >         done | less
>
> To call this a one liner might be a stretch of reality (-: . I assume I
> should have cvs set up correctly before trying this, yes?

urm, no, it was just my little quick script to check my local copy of the
RT CVS tree for where the error crept in.  Apart from that, it has no
relevance on your problem.


-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the rt-users mailing list