From: Markus E L <ls-ocaml-2006@m-e-leypold.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Bug in Filename.basename?
Date: Wed, 05 Sep 2007 15:06:52 +0200 [thread overview]
Message-ID: <llsl5tclcj.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: <20070905220031.5995251d.mle+ocaml@mega-nerd.com> (Erik de Castro Lopo's message of "Wed, 5 Sep 2007 22:00:31 +1000")
Erik de Castro Lopo wrote:
> Oliver Bandel wrote:
>
>> But possibly it's not different to other basename-implementations.
>
> Which is exactly what I said later in my email.
>
>> Looking at that documentation, I can't see no bug in the implementation.
>
> Your documentation documents the Ocaml function.
>
>> When you want to know how your car's GPS-navigation system works,
>> do you look in the documentation of your video-camera or vacuum-cleaner?
>
> We are not talking about GPS systems or video cameras or vacuum cleaners,
> but if you want we can continue; I would be complaining if I was sold
> a video camera that didn't record video but did suck a lot of air.
>
> The function is called basename just like the IEEE Std 1003.1 standard
> function specified by The Open Group:
>
> http://www.opengroup.org/onlinepubs/000095399/functions/basename.html
>
> In the examples section of that document they give these examples:
>
> Input String Output String
> "/usr/lib" "lib"
> "/usr/" "usr"
Yeah, but that function does the wrong thing[tm]. Sorry.
Regards -- Markus
next prev parent reply other threads:[~2007-09-05 13:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 8:45 Erik de Castro Lopo
2007-09-05 10:41 ` [Caml-list] " Richard Jones
2007-09-05 11:10 ` Erik de Castro Lopo
2007-09-05 11:25 ` Oliver Bandel
2007-09-05 12:00 ` Erik de Castro Lopo
2007-09-05 13:06 ` Markus E L [this message]
2007-09-05 20:39 ` Oliver Bandel
2007-09-05 21:03 ` Oliver Bandel
2007-09-06 4:52 ` skaller
2007-09-06 7:09 ` Christophe Raffalli
2007-09-06 9:51 ` Oliver Bandel
2007-09-06 9:32 ` Markus E L
2007-09-06 10:00 ` Oliver Bandel
2007-09-05 12:15 ` Mattias Engdegård
2007-09-05 20:54 ` Oliver Bandel
2007-09-05 12:37 ` Brian Hurt
2007-09-05 13:06 ` Markus E L
2007-09-05 12:10 ` Olivier Andrieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=llsl5tclcj.fsf@hod.lan.m-e-leypold.de \
--to=ls-ocaml-2006@m-e-leypold.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox