This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Data file access on different path (drive)
- From: Lester Anderson <arctica1963 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Nov 2015 10:11:14 +0000
- Subject: Re: Data file access on different path (drive)
- Authentication-results: sourceware.org; auth=none
- References: <CAE3taFBySrYf7=ZCadpe=dZtZaXmhhf5RnYtmndUd1eGa1x6XQ at mail dot gmail dot com> <5652D4DE dot 8060206 at gmail dot com> <CAE3taFBqKEesOj1md6N5u6=3ghFrA-yDuRsBbQTPGinch1BCjQ at mail dot gmail dot com> <5652E35B dot 8090006 at gmail dot com>
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