txr-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Txr-users] New features in git head ...


From: Kaz Kylheku
Subject: [Txr-users] New features in git head ...
Date: Fri, 21 Oct 2011 10:59:50 -0700
User-agent: Roundcube Webmail/0.4


By example:

Appending:

@(output :append "file")
append to file
rather than
overwriting
@(end)

Output into variable:

@(output :into x)
these
lines
go
into
x
@(end)

x[0]=these
x[1]=lines
x[2]=go
x[3]=into
x[4]=x


Append + output into variable:

@(bind x "existing")
@(output :append :into x)
new
text
@(end)

x[0]="existing"
x[1]="new"
x[2]="text"


Match over the contents of a variable:

@(next :var x)
@a @b
@c
@(end)

So TXR can now re-process its output without intermediate files.

Cheers ...

P.S. for a near future project roadmap, see the open tasks:
http://savannah.nongnu.org/task/?group=txr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]