This is the mail archive of the
mailing list for the Cygwin project.
Re: mssing packages for cygwin
Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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.
And indeed there is no need to patch 'tar' since it supports the
'--force-local' flag. Tom, I suggest you take a read through the
'tar' man page if you need further details.
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html