comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
Subject: Re: Ada95 file management, (Rename, Wildcard)
Date: 1998/08/31
Date: 1998-08-31T00:00:00+00:00	[thread overview]
Message-ID: <35EA111C.B03@atlas.otago.ac.nz> (raw)
In-Reply-To: 35E522F3.5A8F@ddre.dk

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...




  parent reply	other threads:[~1998-08-31  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-27  0:00 Ada95 file management, (Rename, Wildcard) Hans Marqvardsen
1998-08-28  0:00 ` Markus Kuhn
1998-08-30  0:00   ` Hans Marqvardsen
1998-09-02  0:00     ` Dr Richard A. O'Keefe
1998-08-31  0:00 ` Dr Richard A. O'Keefe [this message]
1998-08-30  0:00   ` Hans Marqvardsen
1998-08-31  0:00     ` Larry Kilgallen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox