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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <5652D4DE DOT 8060206 AT gmail DOT com> <5652E35B DOT 8090006 AT gmail DOT com> From: Marco Atzeri 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: 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