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

[lojban] Re: Lojban parse tree to XML



Thanks, Philip, excellent point!

I was thinking in terms of pipes because I was doing an experiment that 
generated lojban text to stdout.

sayStuffInLojban | java -jar loj2xml.jar | consumeXml

But for going from file to file, your example is better.
Anyway, hope somebody finds it useful for something.

mu'e mi'e .iuban.

Philip Newton wrote:

>On Fri, 28 Jan 2005 18:57:22 -0500, Brian Eubanks <jorne@eubot.com> wrote:
>  
>
>>Here is an example usage:
>>
>>cat example-lojban.txt | java -jar loj2xml.jar > output-file.xml
>>
>>(On Windows, replace "cat" with "type".)
>>    
>>
>
>Or on both Windows and Unix, you should be able to say
>
>java -jar loj2xml.jar < example-lojban.txt > output-file.xml
>
>(In general "cat filename |" should make you suspicious -- nearly
>invariably, this can be replaced with "< filename" [which has to be
>after the command and arguments in Windows, but can come before in
>Unix], which also saves you starting a separate process for cat.)
>
>mu'o mi'e .filip.
>  
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/RzSHvD/UOnJAA/79vVAA/GSaulB/TM
--------------------------------------------------------------------~-> 

To unsubscribe, send mail to lojban-unsubscribe@onelist.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/lojban/

<*> To unsubscribe from this group, send an email to:
    lojban-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/