Ian
Thanks. This should be fixed in the latest base library 9.4.3.
Chris
On Sun, Jul 3, 2022 at 10:30 PM 'Ian Shannon' via General
wrote:
>
> Hello there,
>
> I have just copied in Ewart Shaw's utilities, and tried to combine his path
> names with my directory structure.
>
> The system utility jpath resolves names starting with tilde (~) according
> to SystemFolders_j_ and UserFolders_j_
>
> This uses the case of the first letter of Name to select which of these 2
> nouns to use.
>
> Because jpath is potentially recursive, ~name1 can refer to ~name0 and ~name
> 2 can refer to ~name1 and the names get resolved without issue.
>
> EXCEPT that in the construction of UserFolders_j_ (in
> ~system/utils/configure.ijs) the verb filecase is called before the jpath
> resolution occurs.
>
> Verb filecase ensures that file name are correctly handled for the
> various file systems and mostly returns a lowercase of its argument. But it
> becomes problematic when applied to that part of a file name which may
> require resolution by jpath and has capital letters in the name.
>
> There is added complications that jpath uses SystemFolders_j_ and
> UserFolders_j_ in name resolution, but it is called in configure.ijs which
> constructs both of these nouns!
>
> Changing the expression
>
> jpath each filecase each
>
> into
>
> filecase each jpath each
>
> inside configure.ijs may fix this issue, but could potentially break some
> other pre-existing code.
>
>
> Regards,
>
> Ian
> Ian Shannon
> Undertaking rigorous statistics in support of the NSW environment
> For every complex problem there is an answer that is clear, simple, and
> wrong. Mencken
>
> Science Strategy & Impact Branch
> Department of Planning and Environment
>
> The Department of Planning and Environment acknowledges that it stands on
> Aboriginal land. We acknowledge the traditional custodians of the land and we
> show our respect for elders past, present and emerging through thoughtful and
> collaborative approaches to our work, seeking to demonstrate our ongoing
> commitment to providing places in which Aboriginal people are included
> socially, culturally and economically.
> --
> This email is intended for the addressee(s) named and may contain
> confidential and/or privileged information.
> If you are not the intended recipient, please notify the sender and then
> delete it immediately.
> Any views expressed in this email are those of the individual sender except
> where the sender expressly and with authority states them to be the views of
> the NSW Office of Environment and Heritage.
>
> PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm