X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=fi37cbV5XZp639vU
	aCR3KyefOZYAJ3bx5f8tOcY4oXEcAGDNZD8jbjho1t5cHBIt+jxM2n7br9A/KfFX
	FgNx+LG8u5rFy4/ru41Z7ZCVNgSLVtl/ZKBzY4pi+HyRsd4NbmEPxt+RQCcw8agR
	0UFv3Cp6dnhKigPsiTMklf0gDQI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Pb4axQjk8bm0eK8n7zBVpR
	0enVM=; b=V+NLVE9GSV5eNa9+50aT53qRHrK0CQUzhPHeMsKxqIpLmbqNsOkaFm
	DC8VFa8a9wuu6QBgbY0cqiFB1+wmvsyLNIOBO/t9Vfarqh2KMU0hAFYBK/6ZDeNd
	wWv9JGSKjeSBDyD+ytO64k8FUAq5LHXT8jHzGFfzVi//U135s7pZo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f47.google.com
X-Received: by 10.194.142.45 with SMTP id rt13mr29182087wjb.45.1448273949153;        Mon, 23 Nov 2015 02:19:09 -0800 (PST)
Subject: Re: Data file access on different path (drive)
To: cygwin@cygwin.com
References: <CAE3taFBySrYf7=ZCadpe=dZtZaXmhhf5RnYtmndUd1eGa1x6XQ@mail.gmail.com> <5652D4DE.8060206@gmail.com> <CAE3taFBqKEesOj1md6N5u6=3ghFrA-yDuRsBbQTPGinch1BCjQ@mail.gmail.com> <5652E35B.8090006@gmail.com> <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw@mail.gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <5652E813.6030402@gmail.com>
Date: Mon, 23 Nov 2015 11:18:59 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

