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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=Kp7xvIyGNx5BQRlh
	0VLG3OwV0Yps5iNm05bU4V3LamCkEgIe39zXvetJWf1a4WQbtwZ/8RAaUJGwKFHQ
	h/c2y5NYeJhUfGzsWTALadL+h5O0kSyFIeXcFIBg9BnbZ/ZpzMA220Qp+9EZdA3g
	xYpzH+X4y5WKGLHDVVjqCE1Qd0k=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=6wjhRxrQYdP3BKbxb0MXAW
	AlyTU=; b=Xo28kY9ruTEN1uRVXd5ubq01wBLZ2NpSF2/7ctk3J5q2mRSM80e0mk
	mTvZuRx5zH/s/KGiVyUoe2OeHmPB8Kz8mY8nTjWc1qTpTiwaupMJa7Wmw2gAUbYC
	DRB0k3A19fiG57ErdNAQtuJyYi8rCLNQYXMdLx4Ic5hXENOCOnrPc=
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=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Fri, 7 Feb 2014 16:54:42 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1342362421.20140207165442@mtu-net.ru>
To: Mike Rushton <mrushton@ptd.net>, cygwin@cygwin.com
Subject: Re: Newbie Cygdrive questions
In-Reply-To: <52F43166.6040303@ptd.net>
References: <1737153647.9966666.1391712802938.JavaMail.root@ptd.net> <1037990834.20140207043933@mtu-net.ru> <52F43166.6040303@ptd.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Mike Rushton!

Please don't http://cygwin.com/acronyms/#TOFU

> What would you say to this ?

> I have to use an EDI translator - it runs under windows/dos and had unix 
> versions

If it have UNIX version, perhaps, a Cygwin package for it exists, or it can be
compiled.

> I was trying this ... but the program needed to see the path of a config 
> file ... after the -cp switch.

> /cygdrive/c/gentran61SA/lftran /cygdrive/c/gentran61sa/data/EDN -id -cp /cygdrive/c/Gentran61SA

As one of possible solutions:
/cygdrive/c/gentran61SA/lftran "$( cygpath -lw /cygdrive/c/gentran61sa/data/EDN )" -id -cp  "$( cygpath -lw /cygdrive/c/Gentran61SA )"

> It gave me errors can not open file /cygdrive/c/Gentran61SA\ediprim.cfg.  It was like the program could not figure out
> what style of paths to use.

> I changed it to :  (escape out of bash and run this code)

> ! c:/gentran61SA/lftran c:/gentran61sa/data/EDN -id -cp c:/Gentran61SA

> and it worked perfectly.    Is there a better way to do this ?

"Better" in this case is subjective.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.02.2014, <16:50>

Sorry for my terrible english...


--
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

