#317 Handle file names with space with viewer.sh

open
nobody
2
2011-10-07
2011-10-07
Terry O'Neill
No

The viewer.sh file does not handle a call like as follows:

./viewer.sh ~/Xena/Destination/eurotext.tif_Image\ Tiff\ Normaliser.xena

However the following command works just fine:

java -cp plugins/audio.jar:xena.jar au.gov.naa.digipres.xena.viewer.ViewerMainFrame ~/Xena/Destination/eurotext.tif_Image\ Tiff\ Normaliser.xena

It seems that the viewer.sh file is only taking the first argument given to it and is splitting on the first space. Would be nice if this was updated to work in this sort of situation.

Discussion