delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Tue, 4 Jun 2002 19:19:25 -0500 |
From: | David T-G <davidtg-cygwin AT justpickone DOT org> |
To: | "CygWin Users' List" <cygwin AT cygwin DOT com> |
Subject: | Re: bash 2.05a-3 scripting problem (read function) |
Message-ID: | <20020605001924.GO1231@justpickone.org> |
References: | <002101c20c23$ec7b7de0$0200a8c0 AT weiss> |
Mime-Version: | 1.0 |
In-Reply-To: | <002101c20c23$ec7b7de0$0200a8c0@weiss> |
User-Agent: | Mutt/1.3.99i |
--Pk/CTwBz1VvfPIDp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Steven -- =2E..and then Steven Weiss said... %=20 % Hi Hello! %=20 % I've got a problem with the read function in bash 2.05a-3. =2E.. % bash$ read proj % /temp % bash$ cd $proj % : No such file or directory =2E.. % When testing or trying to change directories using $proj it fails. When % using the literal values it passes. It appears that the read function does One thing you never did was ... Check to see if $proj got filled! What does echo $proj say? On my Win98 1.3.10 system, $proj properly gets filled and shows when echoed and works for cd. How about you? HTH & HAND :-D --=20 David T-G * It's easier to fight for one's principles (play) davidtg AT justpickone DOT org * than to live up to them. -- fortune cookie (work) davidtgwork AT justpickone DOT org http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! --Pk/CTwBz1VvfPIDp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE8/VkMGb7uCXufRwARAh+9AJ0WfSU1O4aeEa7mWZNhAKXck6KSPgCghUWp 1vr9xLn2UoEqqoC6aa4MGBQ= =+ukP -----END PGP SIGNATURE----- --Pk/CTwBz1VvfPIDp--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |