On Thu, 6 Jun 2002, Richard Levitte - VMS Whacker wrote:
> dkaufman> On Wed, 5 Jun 2002, Richard Levitte via RT wrote:
> dkaufman>
> dkaufman> > Can I assume that sed exists and works properly? dirname can be
> dkaufman> > coded like this:
> dkaufman> ...
> dkaufman> This won't work in systems where an initial "/" doesn't
> dkaufman> signify an absolute path. Windows and DOS based systems may
> dkaufman> start with a "\" or with [a-zA-Z]:[\\/] for absolute
> dkaufman> path.
>
> Good point.
>
> dkaufman> DJGPP and Cygwin have their own dirname applications (from
> dkaufman> GNU shell utilities), so this shouldn't be a problem for them.
>
> You're saying we should try to find the real dirname and use it, and
> only have the dirname.pl hackery as a backup? That's doable, I
> suppose.
Or perhaps, if you want to use perl, use File::Basename. This
implementation works for unix, DOS, Cygwin, VMS, etc.
Doug
__
Doug Kaufman
Internet: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]