sftp bugs

Jan Hudec bulb at ucw.cz
Thu Dec 1 10:01:18 GMT 2005


On Thu, Dec 01, 2005 at 10:25:23 +0100, Matthieu Moy wrote:
> Jan Hudec <bulb at ucw.cz> writes:
> 
> > On Wed, Nov 30, 2005 at 19:10:17 -0600, John A Meinel wrote:
> >> What if we do this:
> >> sftp://host//absolute/path
> >> and
> >> sftp://host/~/relative/path
> >
> > The second is a special case of the first ;-). Because ~ expands to
> > /home/user -- *including* the leading slash...
> 
> It's expanded by your shell if it's in the first position of a token.
> Here, it wouldn't be expanded by the shell, and has to be interpreted
> somewhere in the sftp implementation.

Yes, it has to. But it should be done this way...

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/8a5e6642/attachment.pgp 


More information about the bazaar mailing list