| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <49EDD6AD.6070107@gmail.com> |
| Date: | Tue, 21 Apr 2009 15:22:37 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Using real paths in ash |
| References: | <6991f8e00904210638x6465dd79p23065c7ec39b5b39 AT mail DOT gmail DOT com> <0105D5C1E0353146B1B222348B0411A2A15F606F AT NIHMLBX02 DOT nih DOT gov> <6991f8e00904210659o754d3e50vaca5571544818891 AT mail DOT gmail DOT com> |
| In-Reply-To: | <6991f8e00904210659o754d3e50vaca5571544818891@mail.gmail.com> |
| 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 |
Stephen Paul Weber wrote:
> Ok, I'm aware of cygpath, but the question was how can I actually fix
> the problem. See, I want to use it as a shell script interpreter on
> Windows, and if I throw cygpath calls all over my shell scripts, then
> they won't run on UNIX anymore.
>
> I've been poking at the ash and pdksh code to see if I can figure out
> at what point this broken behaviour gets introduced, but so far no
> luck with finding it or with compiling either of them.
The problem is that you are trying to use a hammer as a screwdriver.
It cannot be fixed by fixing the hammer, which is not broken.
cheers,
DaveK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |