X-Spam-Check-By: sourceware.org
Reply-To: <hyam.singer@impact-computing.com>
From: "Hyam Singer" <hyam.singer@impact-computing.com>
To: <cygwin@cygwin.com>
Subject: Problems with bashrc in cygwin
Date: Mon, 25 Dec 2006 14:26:01 -0500
Message-ID: <001a01c7285a$86759910$6601a8c0@IMPACTHS>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
X-Mailer: Microsoft Outlook, Build 10.0.6626
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kBPJQXci021406

I have installed cygwin and am having problems with my bashrc that I have
been unable to resolve.  I am sure I must be missing something obvious, but
the source of the problem evades me.  The most perplexing symptom I am
experiencing is the following:

If I include the following in my .bashrc:
    x1="xyz"
    x2="123"
    x3=$x1/$x2
then when I subsequently type "echo $x3" at the command line, the response
is "/123" rather than the expected "xyz/123".  Note that I experience this
problem whether or not I export the values of x1 and x2.  Particularly
perplexing is that if I do all this at the command line, it works just fine.

I apologize to those receiving this email if I am missing something
blatantly obvious, but I'm stumped.  Thanks in advance for any assistance
that you can provide.

--Hyam Singer




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


