moses-smt/mosesdecoder — pull request #20 by runn1ng (2012-07-17 02:45:39+00:00)
Title: Spaces in filename

I had a space in a directory name (I actually had it behind symlink without space, but BaseDir de-symlinked it again >:( ) and it caused terrible havoc in the train-model.perl

I changed all the places where it mattered to me, there are probably more places in the long script when this could propose problems

(It makes problem everytime there is another program called and the spaces are not either escaped or with single quotes)

I also fixed the few places where zcat is called since zcat is behaving weird on OS X; I change it to "gunzip -c " if perl detects OS X by $^O