home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!email!mich
- From: mich@vmars.tuwien.ac.at (Michael Schuster 8726004 (Dipl Joe))
- Subject: Re: IS UNIX DEAD
- Message-ID: <1992Nov5.083501.12507@email.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: gipsy.vmars.tuwien.ac.at
- Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA
- References: <RICH.92Nov4093932@rich.kastle.com> <30067@nntp_server.ems.cdc.com> <15330@auspex-gw.auspex.com>
- Date: Thu, 5 Nov 1992 08:35:01 GMT
- Lines: 33
-
- guy@Auspex.COM (Guy Harris) writes:
-
- >>Does "del" then have to do a "tolower()" (or equivalent) to the filenames,
- >>or does it compare each character of the command target to both cases of
- >>each letter of the filename it's looking at?
-
- >As far as I know, the answer to the previous question is:
-
- > No.
-
- >I.e., I don't think it has to do either one. The OS calls it makes do
- >the equivalent translations, so code that uses those calls doesn't have
- >to.
-
- >Presumably the wildcard matching code is also case-insensitive (if it's
- >not, somebody screwed up). (I assume there that the OS provides
- >wildcard-matching code, and that applications can, at least, call that
- >code to expand wildcard patterns from the command line, rather than
- >having to roll their own. If the OS doesn't provide those calls,
- >somebody screwed up.)
-
- You obviously misinterpreted the article you replied to; it's not about
- who does the translation (tolower), but that it has to be done AT ALL.
- That's the real crux. For every directory lookup (or any dir.
- operation, it seems), you have to go through a tolower-loop, etc. A
- bloody nuisance, I call it.
-
- Michael
- --
- Michael Schuster | Place the quote: (author, characters ... )
- TU Vienna, Austria | "Coincidence was his father and luck his
- mich@vmars.tuwien.ac.at | inheritance"
- +43/1/58801/8181 (sometimes) | replies will be rewarded a cookie.
-