From philip.newton@gmail.com Sat Jan 29 02:11:40 2005 Received: with ECARTIS (v1.0.0; list lojban-list); Sat, 29 Jan 2005 02:11:41 -0800 (PST) Received: from rproxy.gmail.com ([64.233.170.204]) by chain.digitalkingdom.org with esmtp (Exim 4.34) id 1CupZi-0002bG-LR for lojban-list@lojban.org; Sat, 29 Jan 2005 02:11:31 -0800 Received: by rproxy.gmail.com with SMTP id j1so62109rnf for ; Sat, 29 Jan 2005 02:11:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SJp+6cYexmS3R6yUQOQF8Yyko7NVplKO77b+vVMTIQRVWm1O6KKTOtGsLSdrhT04RKeN3ACwn/UxWlccc7SxqzQWv1gl/xqnnKL1iPrZ1SwWUtGwSQsbeeGvZCVwV0Zm3fkPL90m6Z5cmCJucBnSADIo94/aHtugr4O3EJx4I68= Received: by 10.38.65.28 with SMTP id n28mr155253rna; Sat, 29 Jan 2005 02:11:29 -0800 (PST) Received: by 10.38.208.61 with HTTP; Sat, 29 Jan 2005 02:11:29 -0800 (PST) Message-ID: <537d06d005012902115fd78cc5@mail.gmail.com> Date: Sat, 29 Jan 2005 11:11:29 +0100 From: Philip Newton To: lojban-list@lojban.org Subject: [lojban] Re: Lojban parse tree to XML In-Reply-To: <41FAD162.4010702@eubot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII References: <41FAD162.4010702@eubot.com> X-archive-position: 9372 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: philip.newton@gmail.com Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list 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. -- Philip Newton