delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/25/14:26:55

X-Spam-Check-By: sourceware.org
Reply-To: <hyam DOT singer AT impact-computing DOT com>
From: "Hyam Singer" <hyam DOT singer AT impact-computing DOT com>
To: <cygwin AT cygwin DOT 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
X-Mailer: Microsoft Outlook, Build 10.0.6626
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
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/


- Raw text -


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