This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Data file access on different path (drive)


On 23/11/2015 11:11, Lester Anderson wrote:
Tested the change:
ruta_elev="/cygdrive/q/geophys/Potential-field
datasets/Topography/topo_17.1.img"
ruta_grav="/cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"

No errors reported for the path but..
$ bash test4.sh
-12 0 28 39
img2grd: Syntax error: More than one world image file name given.
img2grd: Syntax error: More than one world image file name given.

There are only one file to read in each directory as listed in the
path so not sure why it is confused!


there is a space in the path, so bash see two separated names

ruta_grav="/cygdrive/q/geophys/Potential-field datasets/Gravity/grav.img.23.1"

try renaming the directory from
 "Potential-field datasets" to "Potential-field_datasets"




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]