This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mssing packages for cygwin


According to Tom Lee on 9/30/2006 11:24 PM:
>
> I don't undersand why "ls c:/test" works but not for
> "tar cvf test.tar c:/test"

Because ls does not parse its arguments, but upstream tar treats c:/test
as meaning open the file /test on the remote machine named c; and because
I'm not in the mood to patch either ls or tar from what the upstream
packages provide.  For cygwin programs in general, POSIX paths will work,
but you are lucky if DOS paths happen to work, since the point of cygwin
is to provide a Linux emulation (aka POSIX-like behavior), and DOS paths
are not supported in Linux.

For postx-like behavior, I find that djgpp mv.exe allows me to run mv *.txt /my/directory/ or mv *.txt c:/my/directory/ in the c drive

while cygwin have to use:
mv *.txt /cygdrive/c/my/directory/

do you think ignoring /cygdrive/c would be an advantage to reduce the typing?

Tom

_________________________________________________________________
Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]