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

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=cX
6o99B4Kr0U99STsUgyU3Xt7ysY+26SH1Ae77zZaB+B+nuFkWDxUtTOrKNpH6a+wN
iFEDzE7FApySIsChnMeJBxyIJ5fPIxrTeb35eR3SrmjMIpg3PCkwQlMtt7fwPjhx
hyp21YXq8ahFyfrexw7OXAiCBxsL7cCupsOx8FK40=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=4Bvv4Hd/
g1uDtHV/1FeHxW8OcJw=; b=crkD9thoKBDPrVX6dfyHtom156Yiyk/tHfxERuSf
zflKJKGFVJPUwfyfA3S7Ehk4f1n6gcLDmcRztt3PTutUCvGVKs1Iui32x3/eVZqS
me3k4COLW+Knj416Z3jc/Mjcw3NqbrGWt/2haL6lTh7EV+IXGYnOQ2qnKrBqQLXR
S0w=
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.1 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f171.google.com
MIME-Version: 1.0
X-Received: by 10.112.150.225 with SMTP id ul1mr10602597lbb.47.1448273474160; Mon, 23 Nov 2015 02:11:14 -0800 (PST)
In-Reply-To: <5652E35B.8090006@gmail.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>
Date: Mon, 23 Nov 2015 10:11:14 +0000
Message-ID: <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw@mail.gmail.com>
Subject: Re: Data file access on different path (drive)
From: Lester Anderson <arctica1963 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 DOT atzeri AT gmail DOT 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

- Raw text -


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