Title: Bug in jython bash startup script (shows on Mac)
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
Status: open Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: rovf, zyasoft
Priority: Keywords:

Created on 2013-08-24.09:29:07 by rovf, last changed 2014-10-07.00:18:51 by zyasoft.

msg8087 (view) Author: Ronald (rovf) Date: 2013-08-24.09:29:07
The jython bash script contains a line

    if expr "$link" : '/' > /dev/null; then

This is correct for the Implementation of expr which comes with Linux, but does not work on Mac (and likely on BSD either). The reason is that the Mac expr does not permit a regexp which looks syntactically like an operator. This is documented here:

Solution: Replace this line by

  if expr "$link" : '[/]' > /dev/null; then
msg9117 (view) Author: Jim Baker (zyasoft) Date: 2014-10-07.00:18:51
Duplicate of #1978
Date User Action Args
2014-10-07 00:18:51zyasoftsetresolution: duplicate
messages: + msg9117
nosy: + zyasoft
2013-08-24 09:29:07rovfcreate