rm does not remove; ls tem* does not find temp; echo ~foo

Corinna Vinschen corinna@vinschen.de
Sat Jun 3 03:51:00 GMT 2000


Corinna Vinschen wrote:
> > 588/temp> echo ~
> > /usr/home
> > 589/temp> echo ~a
> >
> > -- A blank line is emitted.  Why?
> 
> Because there's no user `a'. The behaviour of the tilde
> is intentionally. ~ = $HOME of the current user, ~foo =
     ^^^^^^^^^^^^^
     For clearness: It's a shell feature, not a special
     cygwin feature.

> $HOME of user foo. You may use it as a convenient abbreviation
> in paths. If you don't want that, use quotes.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list