delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/03/06:52:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3938E194.226D91FC@vinschen.de>
Date: Sat, 03 Jun 2000 12:44:36 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
CC: "Tolkin, Steve" <Steve DOT Tolkin AT fmr DOT com>
Subject: Re: rm does not remove; ls tem* does not find temp; echo ~foo
References: <F614BF868E0DD411A5A700508B957E0038D017 AT MSGBOS679NTS DOT fmr DOT com> <3938CF34 DOT CDDF5E84 AT vinschen DOT de>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019