Brain/Eric
Thanks for the replay, yes it works now.. some of our regressions
depends on win32 path. Any ways it works now.
Thanks
Manjunath A
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Brian Dessent on 4/11/2008 4:06 AM:
| If you really want a Win32 path you need to use cygpath, e.g.
|
| echo $(dirname "$(cygpath -m "$0")")
Still not portable - what if the name contains two consecutive spaces, or
starts with '-n'? Thi
Manjunatha Appaji Gowda wrote:
> please help on this
Cygwin's goal is to provide a POSIX environment. That $0 gets
POSIX-ified is on purpose; that is the whole point of /cygdrive. Using
Win32 paths with drive letters with Cygwin tools is error-prone and
sometimes works only by accident, other t
Hi all,
i have some problem with $0
for example my script looks like this
#!/bin/sh
echo `dirname "$0"`
i m keeping this script in this path c:/users/test/script
if i do
sh -x c:/users/test/script from cygwin (bash shell)
ideally results should look like in below
$ sh -x c:/users/test/tes
4 matches
Mail list logo