Open-source Languages & Tools for z/OS

 View Only
  • 1.  Erroneous output in shell after updating .bashrc

    Posted 10-07-2020 17:24
    Edited by Keith Gagne 10-07-2020 17:25
    Going through the installation steps I am getting an error.

    Installation is successful, however after updating the .bashrc file according to the installation document, I get the following erroneous output when I login via ssh.
    Output:
    bash: $'K@a\242\205\231\245\211\203\205a\244\242\231a\231\226\203\222\205\243a\205\243\203a\227\231\226\206\211\223\205K\204a\203\226\225\204\201K\242\210\025': command not found


    userid/.profile
    $cat .profile
    export _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
    SHELL=/conda_install_path/bin/bash
    exec $SHELL

    userid/.bashrc
    $cat .bashrc
    . /conda_install_path/etc/profile.d/conda.sh

    Anyone experience this before?

    ------------------------------
    Keith Gagne
    ------------------------------


  • 2.  RE: Erroneous output in shell after updating .bashrc
    Best Answer

    ROCKETEER
    Posted 10-08-2020 01:35
    Hello Keith,

    Is your .bashrc tagged? If not, please tag it with IBM-1047:

    chtag -tc 1047 ~/.bashrc

    Regards,
    Vladimir

    ------------------------------
    Vladimir Ein
    Rocket Software
    ------------------------------



  • 3.  RE: Erroneous output in shell after updating .bashrc

    Posted 10-08-2020 12:07
    That worked! Thank you.

    ------------------------------
    Keith Gagne
    ------------------------------