Received: with ECARTIS (v1.0.0; list lojban-list); Sat, 29 Jan 2005 13:11:32 -0800 (PST) Received: from n4a.bulk.scd.yahoo.com ([66.94.237.38]) by chain.digitalkingdom.org with smtp (Exim 4.34) id 1CuzsJ-0003Ck-Jw for lojban-in@lojban.org; Sat, 29 Jan 2005 13:11:23 -0800 Received: from [66.218.69.4] by n4.bulk.scd.yahoo.com with NNFMP; 29 Jan 2005 21:10:49 -0000 Received: from [66.218.66.97] by mailer4.bulk.scd.yahoo.com with NNFMP; 29 Jan 2005 21:10:49 -0000 X-Yahoo-Newman-Property: groups-email X-Sender: jorne@eubot.com X-Apparently-To: lojban@yahoogroups.com Received: (qmail 51621 invoked from network); 29 Jan 2005 21:10:43 -0000 Received: from unknown (66.218.66.167) by m14.grp.scd.yahoo.com with QMQP; 29 Jan 2005 21:10:42 -0000 Received: from unknown (HELO lakermmtao05.cox.net) (68.230.240.34) by mta6.grp.scd.yahoo.com with SMTP; 29 Jan 2005 21:10:42 -0000 Received: from [127.0.0.1] (really [70.179.101.17]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20050129211037.GVVU17924.lakermmtao05.cox.net@[127.0.0.1]> for ; Sat, 29 Jan 2005 16:10:37 -0500 Message-ID: <41FBFBCA.1010703@eubot.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en To: lojban@yahoogroups.com References: <41FAD162.4010702@eubot.com> <537d06d005012902115fd78cc5@mail.gmail.com> In-Reply-To: <537d06d005012902115fd78cc5@mail.gmail.com> X-eGroups-Remote-IP: 68.230.240.34 From: Brian Eubanks X-Yahoo-Profile: eubanksb MIME-Version: 1.0 Mailing-List: list lojban@yahoogroups.com; contact lojban-owner@yahoogroups.com Delivered-To: mailing list lojban@yahoogroups.com Precedence: bulk Date: Sat, 29 Jan 2005 16:10:34 -0500 Subject: [lojban] Re: Lojban parse tree to XML Content-Type: text/plain; charset=US-ASCII X-archive-position: 9374 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: jorne@eubot.com Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list Content-Length: 1689 Lines: 63 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 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/