This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using real paths in ash
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/