I have a scenario in which I need to execute the below statement.
air sandbox run $AI_PLAN/Sam_22.plan
For the above command AI should be fetched from a command.
> echo $PREFIX
AI
I tried the below ways
air sandbox run $`echo $PREFIX`_PLAN/Sam_22.plan
returned error : File not found
dollar_prefix=$`echo $PREFIX`
air sandbox run ${dollar_prefix}_PLAN/Sam_22.plan
returned error : File not found
Please let me know where am I going wrong in the above coding.