Re: Extract data from file

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)

Delete this message
Author: Roger Mason
Date:  
To: Kaz Kylheku
CC: txr-users
Subject: Re: Extract data from file
Hello Kaz,

Kaz Kylheku <kaz@???> writes:

> I've done some more hacking on that Lisp parsing method.
> I changed the function so that it uses the indentation of the first
> line it encounters as the baseline; everything is expected to be
> indented off that.


Thank you for the code and extended explanation. It works very well,
but I am still some way off understanding it in any kind of detail. At
the moment I'm working through the man page. To that end I wrote the
following:

@(collect)
@(some)
a b c @FOO
@(end)
@(end)

@(output)
@FOO
@(end)

foo.dat:
a b c defghijk

but when I invoke it as txr foo.txt foo.dat I get no output, so clearly
I'm missing something.

Thanks again,
Roger