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)


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!


On 23 November 2015 at 09:58, Marco Atzeri <marco.atzeri@gmail.com> wrote:
>
>
> On 23/11/2015 10:51, Lester Anderson wrote:
>>
>> Hello,
>>
>> I tried a very basic script to test this:
>>
>> #!/bin/bash
>> 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"
>
>
> sorry typo "/cygdrive/q.."
> you need the leading "/"
>
>
>
> --
> 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
>

--
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]