[darcs-users] darcs get from password-protected http location

Max Battcher me at worldmaker.net
Tue Feb 14 01:01:18 UTC 2006


Jamie Webb wrote:
> On Mon, Feb 13, 2006 at 01:30:06PM +0000, Jean-Louis Leroy wrote:
>>   set DARCS_GET_HTTP="curl -u user:password -s -f"
>>   darcs get http://server/dir/
>>
> b) Just don't use quotes. DOS might just use everything after the =
> sign, regardless of spaces.

Correct.  The various current command line shells (based in part on DOS, 
but never quite actually DOS anymore) do not quote variable assignments. 
  (Something of a side note, but *nix shells handle quotes at the shell 
level, but DOS-based ones require applications to handle quotes 
themselves.  This is one of the few times that the DOS-based approach is 
more flexible, but harder to code, which is more often the *nix philosophy.)

-- 
--Max Battcher--
http://www.worldmaker.net/




More information about the darcs-users mailing list