Open-source Languages & Tools for z/OS

 View Only
  • 1.  Bash 4.3.46 behaviour with tagging

    Posted 03-23-2017 05:53

    Hi,

    I’m running bash script with the bash 4.3 implementation and notice a, to me, strange behaviour.

    The script file does not have any tag and I get one error when trying to execute it. After the try, the script file has been tagged with ISO8859-1.
    When trying again, I get another error since the script is no encoded in ASCII.
    I then tag (chtag) the script file with EBCDIC (IBM-1047) and then the script runs perfectly well.

    So far so good, but I have some scripts that are delivered to me in a RO filesystem. When running one of those, I get the first error and of course the script file will not be tagged after the try.

    The older version of bash, 4.2 does not have this behaviour. It runs my scripts perfectly well without any tagging whatsoever.

    Would it be possible to direct 4.3.46 to behave as 4.2?

    I have the following relevant environment variables set.

    _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
    export _TAG_REDIR_ERR=txt
    export _TAG_REDIR_IN=txt
    export _TAG_REDIR_OUT=txt

    I’m more used to Linux where things like chtag is unknown (by obvious reasons).

    Thanks in advance, Len

    PS. I can provide you with detailed information if you need it



  • 2.  RE: Bash 4.3.46 behaviour with tagging

    Posted 03-24-2017 06:09

    Hi,
    Thanks for reporting. We are working on this problem. New port won’t have this wrong behaviour.
    Regards,
    Tatyana



  • 3.  RE: Bash 4.3.46 behaviour with tagging

    Posted 05-03-2017 15:26

    There is a new build of bash on the Rocket web site that solves this problem.



  • 4.  RE: Bash 4.3.46 behaviour with tagging

    Posted 05-09-2017 02:17

    Thanks for your feedback and for fixing bash 4.3.46!

    /Len