delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/23/05:19:27

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com
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> <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT 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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019