Try using 'bash' not 'sh' (which on Ubuntu is 'dash') 

F.

El dt 11 de 09 de 2012 a les 20:24 +0200, en/na Per Tunedal va escriure:
> Hi,
> I updated dev and ran the commands below. Unfortunately I got the error
> message:
> 
> inconsistency.sh: 19: [[: not found
> inconsistency.sh: 19: [[: not found
> 
> Yours,
> Per Tunedal
> 
> On Tue, Sep 11, 2012, at 18:26, Francis Tyers wrote:
> > I've updated the testvoc script in dev/inconsistency.sh
> > 
> > $ svn up
> > $ cd dev
> > $ sh inconsistency.sh da-sv > /tmp/da-sv.testvoc
> > 
> > Fran
> > 
> > El dt 11 de 09 de 2012 a les 16:33 +0200, en/na Per Tunedal va escriure:
> > > Hi,
> > > now I've tried to use the "real life script" in the Wiki, changing br-fr
> > > to sv-da. Unfortunately, I get exactly the same error message:
> > > 
> > > Error: can't stat file
> > > '/home/per/Repository/apertium-sv-da/apertium-sv-da.sv-da.t1x.bin'.
> > > 
> > > 1. Any one who knows how to produce the requested bin-file? What shall I
> > > do?
> > > 
> > > 2. Perhaps someone have an other real life inconsistency script to show
> > > me?
> > > 
> > > 3. Does it matter that sv-da is a level 1 pair? Should the script be
> > > somewhat different for such pairs?
> > > 
> > > Yours,
> > > Per Tunedal
> > > 
> > > On Tue, Sep 11, 2012, at 13:23, Per Tunedal wrote:
> > > > Hi again,
> > > > fixed some newly added errors in the code and got the old error message
> > > > once again:
> > > > 
> > > > Error: can't stat file
> > > > '/home/per/Repository/apertium-sv-da/apertium-sv-da.sv-da.t1x.bin'.
> > > > 
> > > > I've got the file
> > > > '/home/per/Repository/apertium-sv-da/apertium-sv-da.sv-da.t1x , but I
> > > > haven't got any binary of it.
> > > > 
> > > > Yours,
> > > > Per Tunedal
> > > > 
> > > > On Tue, Sep 11, 2012, at 13:17, Per Tunedal wrote:
> > > > > Hi,
> > > > > now the script runs a bit further, but stops at:
> > > > > 
> > > > > testvoc_sv-da.sh: 20:  sed: not found
> > > > > testvoc_sv-da.sh: 20:  apertium-transfer: not found
> > > > > testvoc_sv-da.sh: 20:  lt-proc: not found
> > > > > 
> > > > > Do I have to run the script in a certain folder or can I simply add 
> > > > > the
> > > > > paths? Where can I find the missing programs?
> > > > > 
> > > > > Yours,
> > > > > Per Tunedal
> > > > > 
> > > > > 
> > > > > 
> > > > > On Tue, Sep 11, 2012, at 10:41, Francis Tyers wrote:
> > > > > > El dt 11 de 09 de 2012 a les 09:38 +0200, en/na Per Tunedal va 
> > > > > > escriure:
> > > > > > > Hi,
> > > > > > > I urgently need help with the check of internal consistency to 
> > > > > > > continue
> > > > > > > my work on Danish (da)-Swedish (sv). Please explain the script!
> > > > > > > 
> > > > --snip--
> > > > > > > 
> > > > > > > Yours,
> > > > > > > Per Tunedal
> > > > > > > 
> > > > > > > On Mon, Sep 10, 2012, at 08:42, Per Tunedal wrote:
> > > > > > > > 
> > > > > > > > Hi,
> > > > --snip--
> > > > > > > > Unfortunately, I haven't managed to adjust the simple script at
> > > > > > > > http://wiki.apertium.org/wiki/Testvoc for my needs. I'm stuck 
> > > > > > > > at the
> > > > > > > > error message:
> > > > > > > > 
> > > > > > > > Error: can't stat file
> > > > > > > > '/home/per/Repository/apertium-sv-da/apertum-sv-da.sv-da.t1x'
> > > > > > 
> > > > > > do: 
> > > > > > 
> > > > > > $ svn info /home/per/Repository/apertium-sv-da/
> > > > > > 
> > > > > > > > As I cannot fully understand the code, I'm not sure if the 
> > > > > > > > offending
> > > > > > > > file is expected to be present in the apertium-sv-da from the 
> > > > > > > > beginning,
> > > > > > > > or if it is expected to be created by running the script. I've 
> > > > > > > > looked
> > > > > > > > for the file, but haven't found it anywhere. Anyhow, I end up 
> > > > > > > > with empty
> > > > > > > > after-transfer.txt and after-generation.txt files.
> > > > > > 
> > > > > > The file is in SVN, in the usual place.
> > > > > > 
> > > > > > https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-sv-da/apertium-sv-da.sv-da.t1x
> > > > > > 
> > > > --snip--
> > > > > > 
> > > > > > Fran
> > > > > > 
> > > > 
> > > > 
> > > > ------------------------------------------------------------------------------
> > > > Live Security Virtual Conference
> > > > Exclusive live event will cover all the ways today's security and 
> > > > threat landscape has changed and how IT managers can respond. 
> > > > Discussions 
> > > > will include endpoint security, mobile security and the latest in 
> > > > malware 
> > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > > _______________________________________________
> > > > Apertium-stuff mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > > 
> > > ------------------------------------------------------------------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and 
> > > threat landscape has changed and how IT managers can respond. Discussions 
> > > will include endpoint security, mobile security and the latest in malware 
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > Apertium-stuff mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and 
> > threat landscape has changed and how IT managers can respond. Discussions 
> > will include endpoint security, mobile security and the latest in malware 
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Apertium-stuff mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/apertium-stuff
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to