This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbie Cygdrive questions
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Mike Rushton <mrushton at ptd dot net>, cygwin at cygwin dot com
- Date: Fri, 7 Feb 2014 16:54:42 +0400
- Subject: Re: Newbie Cygdrive questions
- Authentication-results: sourceware.org; auth=none
- References: <1737153647 dot 9966666 dot 1391712802938 dot JavaMail dot root at ptd dot net> <1037990834 dot 20140207043933 at mtu-net dot ru> <52F43166 dot 6040303 at ptd dot net>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
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