This is the mail archive of the cygwin@sourceware.cygnus.com 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]

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


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


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