public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Lester Anderson <arctica1963@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Data file access on different path (drive)
Date: Mon, 23 Nov 2015 10:11:00 -0000	[thread overview]
Message-ID: <CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw@mail.gmail.com> (raw)
In-Reply-To: <5652E35B.8090006@gmail.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

  reply	other threads:[~2015-11-23 10:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23  8:54 Lester Anderson
2015-11-23  8:57 ` Marco Atzeri
2015-11-23  9:51   ` Lester Anderson
2015-11-23  9:59     ` Marco Atzeri
2015-11-23 10:11       ` Lester Anderson [this message]
2015-11-23 10:19         ` Marco Atzeri
2015-11-23 10:23     ` Peter Rosin
2015-11-23 11:12       ` Lester Anderson
2015-11-23 14:51         ` cyg Simple

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE3taFBXjfzGcrgOTUsiqhi0ULrEt9MXj+qEMU5DfFZ7nLUiqw@mail.gmail.com \
    --to=arctica1963@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).