[rt-users] Wrong Variable Substitution in Template
Harald Wagener
hwagener at hamburg.fcb.com
Tue Feb 12 12:06:40 EST 2002
Bruce Campbell wrote:
[snip]
> Ah. Revision 1.4 of rt/tools/insertdata has the erronous '{}'s in the
> Transaction Template, but Revision 1.5 has the corrected version.
> Unfortunately(tm), 1.4 is tagged as rt-2-0-11.
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?
Regards,
Harald
--
Harald Wagener | Systemadministrator
FCB/Wilkens GmbH | Tel.:+49-40-2881-1252
An der Alster 42 | Fax.:+49-40-2881-1263
20099 Hamburg | http://www.fcb-wilkens.com
More information about the rt-users
mailing list