From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed38969e39db79b8 X-Google-Attributes: gid103376,public From: "Dr Richard A. O'Keefe" Subject: Re: Ada95 file management, (Rename, Wildcard) Date: 1998/08/31 Message-ID: <35EA111C.B03@atlas.otago.ac.nz>#1/1 X-Deja-AN: 386302253 Content-Transfer-Encoding: 7bit References: <35E522F3.5A8F@ddre.dk> Content-Type: text/plain; charset=us-ascii Organization: Department of Computer Science, University of Otago Mime-Version: 1.0 Reply-To: ok@atlas.otago.ac.nz Newsgroups: comp.lang.ada Date: 1998-08-31T00:00:00+00:00 List-Id: Hans Marqvardsen wrote: > 1: Is it a fact, that Ada95 has no language-defined procedure allowing > you to rename files, or to search for wildcard filenames ? There are no wildcard facilities in the C89, C++98, Pascal, Fortran 90, or draft Smalltalk language standards. So those languages have no language-defined procedures for wildcard searches either. Come to think of it, I don't know _any_ international programming language standards (other that the shell standard in POSIX.2) that cover wild-card scans. POSIX.2 also lists an interface that can be called from other languages, the glob(3c) function, for example. As for renaming, that's in POSIX.5, the Ada binding for POSIX.1. It's called Rename, oddly enough. Renaming and wildcards are *operating-system* features...