public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1: bash question
@ 1999-09-09  3:03 tien ho
  1999-09-30 23:42 ` tien ho
  0 siblings, 1 reply; 2+ messages in thread
From: tien ho @ 1999-09-09  3:03 UTC (permalink / raw)
  To: cygwin

Hi,
I used Cygwin NT4.0, SP3. I'm sorry for stupid questions.

I assigned a shell variable a:
export a="lower case"
When I started rxvt by command:
rxvt -fn "Lucida Console-bold-14" -tn linux-c &
I got my shell variable a:
echo $a
lower case

I put the command in a file, let's say myxvt.
#!/bin/bash
rxvt ....

I started myxvt.

echo $a

but:
echo $A
lower case

My question:
1. Does bash decided to rename variable name in upper case?
2. Why it worked in case of command?

Thank you
Tien



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* B20.1: bash question
  1999-09-09  3:03 B20.1: bash question tien ho
@ 1999-09-30 23:42 ` tien ho
  0 siblings, 0 replies; 2+ messages in thread
From: tien ho @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Hi,
I used Cygwin NT4.0, SP3. I'm sorry for stupid questions.

I assigned a shell variable a:
export a="lower case"
When I started rxvt by command:
rxvt -fn "Lucida Console-bold-14" -tn linux-c &
I got my shell variable a:
echo $a
lower case

I put the command in a file, let's say myxvt.
#!/bin/bash
rxvt ....

I started myxvt.

echo $a

but:
echo $A
lower case

My question:
1. Does bash decided to rename variable name in upper case?
2. Why it worked in case of command?

Thank you
Tien



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-09  3:03 B20.1: bash question tien ho
1999-09-30 23:42 ` tien ho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).