I just looked at the man pages both for Ubuntu and Fedora, and it looks like The update alternatives have to be configured
IMO it is much more simple to Cd <path to the rexx executable directory> Export PATH=`pwd`:$PATH Or better use the attached snippets It works for me on Darwin Fedora, CentOS Enrico Here are two bash snippets to add/remove a directory to/from the PATH ( I have also the same for zsh ) Cd somewhere and … The snippets should be sourced, not executed source path.here . path.here source path.remove . path.remove # path.here # remove the current path from the PATH and add it to the front # add in front of PATH prepen_path() { if ! eval test -z "\"\${$1##*:$2:*}\"" -o -z "\"\${$1%%*:$2}\"" -o -z "\"\${$1##$2:*}\"" -o -z "\"\${$1##$2}\"" ; then eval "$1=$2:\$$1" fi } # remove path remove_path() { # front/middle if eval test -z "\"\${$1##$2:*}\"" -o -z "\"\${$1##*:$2:*}\"" ; then eval "$1=${!1/$2:/}" return fi # tail if eval test -z "\"\${$1%%*:$2}\"" ; then eval "$1=${!1/:$2/}" return fi # only if eval test -z "\"\${$1##$2}\"" ; then eval "$1=${!1/$2/}" return fi } # the works here="$(pwd)" if ! test -d "${here}" ; then echo "strange ... path not found '${here}'" else remove_path PATH "${here}" export PATH prepen_path PATH "${here}" export PATH fi # cleanup unset prepen_path unset remove_path # path.remove # remove the current path from the PATH # remove path remove_path() { # front/middle if eval test -z "\"\${$1##$2:*}\"" -o -z "\"\${$1##*:$2:*}\"" ; then eval "$1=${!1/$2:/}" return fi # tail if eval test -z "\"\${$1%%*:$2}\"" ; then eval "$1=${!1/:$2/}" return fi # only if eval test -z "\"\${$1##$2}\"" ; then eval "$1=${!1/$2/}" return fi } #the works here="$(pwd)" if ! test -d "${here}" ; then echo "strange ... path not found '${here}'" else remove_path PATH "${here}" export PATH fi # cleanup unset remove_path > On 7 Apr 2020, at 01:05, Mark Hessling <m...@rexx.org> wrote: > > Hi P.O., > > I apologise for problems my changes caused you; it was not intentional and if > I had known about your problems at the time I would have fixed them.
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel