W3C home > Mailing lists > Public > public-cwm-talk@w3.org > April to June 2004

Re: -filter in cwm.py,v 1.149

From: Jos De_Roo <jos.deroo@agfa.com>
Date: Sat, 15 May 2004 04:10:11 +0200
To: Jos De_Roo <jos.deroo@agfa.com>
Cc: public-cwm-talk@w3.org, public-cwm-talk-request@w3.org, timbl <timbl@w3.org>
Message-ID: <OF7D88E595.C1D165B0-ONC1256E95.000B0BD6-C1256E95.000BC941@agfa.com>

Oops.. it is working now, but I'm not sure
if I'm still awake...
The first test was actually done as
python /www.w3.org/2000/10/swap/cwm.py ...
whereas the second using a batch file for cwm
and when we quote the filter argument like
cwm danP.n3 -think "-filter=danC.n3"
it is now working...

-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/




Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER@AGFA
Sent by: public-cwm-talk-request@w3.org
15/05/2004 03:35

 
        To:     public-cwm-talk@w3.org
        cc:     timbl <timbl@w3.org>
        Subject:        -filter in cwm.py,v 1.149



When running
cwm http://eulersharp.sourceforge.net/2004/04test/danP.n3 -think \
-filter=http://eulersharp.sourceforge.net/2004/04test/danC.n3
the result is

[[[[[
#Processed by Id: cwm.py,v 1.148 2004/03/21 04:24:32 timbl Exp 
        #    using base 
http://eulersharp.sourceforge.net/2004/04test/danP.n3
 
#  Notation3 generation by
#       notation3.py,v 1.153 2004/03/21 04:24:35 timbl Exp

#   Base was: http://eulersharp.sourceforge.net/2004/04test/danP.n3
     @prefix : <danP#> .
 
      ( "Boston" 
        42.19 
        -71.05  )
         a :Result .
      ( "Cambridge" 
        42.30 
        -71.10  )
         a :Result .
 
#ENDS
]]]]]

which is fine (*) i.e. for an older cwm.py,v 1.148
but for cwm.py,v 1.149 2004/05/12 we get

[[[[[
#Processed by Id: cwm.py,v 1.149 2004/05/12 01:27:06 timbl Exp 
        #    using base file:/sfcvs/2004/04test/
           cwm: Unknown option: -filter 
]]]]]

What 


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

(*) at least that's what I also find when running
Euler --nope --think http://eulersharp.sourceforge.net/2004/04test/danP \
http://eulersharp.sourceforge.net/2004/04test/danC

and now I understand what Tim suggested namely that
we should use the filter as query...
Received on Friday, 14 May 2004 22:29:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:01 GMT