0 Replies Latest reply on Aug 5, 2014 10:22 AM by Muralidharan sridharan

    NSH Behavior changes post upgrading to 8.5.00.469

      I have upgraded the app server from 8.3.00.115 to 8.5.00.469 and services are running all ok.

      But we have an issues with our script(in House).

       

      A series of command works fine with the earlier version and not with the new version of nsh.

       

      example given below:

       

      In 8.3.00.115:

       

      FQ_Job_Name=[/Bladelogic/Jobs/IST/SDLC_TEAM/ADMIN/Custom_Prop_check]

      FQ_Job_Name=`echo /${FQ_Job_Name[(ws:/:)1]}/${FQ_Job_Name[(ws:/:)2]}/${(U)${FQ_Job_Name[(ws:/:)3]}}/${FQ_Job_Name[(ws:/:)4,-1]}`

      echo $FQ_Job_Name

       

      o/p=/IST/SDLC_TEAM/ADMIN/Custom_Prop_check

       

      in 8.3.00.469

       

      FQ_Job_Name=[/Bladelogic/Jobs/IST/SDLC_TEAM/ADMIN/Custom_Prop_check]

      FQ_Job_Name=`echo /${FQ_Job_Name[(ws:/:)1]}/${FQ_Job_Name[(ws:/:)2]}/${(U)${FQ_Job_Name[(ws:/:)3]}}/${FQ_Job_Name[(ws:/:)4,-1]}`

      echo $FQ_Job_Name

       

      o/p=/[/Bladelogic/JOBS/IST/SDLC_TEAM/ADMIN/Custom_Prop_check]

       

      We have modified the script as below to make it work, But want to understand what actually changed in the new nsh version.

       

      FQ_Job_Name=[/BladeLogic/Jobs/IST/NAGP/DEV/Custom_Prod_Check

      FQ_Job_Name=`echo /${FQ_Job_Name[(ws:/:)4,-1]}`

      echo $FQ_Job_Name

       

      o/p=/IST/NAGP/DEV/Custom_Prod_Check