OPS Cli command script
Hello,
I´d like to run cli scripts or OneLiners more dynamical with variables.
Is there any chance to set Variables and use them in OC Scripts?
Example:
export ASSET=blubber
export USER=laber
export PW=`cat /export/home/laber/.pw`
oc -e 'connect -h _EC_ -u ${USER} -p@${PW} -a ; setenv output_format=parsable ; setenv parsable_text_separator=:; gear.list -f ${ASSET}'
Best Regards
Martin