LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2014, 02:11 AM   #1
yech
LQ Newbie
 
Registered: Dec 2007
Posts: 22

Rep: Reputation: 0
Question Cygwin case sensitive problem


In Cygwin doing this:

a=b
echo ${a/B} # output: b
echo ${a/[B]} # output: b
echo ${a/[AB]} # output: b
echo ${a/[A-B]} # output: ""

But in pure Linux, the last output is b as expected. So why and how?

Last edited by yech; 01-27-2014 at 02:12 AM.
 
Old 01-27-2014, 02:29 AM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Cynwin's shell must be broken. Just tested it in MinGW sh and it worked
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Case-sensitive error in compiler's building using crosstool-ng under Cygwin goliath Linux - Newbie 0 02-02-2012 07:39 AM
mkisofs case sensitive problem ac_kumar Linux - Newbie 1 12-03-2011 04:03 AM
Copying files from case-sensitive Linux to case-insensitive Windows via CIFS? SlowCoder Linux - General 4 05-07-2008 08:03 PM
Can anyone solve this Case-Sensitive problem on Linux OS? yuvanth Linux - General 1 09-12-2007 07:17 AM
case-sensitive issue david_wliu Linux - General 4 03-06-2003 11:46 PM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration