delorie.com/archives/browse.cgi | search |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |