I have a user on MacOs and my jp-based script doesn't work, it seems jp itself doesn't work on mac os, asked the user to type jp 1 2 31 to test and got the error line 347: -2: substring expression < 0 on last item in stack
I don't have a mac, so unable to debug further
jp 1 2 3
3
2
: line 347: -2: substring expression < 0
I have a user on MacOs and my jp-based script doesn't work, it seems jp itself doesn't work on mac os, asked the user to type
jp 1 2 31to test and got the error line347: -2: substring expression < 0on last item in stackI don't have a mac, so unable to debug further