Bug in Octave 8.2.0

Ian McCallion <[email protected]> Mon, 3 Jul 2023 11:01:53 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAFgLC_FTZcTy9sYWWZPwOpAQpOSJp+==e3UESSSD+NGt4QKXpw@mail.gmail.com>
fullfile() operates on strings or cells. so:
      fullfile('path', {'a','b'})
produces:
    ans =
    {
      [1,1] = path\a
      [1,2] = path\b
    }

However:
    fullfile('path', {})
produces:
    ans = path

This is surely a bug??   {} is not the same as ''

Cheers... Ian


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help