Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: comp.lang.java.programmer Subject: Re: CLI Java Glitch Date: Wed, 22 Jun 2011 10:39:15 -0700 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: <4dffe2ea$0$57121$c30e37c6@exi-reader.telstra.net> <7ba20719biasrlu0druv0dta3midgp9bl8@4ax.com> <032075b9-6c04-426a-b1a6-ee0b23646279@q12g2000prb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 22 Jun 2011 17:39:20 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Q8HyEFb0j2lB0WC1MU3ArQ"; logging-data="989"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BgqDxWq+jI08OhVHC00JDhNeH7lkvXpQ=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:JJdXxxHxwxeq6BpPcR6Fz9D7JlM= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5531 On 6/22/2011 10:12 AM, Gene Wirchenko wrote: > On Wed, 22 Jun 2011 09:02:25 -0700 (PDT), lewbloch > wrote: >> If you're going to call this "nitpicking", you need to support the >> evaluation with evidence and reasoning. Unfortunately, the point is >> both valid and important, so you won't be able to support calling it >> "nitpicking". > > Sure, I can. It was quite clear what was being referred to. The > pedanticism was unnecessary; there was no real danger of confusion. Not really. The operating system performs a lot of actions that deal with strings. If the operating system itself were case insensitive, there would be no distinction between `a' and `A' pretty much anywhere in the entire stack. Instead, the only limitation here is that the filesystem will happily return a file named `A.txt' when you asked for `a.txt'. If you really want to get pedantic, note that the filesystem knows the difference between `A.txt' and `a.txt' (i.e., it can preserve case). It just chooses to treat them as equivalent for the purposes of stat'ing the file. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth